No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Arthur Poulet 9e99e1dedf
Update readme: Working with crystal 0.23
2 years ago
spec Initialize project with download stuff 2 years ago
src Improve status_code on error 2 years ago
.gitignore Initialize project with download stuff 2 years ago
.travis.yml Initialize project with download stuff 2 years ago
Dockerfile Fix Dockerfile 2 years ago
LICENSE Change LICENSE to GPL-3.0 2 years ago
Makefile Update readme: Working with crystal 0.23 2 years ago
README.md Update readme: Working with crystal 0.23 2 years ago
docker-compose.yml Finish the first draft 2 years ago
shard.lock Update readme: Working with crystal 0.23 2 years ago
shard.yml Change LICENSE to GPL-3.0 2 years ago

README.md

downloadwx

Multi-File download via web api.

Installation

make

Requirements

  • crystal v0.23
  • wget

Usage

./downloadwx --port 3000 --listen 127.0.0.1

Inside a docker

If you are using docker-compose:

docker-compose build && docker-compose up

Else, you can do:

docker build -t downloadwx . && docker run downloadwx

API HTTP

  • GET /: list all downloads
  • GET /add/:base64: start a download
  • POST /add: start a download with the param url
  • GET /pause/:id: pause a download
  • GET /resume/:id: resume a download

Development

TODO

  • handle download by segment
  • use only curl
  • handle speed limitations and priorities (see TC)

Contributing

  1. Fork it ( https://github.com/Nephos/downloadwx/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am ‘Add some feature’)
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Nephos Arthur Poulet - creator, maintainer