An open API service indexing awesome lists of open source software.

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.

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
[![CodeQL](https://github.com/bendres97/Pihole-API/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/bendres97/Pihole-API/actions/workflows/codeql-analysis.yml)

[![Tests](https://github.com/bendres97/Pihole-API/actions/workflows/go.yml/badge.svg)](https://github.com/bendres97/Pihole-API/actions/workflows/go.yml)

[![OpenAPI Spec Generator](https://github.com/bendres97/Pihole-API/actions/workflows/spec.yml/badge.svg)](https://github.com/bendres97/Pihole-API/actions/workflows/spec.yml)

[![Release](https://github.com/bendres97/Pihole-API/actions/workflows/release.yml/badge.svg)](https://github.com/bendres97/Pihole-API/actions/workflows/release.yml)