/cacheman

Tiny pacman caching server

Primary LanguageGoMIT LicenseMIT

Cacheman

LanguageGitHub licenseGitHub repo size

A tiny pacman centralized caching server, with support for simultaneous downloads!

Installation

Use a container

$ docker-compose build 
$ docker-compose up -d

You can set a volume or change the port by changing/uncommenting the appropriate lines in docker-compose.yml

Configuration

$ nano ./default.conf
$ docker-compose up --build -d

Usage

Set cacheman as the primary pacman mirror on every Arch machine in your network

# echo -e "Server = http://CACHEMAN_IP:PORT/$repo/os/$arch\n$(cat /etc/pacman.d/mirrorlist)" > /etc/pacman.d/mirrorlist