b025ef3355
* repro: open webui-aria2 in any browser that doesn't have native websocket support in its javascript library (example: Opera 12.01, IE9), and none of the functionality in webui-aria2 will work due to javascript errors * see: http://en.wikipedia.org/wiki/WebSocket#Browser_support (Note that Firefox has websocket support, but calls its object "MozWebSocket" instead of "WebSocket", so this issue applies there too) * there were a few places in script.js that check for websocket support by doing something like "if(WebSocket)" to see if the WebSocket object exists * javascript doesn't handle undefined variables that way, the interpreter will actually throw an "undefined variable" error and stop execution of the script * this means that any browser that doesn't have websocket support can never reach the fallback json call code * added a new variable "web_sock_support" that does a proper "undefined" check, and is set to "1" if the "WebSocket" object is available in the browser * changed the websocket checks to use the "web_sock_support" variable |
||
---|---|---|
.c9revisions | ||
css | ||
img | ||
js | ||
404.html | ||
favicon.ico | ||
humans.txt | ||
index.html | ||
LICENSE | ||
README.md |
webui-aria2
The aim for this project is to create the worlds best and hottest interface to interact with aria2. aria2 is the worlds best file downloader, but sometimes the command line brings more power than necessary. The project was created as part of the GSOC scheme with tremendous support and feedback from the aria2 community.
Very simple to use, no build scripts, no installation scripts. First start aria2 in the background either in your local machine or in a remote one. You can do that as follows: aria2c --enable-rpc --rpc-listen-all If aria2 is not installed in your local machine then head on to http://aria2.sourceforge.net/ and follow the instructions there.
Then download the webui, you can either do that by downloading this repository and running index.html in the browser. Or you could just head on to http://ziahamza.github.com/webui-aria2/ and just start downloading files!! After that you can also save it for offline use by saving from the browser save page as option.
Status
Usable but some bugs here and there. A lot more to features to come so stay tuned.
TODO
- More advance options for new download
- More specialized info for special download types like bit torrent and metalink
- Adding URIs to existing downloads
Dependencies
Well, I guess you cannot run it without aria2 installed locally or on a network location. And not sure if a web browser counts as a dependency on GUI desktops :)
Support
For any support, feature request and bug report add an issue in the github project tab or head on the aria2 forums (https://sourceforge.net/apps/phpbb/aria2) and post your issue there.
License
Refer to the LICENSE file (MIT License). If the more liberal license is needed then add it as an issue