This is a little apt proxy server
Go to file
2021-09-28 18:13:37 +02:00
cache excluded cache control for apt-get update files 2021-09-28 18:13:37 +02:00
vendor excluded cache control for apt-get update files 2021-09-28 18:13:37 +02:00
.gitignore excluded cache control for apt-get update files 2021-09-28 18:13:37 +02:00
go.mod excluded cache control for apt-get update files 2021-09-28 18:13:37 +02:00
go.sum excluded cache control for apt-get update files 2021-09-28 18:13:37 +02: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 excluded cache control for apt-get update files 2021-09-28 18:13:37 +02: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.