Code Monkey home page Code Monkey logo

aria2-shell's Introduction

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

aria2-shell's People

Contributors

linux-china avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.