A tiny pacman centralized caching server, with support for simultaneous downloads!
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
$ nano ./default.conf
$ docker-compose up --build -d
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