rtorstat is a simple web page generator, written in Python, which shows status information about the rTorrent bittorrent client.
The script can operate in two modes:
· Run through cron at predefined intervals. In this case it reads the saved rtorrent session data, creates a summary about the loaded torrent files status and prints the HTML code to stdout, which can then be redirected to a file and thus be made publicly available by a web server.
· Run as a CGI script, which makes it possible to dynamically generate the HTML page on-demand. This method, compared to running rtorstat through cron at short pre-defined intervals, has the advantage of limiting system resource waste by parsing the session data only when a user runs the CGI script through the web browser. Also, depending on your rtorrent settings, the displayed information is usually more current than that of the HTML page generated through cron, unless cron runs the script very often.
rtorstat does not support or will never support any kind of remote rTorrent administration. It is not supposed to be a web-based rtorrent frontend, but, as the title says, a simple status page generator (status web interface).
· rTorrent (configured to save session data - see below)
· The file "bencode.py", part of the official Bittorrent client (Mainline) distribution, has been included in the rtorstat distribution package, so the Mainline Bittorrent client is no longer a dependency for rtorstat.
What's New in This Release:
· Bug Fixed: running the script as a standalone application was broken due to bad function name.
· Code improvements: the names of some variables have been changed so that they describe their values better.
· Added a THANKS file.