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.
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 are passed as a basic HTTP authentication header. 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
Maybe, with some help, a universal bridge library could come from this?