Awesome
go-apt-cacher is a caching reverse proxy built specially for Debian (APT) repositories.
This repository also contains a mirroring utility go-apt-mirror.
Blog: Introducing go-apt-cacher and go-apt-mirror
Status
This project is currently in maintenance mode and is not expected to receive feature updates. Bugfixes and such will still be performed if needed.
Features
go-apt-cacher
- Checksum awareness
go-apt-cacher recognizes APT indices and checks downloaded files automatically. - Reverse proxy for http and https repositories
- LRU-based cache eviction
- Smart caching strategy specialized for APT
go-apt-mirror
- Atomic update of mirrors
Clients will never see incomplete/inconsistent mirrors. - Checksum validation of mirrored files
- Ultra fast update compared to rsync
- Parallel download
- Partial mirror
Install
Pre-built binaries are available on releases.
Unpack one and follow usage instructions.
Usage
Deploy
Both go-apt-cacher
and go-apt-mirror
can be deployed via the jacksgt/aptutil Docker Image. For more information head over to the source repository.
Build
Use an officially supported version of Go.
Run the command below exactly as shown, including the ellipsis.
They are significant - see go help packages
.
go get -u github.com/cybozu-go/aptutil/...
License
Authors & Contributors
- Yamamoto, Hirotaka @ymmt2005
- Yutani, Hiroaki @yutannihilation
- @xipmix
- @jacksgt
- @arnarg