webui-aria2
webui-aria2 copied to clipboard
Support passing connection settings as URL parameters
It baffles me that for every aria2 server, we need another server to host a few static pages in order to use this UI. I personally have two aria2 servers and I don't want create my own instance of the UI server. I use http://ziahamza.github.io/webui-aria2/ and have to manually change the host address in connection settings back and forth between the two servers.
It would be great if we can specify the connection settings from the URL like this:
http://ziahamza.github.io/webui-aria2/?host=192.168.1.1&port=6800&rpcpath=/jsonrpc
Then we only need one URL per server. Which is very bookmark-friendly. We also don't need to set up our own server and use the fast GitHub CDN.
I'm not good with front-end stuff, but a quick Google search says it's possible with Javascript: http://stackoverflow.com/questions/11582512/how-to-get-url-parameters-with-javascript
Any updated about this? Is this planned at all?
I'm not actively working on this.
I'm not entirely sure how to proceed because there is some security issues regarding transmitting the aria2 password/token unencrypted over internet, though.
I don't quite like this idea as well. for the very same reason as @pxia
I think this is a really useful feature. Yaaw and aria-ng both support this feature (rest api): yaaw simply transfer token/password as plain text , which is really a bad idea aria-ng use base64 encode the token field, which is slightly better Maybe we can use other encryption method (aes or rsa ) or we can just init anything else except token?