⬆️ ⬇️

rWin 0.5 beta - client for rTorrent on Qt

Many people know the torrent client for Unix systems rTorrent. Its advantage and disadvantage is the console interface, but there are many ways to deal with it, ranging from web interfaces (wTorrent) to the frontend written in Java (nTorrent). I personally use the + screen web interface in the console. Everything would be fine, BUT during use (and this is about a year), there was always an inconvenience with tracking downloads and adjusting the download speed. Therefore, I decided to make a small client that would hang in the tray, show download speeds and other useful information.



rWin

The language was chosen as my favorite C ++, and the Qt4 library as the GUI (version 4.4.3 was used when writing, but also compiled under Fedora 9 on 4.3.3), thereby ensuring cross-platform functionality. Communication with rTorrent occurs via XML-RPC in asynchronous mode without multicall (the XML-RPC implementation in use does not support it, perhaps I implement it myself later looking at other libraries), so the information does not appear immediately, but gradually.

The client allows:





Todo



  1. add authorization if the XML-RPC server is password protected
  2. optimize loading and sharing
  3. add file information display
  4. add proxy, there is support, but not configured yet


You can download the source here .

UPD: Assembly under Windows (dependences separately lie).

UPD2: Repository: svn checkout http: // rwin.googlecode.com/svn/trunk/ rwin-read-only

Also created on github, but something I can not figure out with him, how can I figure out how I can transfer it there.

UPD3: Added the ability to add torrent files (both from the menu and from the explorer), optimized the exchange with the server, added check for the connection and even minor fixes.



PS:

The first more or less complete Qt program. I look forward to constructive criticism, both by code and by interface. I will be especially grateful for the found bugs, where without them, although I tried (perhaps not the correct display of the state of the torrent, but I will soon fix it)

PPS:

Initially, the utility was made for myself, but in the end I decided to share it with everyone, most likely for the feedback on the work, as I myself already use and am satisfied, and if I’m still useful to someone, I’m just glad.

')

Source: https://habr.com/ru/post/53332/



All Articles