https://github.com/bendres97/pihole-api
Pihole does not have an excellent way to manage multi-host / HA setups. This API is intended to help make all changes to both hosts simultaneously so as to always keep them in sync. This also allows automation for adding DNS records or any other required changes during automated deployments.
https://github.com/bendres97/pihole-api
api-rest pihole rest-api
Last synced: 5 months ago
JSON representation
Pihole does not have an excellent way to manage multi-host / HA setups. This API is intended to help make all changes to both hosts simultaneously so as to always keep them in sync. This also allows automation for adding DNS records or any other required changes during automated deployments.
- Host: GitHub
- URL: https://github.com/bendres97/pihole-api
- Owner: bendres97
- License: mit
- Created: 2021-12-18T04:18:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-27T00:06:04.000Z (over 2 years ago)
- Last Synced: 2025-04-07T02:47:37.743Z (over 1 year ago)
- Topics: api-rest, pihole, rest-api
- Language: Go
- Homepage:
- Size: 7.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Pihole-API
This repo is a work-in-progress. By no means should you deploy this to any production environment.
Contributions are always welcome.
## For Me (Because I forget things)
Generate spec from file:
```bash
docker run --rm -v $PWD:/local openapitools/openapi-generator-cli generate -i /local/spec.yaml -g go-server -o /local/
```
# Actions Statuses
[](https://github.com/bendres97/Pihole-API/actions/workflows/codeql-analysis.yml)
[](https://github.com/bendres97/Pihole-API/actions/workflows/go.yml)
[](https://github.com/bendres97/Pihole-API/actions/workflows/spec.yml)
[](https://github.com/bendres97/Pihole-API/actions/workflows/release.yml)