mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2025-01-07 15:49:13 +08:00
🛡️ Synchronize AdGuard Home config to replicas
.github | ||
cmd | ||
pkg | ||
version | ||
.gitignore | ||
.goreleaser.yml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md |
AdGuardHome sync
Synchronize AdGuardHome config to a replica instance.
Current sync features
- Filters
- Rewrites
- Services
- Clients
Install
go get -u github.com/bakito/adguardhome-sync
Run
export ORIGIN_URL=https://192.168.1.2:3000
export ORIGIN_USERNAME=username
export ORIGIN_PASSWORD=password
export REPLICA_URL=http://192.168.1.3
export REPLICA_USERNAME=username
export REPLICA_PASSWORD=password
# run once
adguardhome-sync run
# run as daemon
adguardhome-sync run --cron "*/10 * * * *"