This is a little apt proxy server
Go to file
2016-05-05 22:45:33 -07:00
cache Added force parameter. 2016-05-05 22:18:20 -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 Added support for max-age=0 and no-cache. 2016-05-05 22:45:33 -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.