pacserve

redirect pacman requests, assisted by avahi service discovery

Arch Arch Linux
RUN pacman -S --noconfirm pacredir
click the source code to copy install pacserve on any operating system with command-not-found.com