- Docker Image
- Demo page, source
- CI
It accepts file urls in the request and return a key to allow the client to start downloading a zip of those files immediately.
- Sync download immediately, no waiting
- Fit for modern browser and IE
- Handle duplicate file names by renaming
- Support folders, including reserved empty folders
- Not support compression in zip
- docker
- docker-compose
- redis
- zipper
Create a config.env, with some config for http auth and redis connection.
HTTP_LISTEN_PORT=24080
HTTP_APP_KEY=INSECURE-APP-KEY
HTTP_SECRET_KEY=INSECURE-SECRET-KEY
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=1
You can run it with this kind of docker-compose file.
version: '3'
services:
zipper:
image: wushaobo/zipper:latest
command: /opt/zipper/run.sh
ports:
- "24080:80"
env_file:
- config.env
volumes:
- "/docker/logs/zipper:/var/log/zipper"
Suggestions and issues are welcomed.
Run containers as daemon to start the services of dependencies.
./devtool.sh start-deps
Rebuild and run zipper container in foreground.
./devtool.sh build-and-run
The CI of this repo is on travis-ci.org .
It will build docker image with the following command,
./build.sh build-image
then push to docker registry with the following command,
./build.sh push-to-registry