web-gui.pl - Very Basic WebGUI Leveraging the µTorrent WebUI Project
This began as a short alternative event processing example.
Like nearly everything else related to µTorrent, the backend of the WebUI is undocumented and closed sourced, so there's a great chance that I'll never complete this. You're welcome to hack away at it though.
Download the latest (...so far, there's only been one release, but you never know) webui.zip file through the uTorrent forums: http://forum.utorrent.com/viewtopic.php?id=14565
Alternativly, you could try one of the (nifty) unofficial UI (iPhone, mobile, even a Facebook plugin) while you review the "Overview of everything WebUI-related" thread: http://forum.utorrent.com/viewtopic.php?id=33186
Save the .zip file in the current working directory. Do not extract the zip.
Start the script.
Load http://localhost/gui/ in your browser. The login user:pass (static for now) are username:password. Hey, I did say it was just an example.
username:password
???
Profit.
For something so simple, this thing uses a boat load of non-core modules:
Everything.
Seriously. I haven't written anything beyond initial ui load and (partial) torrent and file lists. The structure is here if anyone else would like to do it. Hint, hint.
This is a very basic demonstration of a full Net::BitTorrent-based client.
Net::BitTorrent
Main WebUI forum: http://forum.utorrent.com/viewforum.php?id=20
WebUI v0.310 Public beta 2: http://forum.utorrent.com/viewtopic.php?id=14565
Web UI API: http://forum.utorrent.com/viewtopic.php?id=25661
Overview of everything WebUI-related: http://forum.utorrent.com/viewtopic.php?id=33186
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'µTorrent'. Assuming UTF-8
To install Net::BitTorrent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::BitTorrent
CPAN shell
perl -MCPAN -e shell install Net::BitTorrent
For more information on module installation, please visit the detailed CPAN module installation guide.