tiny-aria2 is a small and simple user interface / UI for aria2.
It connects to aria2
via its JSON-RPC interface.
tiny-aria2-demo.mov
PORT
- Port on which the service listens.ARIA2_URI
- URI / URL where aria2 service / daemon is listening toARIA2_USERNAME
-aria2
usernameARIA2_PASSWORD
-aria2
password
We publish fresh Docker images to Docker Registry at pinkstack/tiny-aria2
docker pull pinkstack/tiny-aria2
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
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" \
]