Git Product home page Git Product logo

aria2-offline's Introduction

Aria2-Offline

Introduction

Aria2-Offline lets you download files using your Linux server, so your local computer can be offline. Once the download is finished, you can easily get the files from your server to your local machine.

Features

  • Easy to install
  • Easy to use
  • Great download speed powered by aria2
  • Show remaining disk space of you server
  • Auto detect whether download is finished
  • You can change file names even when download is not finished
  • You can even start an offline download from you mobile phone

Screenshots

File List

Download Manager

Install

  1. Download this project to your Linux server
$ git clone https://github.com/apm1467/aria2-offline.git
  1. Install docker and docker-compose if you haven't yet; Make sure the ports 8000 and 6800 of your server are usable

  2. Build & start containers

$ cd aria2-offline/
$ docker-compose up -d --build
  1. Go to http://your_server_ip:8000 in browser; default user is example and password is passwd

  2. You can start a download now

Config

After any changes, rebuild the containers so these changes can take effect:

$ cd aria2-offline/
$ docker-compose down
$ docker-compose up -d --build

After changing the Aria2 RPC Secret Token, remember to update it in the AriaNg download manager too:

Technical Details

Why is port 6800 needed

This project uses the terrific Aria2 frontend AriaNg as the download manager. It is written in pure html & javascript, so it runs in your browser and connects back to your server and talks with aria2 RPC at port 6800.

How does finish-detection works

When aria2 donwloads a file, it will create a temp file with the name original_file_name.aria2. When download is finished, this temp file will disappear. Aria2-Offline uses this fact to detect whether the download is finished.

Sometimes the temp file is created several seconds later after the download is started. To handle this case, a file will only be detected as finished if it is older than 10 seconds.

Why can I change file name when download is not finished

Aria2-Offline caches the new name you give in a database. The actual file name will be changed automatically after the download is finished.

Where are downloaded files stored on the server

Files are stored at aria2-offline/web/downloads.

Thanks

aria2-offline's People

Contributors

apm1467 avatar

Watchers

 avatar

aria2-offline's Issues

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.