Torrent Search

forum.utorrent.com

µTorrent Community

You are not logged in.

Announcement

This forum is NOT for help with anything you've downloaded! Ask for help with downloaded files and the thread will be deleted.
Posting about any illegal sharing of copyrighted content is strictly FORBIDDEN.

Want to join the Falcon beta? Get your invite here!
  • Index
  •  » Web API
  •  » I'm writing a WebUI-like firefox extension

#1 2006-10-17 08:43:15

hiddenriver
Member

I'm writing a WebUI-like firefox extension

Edit:
Download the latest µTorrent Web UI Firefox extension here.

0.1.9
Firefox 3.5 support.

0.1.8.2b
Thanks to kamia, Firefox 3 is supported. Take a look at the posts in this thread to see the impovements.

0.1.6
Phunkyfish' HTTPS / SSL support

0.1.5:
Bug fixes

0.1.4:
All the improvements that avaly contributed.
Support for drag and drop to the status bar.

I've written a simple script that adds torrents to uTorrent running on a remote server when I click a torrent in firefox. It's a little more convenient than downloading the torrent and then using the add torrent dialog in WebUI.

So i've started turning it into a firefox extension that will have a cut-down WebUI-like interface in a sidebar. Hopefully it will display a list of torrents, some info about each torrent, support dragging torrents from the main browser window to start them, stop torrent, remove torrent, etc. And it will have a button to bring up the full WebUI as well of course smile Just thought I would check nobody is working on anything similar...

Will anyone object if I give it the same look and feel as WebUI? Maybe even borrow some of the background and button images... smile

Last edited by hiddenriver (2009-06-30 20:10:26)

Offline

 

#2 2006-10-17 08:58:19

tjobo
Member

Re: I'm writing a WebUI-like firefox extension

Nice idea! I like how people are popping up with projects that are taking use of the webUI here and there smile.
I think you can send a PM to the author of the webUI directly: Directrix or if you are lucky he will se your thread. Otherwise you could try the IRC-channel.

Last edited by tjobo (2006-10-17 09:00:23)

Offline

 

#3 2006-10-19 12:52:02

DonGato
Member

Re: I'm writing a WebUI-like firefox extension

Nice initiative!

I was looking to do something similar at some point in time. The options I was thinking were:

