mirror of
https://github.com/pi-hole/web.git
synced 2025-12-27 13:59:14 +00:00
fa6f0a42a5dd02cfe3972aef751b62d629190846
Conflicts: api.php index.php
Pi-hole Admin Dashboard
Using AdminLTE, this project will create a Web interface for the ad-blocking Pi-hole: a black hole for Internet advertisements.
From this interface, you will be able to see stats on how well your Pi-hole is performing. You will also be able to update the lists used to block ads.
API
A basic read-only API can be accessed at /admin/api.php. It returns the following JSON:
{
"domains_being_blocked": "136708",
"dns_queries_today": "18108",
"ads_blocked_today": "14648",
"ads_percentage_today": 80.892423238348
}
Contributing
If you would like to add to the project, please make sure to follow these guidelines:
- Branch off of
develinto your own feature branch (ex.feature). - When you are finished, make a pull request to merge your
featurebranch intodevel.
Keep these things in mind:
- Use 4 spaces instead of tabs
- Commit Unix line endings
- If you want, try to keep to the theme of black holes/gravity. This can add some fun to your submission.
Languages
JavaScript
52.9%
CSS
47.1%


