uTorrent To TorrentFlux Bridge
uTorrent is to Windows users as TorrentFlux is to Linux users. They both have a convenient web interface equipped with transfer controls. TorrentFlux is a bit more extensive, but uTorrent has always had a big advantage in my opinion: Remotes. There’s a huge list of community projects built from the collective WebUI API.
Every time I’d see a fancy remote application for my phone like Torrent FU or for my work computer like uRemote I’d spend hours thinking of ways to copy them for TorrentFlux. Finally I realized a more effecient solution: A bridge to translate uTorrent request URIs into TorrentFlux URIs and vice-versa.
UPDATE!
July 2nd, 2009
This project has been merged into a new project!
Read the announcement of the new project.
UPDATE!
About
ut-tf-bridge receives commands from the uTorrent remote, performs the requested actions on a TorrentFlux server, and returns the transfer data to the uTorrent remote. A more detailed breakdown of the process follows:
- uTorrent Remote → http://torrentflux-server/gui/?list=1 → ut-tf-bridge
- ut-tf-bridge → http://torrentflux-server/stats.php?f=xml&t=transfers → TorrentFlux Server
- TorrentFlux Server → XML → ut-tf-bridge
- ut-tf-bridge → JSON → uTorrent Remote
In order to perform actions such as Start Transfer or Stop Transfer authentication is required. Username and Password values may be either passed as a basic HTTP auth header, or statically assigned in the script settings. Some remotes have some stealthy authentication that I can’t seem to capture in order to replicate. If anyone knows of information on these authentication methods, please comment. Currently the bridge can perform these actions:
- Start
- Stop
- Pause
- Unpause
- Force Start
- Recheck
- Remove
- Remove With Data
- Set Priority – Untested
- Add File by URL
Note: Currently the login cookie does nothing. Username/Password authentication happens on every request. I think this is probably because I have my TorrentFlux authentication settings set to ignore cookies. I’ll get back to you on this soon.
Download
Source: http://www.divshare.com/download/7553180-406
MD5: ad1443a822487d571289399fe66a0ff2
Git: git clone git://github.com/ryonsherman/ut-tf-bridge.git
Use rTorrent instead of TorrentFlux?
Source: http://www.divshare.com/download/7629926-85d
MD5: ad1443a822487d571289399fe66a0ff2
Git: git clone git://github.com/ryonsherman/ut-rt-bridge.git
Video
What’s Next?
I plan on creating a GTK clone of uRemote. More on that soon.

[...] If you use rTorrent and would like to use uTorrent remotes with it. Check out ut-rt-bridge here. [...]
Well Done!!