- Add torrent from download dialog (having an option to send to remote µTorrent)
- Download/Upload speed in status bar (update interval configurable)
- Switch speed limits remotely (didn't know if by status bar or Tools menu)

As you already did the job you might want to consider these other features.

Offline

 

#4 2006-10-22 04:03:38

gbling
Member

Re: I'm writing a WebUI-like firefox extension

great im w8ing for it

Offline

 

#5 2006-10-22 22:12:40

hiddenriver
Member

Re: I'm writing a WebUI-like firefox extension

My utorrent firefox extension is still in the early stages but it's at the point where other people can try it I think. Screenshot below:

http://img138.imageshack.us/img138/2671/utorrentdemowr1.th.png

Features:
- Embeds the utorrent WebUI in a sidebar to the left of the main browser window.
- .torrent file links dragged and dropped from the main window to the utorrent sidebar will be added to the download list. This is the most useful feature.
- the current download and upload rates are displayed in the status bar.

Disclaimer
- This extension is only useful if you are using the WebUI.
- You must tell the extension your utorrent WebUI admin username and password and it currently stores them as plaintext.
- This is a very early prototype and it has lots of bugs.
- In fact it might not work at all!
- Use at your own risk.


Feedback appreciated.

Last edited by hiddenriver (2006-12-13 12:14:32)

Offline

 

#6 2006-10-24 12:25:13

pa_fred
Member

Re: I'm writing a WebUI-like firefox extension

Nice, seems to work. Could it also be possible to add an option to choose which field you can see: All downloads - Active Dowbloads - ...  I think it should look much better then.
Thanks

Offline

 

#7 2006-10-25 07:39:45

Lord Alderaan
Member

Re: I'm writing a WebUI-like firefox extension

FYI: Just tried it in Fx2 and it works without problems.

PS u can choose which torrents to see by clicking on it in the label field.

Last edited by Lord Alderaan (2006-10-25 07:40:48)


-= FAQ Guides Manual Help =-
Everything about the Webui!

Offline

 

#8 2006-10-25 19:10:00

philbar
Member

Re: I'm writing a WebUI-like firefox extension

This extension has the same guid as GMarks. Firefox thinks there is an update because GMarks is at version 0.7.

Offline

 

#9 2006-10-25 19:32:37

hiddenriver
Member

Re: I'm writing a WebUI-like firefox extension

Thanks philbar that fixed it.

Offline

 

#10 2006-10-26 00:12:08

roytam1
Member

Re: I'm writing a WebUI-like firefox extension

I think rewriting whole WebUI using XUL is better.
Just my $0.02 tongue

Offline

 

#11 2006-10-26 06:52:05

Ultima
Administrator

Re: I'm writing a WebUI-like firefox extension

That's exactly what I was expecting too, but this works just fine too.

Offline

 

#12 2006-10-26 08:19:11

hiddenriver
Member

Re: I'm writing a WebUI-like firefox extension

I was going to write a whole UI in XUL but I decided to try this first because it's a lot easier to just embed the HTML one. I might revisit the XUL option later if there's a good reason. Btw, the source code is in the XPI file. If anyone wants to change the extension, go ahead. Just remember to change the guid so Firefox doesn't get confused.

Offline

 

#13 2006-10-29 14:18:01

grobar
Member

Re: I'm writing a WebUI-like firefox extension

Good Job, anything that makes our lives easier is welcomed.

Offline

 

#14 2006-10-29 16:35:03

FFM
Member

Re: I'm writing a WebUI-like firefox extension

you can do this in Firefox already without using any extensions and using the existing UI

simply bookmark your webUI url
find the bookmark you have just saved, right click on it , choose properties, and tick the box "Load this bookmark in the sidebar" and voila when you click on the bookmark it will open in your sidebar, the WebUI needs a bit of tweaking in the future but it works perfectly fine and looks identical to the screenshot above

Offline

 

#15 2006-10-30 07:33:47

hiddenriver
Member

Re: I'm writing a WebUI-like firefox extension

FFM: that gives you the sidebar but it doesn't let you drag and drop .torrent links to start them and it doesn't give you the download and upload rates in your status bar. But yeah, if you only want the sidebar, that's an easier way of doing it.

Offline

 

#16 2006-10-30 18:49:12

matthaeus123
Member

Re: I'm writing a WebUI-like firefox extension

I rather see a FF extension, which runs bittorrent totally through Firefox. The same way Opera 9 does.

Offline

 

#17 2006-10-30 18:52:01

matthaeus123
Member

Re: I'm writing a WebUI-like firefox extension

by the way the extension uses has some obsolete code. Also it is written in the old way to write an extension.

Offline

 

#18 2006-11-01 01:39:33

WebSurfer80
Member

Re: I'm writing a WebUI-like firefox extension

Hi, i have an ADSL connection that i share with 3 other people, i've wrote a program that detects when a person is online or offline. it changes utorrents dl and ul limits to pre-programmed values depending on who's online. currently i use vbscript to change the dl and ul limits (which doesn't always work). now that the WebUI is available, and you have the knowlage on how to access it, i was wondering if there is a way to send a command through the WebUI to change the dl and ul limits?

for example: http://username:password@127.0.0.1/gui?DLLimit=100&ULLimit=50

any help is appreciated.

P.S.: i'm using C#.Net

Last edited by WebSurfer80 (2006-11-01 10:41:51)

Offline

 

#19 2006-11-02 08:02:21

Lord Alderaan
Member

Re: I'm writing a WebUI-like firefox extension

Easy:

Code:

Function httpGET(url)
    Set http = CreateObject("MSXML2.XMLHTTP")
    http.Open "GET", url, False
    http.send
    httpGET = http.responseText
End Function

httpGET("http://username:password@127.0.0.1/gui?DLLimit=100&ULLimit=50")

In basic windows VBScript (for example scriptfiles with .vbs extension)

Last edited by Lord Alderaan (2006-11-02 08:04:22)


-= FAQ Guides Manual Help =-
Everything about the Webui!

Offline

 

#20 2006-11-02 14:04:47

WebSurfer80
Member

Re: I'm writing a WebUI-like firefox extension

Thx for your help, but i'm more concerned with what to send to the WebUI, not how to send it smile.

Your help is appreciated..

Offline

 

#21 2006-11-02 14:20:39

runemail
Member

Re: I'm writing a WebUI-like firefox extension

It would be nice if you could launch the extension/sidebar by doubleclicking on the DL UL display down in the corner.
And may drag+drop torrents there as well.

Thanx for your work with this hiddenriver!

Offline

 

#22 2006-11-02 23:29:48

WebSurfer80
Member

Re: I'm writing a WebUI-like firefox extension

I've found the solution to my problem, and here it is for those who are intrested:

http://username:password@IP:port/gui/?action=setsetting&s=max_dl_rate&v=100
http://username:password@IP:port/gui/?action=setsetting&s=max_ul_rate&v=50

and they can be done via VBScript using Lord Alderaan's code wink :

Code:

Function httpGET(url)
    Set http = CreateObject("MSXML2.XMLHTTP")
    http.Open "GET", url, False
    http.send
    httpGET = http.responseText
End Function

httpGET("http://username:password@IP:port/gui/?action=setsetting&s=max_dl_rate&v=100")
httpGET("http://username:password@IP:port/gui/?action=setsetting&s=max_ul_rate&v=50")

Last edited by WebSurfer80 (2006-11-02 23:30:24)

Offline

 

#23 2006-11-03 08:37:38

Lord Alderaan
Member

Re: I'm writing a WebUI-like firefox extension

\o/


-= FAQ Guides Manual Help =-
Everything about the Webui!

Offline

 

#24 2006-11-03 14:42:16

sconchiti
Member

Re: I'm writing a WebUI-like firefox extension

Nice!  I read about this on lifehacker.com and it works great for me.  (FF2.0) Not to get too greedy with requests, but any chance that the ETA field could also be displayed in the status bar?  That's the field I seem to pay the most attention to.  Again, nice work.  Thanks!

Offline

 

#25 2006-11-04 18:41:17

NOX66
Member

Re: I'm writing a WebUI-like firefox extension

how do you bring up the extensions webUI in the sidebar?

Offline

 
  • Index
  •  » Web API
  •  » I'm writing a WebUI-like firefox extension

Board footer

Powered by FluxBB