go-aptproxy/README.md

20 lines
876 B
Markdown
Raw Normal View History

2016-04-22 06:12:52 +02:00
## go-aptproxy
2016-05-02 08:10:27 +02:00
[![GoDoc](https://godoc.org/github.com/nathan-osman/go-aptproxy?status.svg)](https://godoc.org/github.com/nathan-osman/go-aptproxy)
[![MIT License](http://img.shields.io/badge/license-MIT-9370d8.svg?style=flat)](http://opensource.org/licenses/MIT)
2021-11-27 12:54:06 +01:00
[![Build Status](https://drone.paulbsd.com/api/badges/paulbsd/go-aptproxy/status.svg)](https://drone.paulbsd.com/paulbsd/go-aptproxy)
2016-05-02 08:10:27 +02:00
2016-04-22 06:12:52 +02:00
This handly little proxy server includes the following features:
- avoids duplication of packages fetched from different mirrors
2016-05-02 04:42:29 +02:00
- provides a built-in mDNS server to advertise on the local network
- fully compatible with the `squid-deb-proxy-client` package
2016-04-22 06:12:52 +02:00
2016-05-02 04:42:29 +02:00
### 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.