This is a little apt proxy server
Go to file
2016-05-06 22:33:11 -07:00
cache max-age is now fully respected. 2016-05-06 22:33:11 -07:00
LICENSE.txt Added license file. 2016-05-01 23:08:40 -07:00
main.go Added built-in mDNS server. 2016-05-01 18:24:36 -07:00
README.md Added badges. 2016-05-01 23:10:27 -07:00
server.go max-age is now fully respected. 2016-05-06 22:33:11 -07:00

go-aptproxy

GoDoc MIT License

This handly little proxy server includes the following features:

  • avoids duplication of packages fetched from different mirrors
  • provides a built-in mDNS server to advertise on the local network
  • fully compatible with the squid-deb-proxy-client package

Usage

The program is run as follows:

go-aptproxy [-directory DIR] [-host HOST] [-port PORT]

By default, go-aptproxy listens on 0.0.0.0:8000 and uses /var/cache/go-aptproxy for storing the cached files.