An AJAX interface for Bitflu

| | Comments (0) | TrackBacks (0)

Bitflu is a bittorrent client written in Perl by Adrian Ulrich. It's very lightweight and is well suited for installation on small machines like your linux mini firewall that you have built with that old mother board and that 400MHz CPU you found in a closet. Its memory usage is impressively low: 15/20M with many active torrents; nothing to share with other clients occupation (150M + ).


Bitflu comes in two releases: a stable and a development one. We need the second one which is a new rebirth for bitflu, being a completely rewriting from scratch of everything with a deeper modular design in mind (even core functions of bitflu has been implemented as plugins). Stable version included a web interface, while the development one has just a textual telnet interface.


bitflu_screenshot_s.jpg

And here enters my plugin. AdminWeb.pm. It's basically a Perl plugin which provides a nice web interface to most of Bitflu functions. You can upload a .torrent by specifying the URL on the web or the path on server (Adrian told me that URL fetching will be included in bitflu and so will disappear from my plugin). You can monitor downloads by expanding download section, you can commit a download when finished and see its progress in percentage. You can query bitflu about installed plugins and other informations. By installing Filesys::DfPortable Perl module you can also have a report about available disk space.

To install: download the plugin and simply extract the archive in your bitflu_dir/plugins/Bitflu/ directory and edit bitflu.conf by adding Bitflu::AdminWeb to entry plugins. If the entry (or the whole file) does not exists and you feel yourself hacker enough, you can also edit bitflu.pl itself by adding plugin name to internal list (search for "$self->{conf}->{plugins}" and edit the value pointed by this key).


0 TrackBacks

Listed below are links to blogs that reference this entry: An AJAX interface for Bitflu.

TrackBack URL for this entry: http://blog.strumentiresistenti.org/mt/mt-tb.fcgi/6

Leave a comment

About this Entry

This page contains a single entry by Tx0 published on March 6, 2008 10:37 PM.

Domain Name Anarchy: a new approach to DNS was the previous entry in this blog.

An update on bitflu web interface is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories

Pages