ziahamza / webui-aria2

The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use, just download and open index.html in any web browser.
MIT License
9.96k stars 1.47k forks source link

Add torrent via command line #462

Open SearchAndDestroy opened 6 years ago

SearchAndDestroy commented 6 years ago

Is it possible to add a torrent to be downloaded via command line to a running webui server?

e.g. aria2c --enable-rpc --dir="C:\Temp\" --torrentfile="C:\Temp\SomeTorrent.torrent"
no1xsyzy commented 6 years ago

It is possible, but you need other tools for that. Aria2c is not implemented as a signaller itself. You can use some scripts to do that. Python will be a good starting.

hetraeus commented 6 years ago

There is a Ruby script bundled with aria2 to do that: https://github.com/aria2/aria2/blob/master/doc/xmlrpc/aria2rpc

check also https://github.com/baskerville/diana At least the first shold work with remote istances