jaiiye / aria2-shell

Aria2 Shell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aria2 Shell

Aria2 is a lightweight multi-protocol & multi-source command-line download utility. It supports HTTP/HTTPS, FTP, BitTorrent and Metalink. Aria2 can be manipulated via built-in JSON-RPC and XML-RPC interfaces. Aria2 shell is command line tool to interact with running aria by XML-RPC

Aria2 xml-rpc daemon

create a file named as aria2.conf with following code:

  max-connection-per-server=5
  enable-rpc=true
  rpc-allow-origin-all=true
  rpc-listen-all=true
  log-level=error
  log=/tmp/aria.log
  dir=/tmp
  daemon=true

Then running aria2c --conf-path ./aria2.conf You can running by command line:

  aria2c --enable-rpc --rpc-allow-origin-all --rpc-listen-all --log-level debug -l /tmp/aria.log -d /tmp  -D

xml-rpc

Aria2 shell use apache xml-rpc package to interact with aria xml-rpc service.

Commands

Please use help to view all commands.

How to debug app

java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -jar target/aria2-shell-1.0.0-SNAPSHOT.jar

RoadMap

  • Web Aria2 with bootstrap UI

About

Aria2 Shell


Languages

Language:Java 99.9%Language:Shell 0.1%