All Projects → pi-hole → Api

pi-hole / Api

Licence: other
The Pi-hole API

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Api

Padd
PADD (formerly Chronometer2) is a more expansive version of the original chronometer.sh that is included with Pi-Hole. PADD provides in-depth information about your Pi-hole.
Stars: ✭ 1,011 (+574%)
Mutual labels:  pi-hole
Wirehole
WireHole is a combination of WireGuard, Pi-hole, and Unbound in a docker-compose project with the intent of enabling users to quickly and easily create a personally managed full or split-tunnel WireGuard VPN with ad blocking capabilities thanks to Pi-hole, and DNS caching, additional privacy options, and upstream providers via Unbound.
Stars: ✭ 1,232 (+721.33%)
Mutual labels:  pi-hole
Pihole Panel
Python/GTK3 based Pi-hole (network-level adblocker) dashboard for stats and more
Stars: ✭ 125 (-16.67%)
Mutual labels:  pi-hole
Piholecloudflared
Raspberry Pi setup with Pi-Hole, CloudflareD, DHCP as the ultimate Ad-blocker
Stars: ✭ 57 (-62%)
Mutual labels:  pi-hole
Pihole Blocklist
Pi-Hole blocklist.
Stars: ✭ 71 (-52.67%)
Mutual labels:  pi-hole
Pi Hole Droid
Pi-hole Droid is an unofficial app that connects to your Pi-hole to show charts and statistics.
Stars: ✭ 107 (-28.67%)
Mutual labels:  pi-hole
Pihole Regex
Custom regex filter list for use with Pi-hole.
Stars: ✭ 799 (+432.67%)
Mutual labels:  pi-hole
Pihole Speedtest
Pihole Speedtest Mod
Stars: ✭ 142 (-5.33%)
Mutual labels:  pi-hole
Homebridge Pihole
Pihole switch for Homebridge
Stars: ✭ 80 (-46.67%)
Mutual labels:  pi-hole
Pi Hole Block Page
A "Website Blocked" page to go with https://pi-hole.net
Stars: ✭ 120 (-20%)
Mutual labels:  pi-hole
Pi Hole Pivpn On Google Compute Engine Free Tier With Full Tunnel And Split Tunnel Openvpn Configs
Run your own privacy-first ad blocking service in the cloud for free on Google Cloud Services.
Stars: ✭ 1,141 (+660.67%)
Mutual labels:  pi-hole
Adminlte
Pi-hole Dashboard for stats and more
Stars: ✭ 1,155 (+670%)
Mutual labels:  pi-hole
Maza Ad Blocking
Local ad blocker. Like Pi-hole but local and using your operating system.
Stars: ✭ 1,544 (+929.33%)
Mutual labels:  pi-hole
Automated Pihole
Automated Self-Updating (Public) Pi-hole Stack using unbound as recursive DNS server with Ansible
Stars: ✭ 52 (-65.33%)
Mutual labels:  pi-hole
Pi Hole Influx
A python daemon to send Pi-Hole stats for Grafana to InfluxDB
Stars: ✭ 126 (-16%)
Mutual labels:  pi-hole
Pi Hole
A black hole for Internet advertisements
Stars: ✭ 34,076 (+22617.33%)
Mutual labels:  pi-hole
1hosts
DNS filter-/blocklists | safe. private. clean. browsing!
Stars: ✭ 85 (-43.33%)
Mutual labels:  pi-hole
Piadvanced
This started as a custom install for my pihole!
Stars: ✭ 144 (-4%)
Mutual labels:  pi-hole
Elk Hole
elasticsearch, logstash and kibana configuration for pi-hole visualiziation
Stars: ✭ 136 (-9.33%)
Mutual labels:  pi-hole
Addon Pi Hole
Pi-hole - Home Assistant Community Add-ons
Stars: ✭ 120 (-20%)
Mutual labels:  pi-hole

This repository has been archived. For more information please see https://github.com/pi-hole/FTL/pull/659

Pi-hole API

Work in progress HTTP API for Pi-hole. The API reads FTL's shared memory so it can directly read the statistics FTL generates. This API is the replacement for most of FTL's socket/telnet API, as well as the PHP API of the pre-5.0 web interface.

Getting Started (Development)

  • Install Rust: https://www.rust-lang.org/tools/install
    • Currently the project uses Rust nightly. The exact version used is stored in rust-toolchain. The version should be detected and used automatically when you run a Rust command in the project directory, such as cargo check (this is a feature of rustup)
    • After installing, make sure the Rust tools are on your PATH:
      source ~/.cargo/env
      
  • Install your distro's build tools
    • build-essential for Debian distros, gcc-c++ and make for RHEL distros
  • Install libsqlite3
    • libsqlite3-dev for Debian distros, sqlite-devel for RHEL
  • Fork the repository and clone to your computer (not the Pi-hole). In production the Pi-hole only needs the compiled output of the project, not its source code
    • Checkout the development branch for the latest changes.
  • Run cargo check. This will download the Rust nightly toolchain and project dependencies, and it will check the program for errors. If everything was set up correctly, the final output should look like this:
        Finished dev [unoptimized + debuginfo] target(s) in 1m 11s
    
  • Run cargo test. This will compile and run the tests. They should all pass 😉
  • If you've never used Rust, you should look at the documentation, including the Rust Book, before diving too deep into the code.
  • When you are ready to make changes, make a branch off of development in your fork to work in. When you're ready to make a pull request, base the PR against development.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].