adguardhome-sync/README.md
bakito 4bcfadc2fe
update readme
update readme
2021-03-28 10:34:21 +02:00

33 lines
No EOL
929 B
Markdown

[![Go](https://github.com/bakito/adguardhome-sync/actions/workflows/go.yml/badge.svg)](https://github.com/bakito/adguardhome-sync/actions/workflows/go.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/bakito/adguardhome-sync)](https://goreportcard.com/report/github.com/bakito/adguardhome-sync)
# AdGuardHome sync
Synchronize [AdGuardHome](https://github.com/AdguardTeam/AdGuardHome) config to a replica instance.
This is still work in progress. Changes on how parameters are provided will change.
## Current sync features
- Filters
- Rewrites
- Services
- Clients
## Install
```bash
go get -u github.com/bakito/adguardhome-sync
```
## Run
```bash
export ORIGIN_API_URL=https://192.168.1.2:3000/control
export ORIGIN_USERNAME=username
export ORIGIN_PASSWORD=password
export REPLICA_API_URL=http://192.168.1.3/control
export REPLICA_USERNAME=username
export REPLICA_PASSWORD=password
adguardhome-sync
```