Giter Site home page Giter Site logo

tiny-aria2's Introduction

tiny-aria2

tiny-aria2 is a small and simple user interface / UI for aria2.

It connects to aria2 via its JSON-RPC interface.

GitHub Actions Workflow Status Docker Pulls

Demo

tiny-aria2-demo.mov

Environment variables

  • PORT - Port on which the service listens.
  • ARIA2_URI - URI / URL where aria2 service / daemon is listening to
  • ARIA2_USERNAME - aria2 username
  • ARIA2_PASSWORD - aria2 password

Docker images

We publish fresh Docker images to Docker Registry at pinkstack/tiny-aria2

docker pull pinkstack/tiny-aria2

Development

To build and run a Docker Image:

sbt docker:publishLocal

docker run -ti --rm \
  -e PORT=4447 \
  -p 4448:4447 \
  -e ARIA2_URI=http://aria2host \
  -e ARIA2_USERNAME=pirate123 \
  -e ARIA2_PASSWORD=pirate123 \
  docker.io/pinkstack/tiny-aria2:latest

To build a fat-jar one shall use:

sbt assembly

java -jar target/*/tiny-aria2.jar

aria2 Docker Image

Run aria2 locally or build an image with something like this:

FROM ubuntu

RUN apt-get update -yy && \
    apt-get install aria2 -yy && \
    apt-get auto-remove -y && \
    apt-get auto-clean

EXPOSE 6800

CMD ["aria2c", \
    "--enable-rpc", \
    "--rpc-listen-all", \
    "--rpc-user", "pirate", \
    "--rpc-passwd", "pirate", \
    "--rpc-allow-origin-all", \
    "--max-concurrent-downloads", "5", \
    "--log-level", "info", \
    "--console-log-level", "info", \
    "--save-session-interval", "10", \
    "--dir", "/data", \
    "--save-session", "/data/aria2c-session.txt", \
    "--seed-ratio", "0.1" \
]

Author

tiny-aria2's People

Contributors

otobrglez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.