+67
-1
README.md
+67
-1
README.md
···+A simple, self-hosted AUR (Arch User Repository) mirror written in Go. Provides both RPC API endpoints and git protocol access to AUR packages.+myaur takes advantage of the [official AUR mirror](https://github.com/archlinux/aur.git) on GitHub. You may use any mirror that you wish, however, note that it must have the same format as the official repo, in that each individual package should be a branch within the repo.+The easiest way to start the mirror is to use `docker compose up -d`. This will start both the myaur service and set up a Caddy reverse proxy.+If you wish to clone the mirror repo and populate the database, you can do so without actually serving the mirror API.+- `--remote-repo-url`: Remote AUR repository URL (default: `https://github.com/archlinux/aur.git`)+- `--remote-repo-url`: Remote AUR repository URL (default: `https://github.com/archlinux/aur.git`)+- `--auto-update`: Whether or not to automtically fetch updates from the remote repo (default: `true`)
+25
-7
cmd/myaur/main.go
+25
-7
cmd/myaur/main.go
·········+Usage: "the interval at which updates will be fetched. note that this should likely be at most one hour.",
+61
-67
myaur/server/server.go
+61
-67
myaur/server/server.go
···············