All Projects → Reeceeboii → Pi-CLI

Reeceeboii / Pi-CLI

Licence: GPL-3.0 License
Pi-Hole data right from your terminal. Live updating view, query history extraction and more!

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Pi-CLI

De gwd
Debian bypass Gateway & DNS - <Burst Link>
Stars: ✭ 331 (+727.5%)
Mutual labels:  dns, pi-hole
Gravity Sync
An easy way to synchronize the blocklist and local DNS configurations of multiple Pi-hole 5.x instances.
Stars: ✭ 406 (+915%)
Mutual labels:  dns, pi-hole
My Pihole Blocklists
Create custom pi-hole blocklists
Stars: ✭ 269 (+572.5%)
Mutual labels:  dns, pi-hole
Cloudblock
Cloudblock automates deployment of secure ad-blocking for all of your devices - even when mobile. Step-by-step text and video guides included! Compatible clouds include AWS, Azure, Google Cloud, and Oracle Cloud. Cloudblock deploys Wireguard VPN, Pi-Hole DNS Ad-blocking, and DNS over HTTPS in a cloud provider - or locally - using Terraform and Ansible.
Stars: ✭ 257 (+542.5%)
Mutual labels:  dns, pi-hole
1hosts
DNS filter-/blocklists | safe. private. clean. browsing!
Stars: ✭ 85 (+112.5%)
Mutual labels:  dns, pi-hole
Ftl
The Pi-hole FTL engine
Stars: ✭ 776 (+1840%)
Mutual labels:  dns, pi-hole
Docker Pi Hole
Pi-hole in a docker container
Stars: ✭ 4,288 (+10620%)
Mutual labels:  dns, pi-hole
Pihole Unbound
Guide to setup Unbound recursive DNS resolver with Pi-Hole. With additional configs for speed and security!! 🚀🔒
Stars: ✭ 165 (+312.5%)
Mutual labels:  dns, 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 (+2980%)
Mutual labels:  dns, pi-hole
Piholecloudflared
Raspberry Pi setup with Pi-Hole, CloudflareD, DHCP as the ultimate Ad-blocker
Stars: ✭ 57 (+42.5%)
Mutual labels:  dns, pi-hole
Elk Hole
elasticsearch, logstash and kibana configuration for pi-hole visualiziation
Stars: ✭ 136 (+240%)
Mutual labels:  dns, pi-hole
Secure-Adblocking-DNS
Secure (DNS-over-TLS) Adblocking (Pi-hole) Recursive (unbound) Server System setup
Stars: ✭ 19 (-52.5%)
Mutual labels:  dns, pi-hole
vocage
A minimalistic spaced-repetion vocabulary trainer (flashcards) for the terminal
Stars: ✭ 68 (+70%)
Mutual labels:  terminal-based
fireplace
A cozy fireplace in your terminal
Stars: ✭ 52 (+30%)
Mutual labels:  terminal-based
blocklist
Pi Hole Blocklist all in one file
Stars: ✭ 21 (-47.5%)
Mutual labels:  pi-hole
synology-pihole
Install or Update Pi-Hole as Docker Container on a Synology NAS with a Static IP Address
Stars: ✭ 22 (-45%)
Mutual labels:  pi-hole
dns.sb
https://dns.sb/
Stars: ✭ 32 (-20%)
Mutual labels:  dns
quiplash
Quiplash replacement
Stars: ✭ 25 (-37.5%)
Mutual labels:  help-wanted
route53-dynamic-dns
Update AWS Route53 hosted zone with current public IP address. Alternative to Dynamic DNS services such as Dyn, No-IP, etc
Stars: ✭ 29 (-27.5%)
Mutual labels:  dns
pi-hole-cloudflared-docker-compose-ansible-caddy
Example configuration for using Pi-Hole, Cloudflared, Docker Compose, Ansible, and Caddy to over-engineer your home network for privacy and security.
Stars: ✭ 97 (+142.5%)
Mutual labels:  pi-hole

Pi-CLI

Pi-CLI is a command line program used to view data from a Pi-Hole instance directly in your terminal.


terminal

Features

  • Live view
    • As shown above, Pi-CLI can generate a live updating view of your Pi-Hole data
    • Updates down to a minimum of 1s, providing essentially live query data. Support for smaller intervals may come in the future.
    • Update parameters including the number of logged queries in the 'latest queries' table and watch the UI automatically update and pull in the correct data for you. Use your arrow keys to scroll and navigate the table.
  • One off commands
    • Don't want a live view? Use one of the subcommands of Pi-CLI to tell it exactly what data you want, and it will give it to you. No fancy UI needed.
  • Database analysis
    • Pi-CLI has the newly added ability to be able to analyse the pihole-FTL.db database used a long term data store for a Pi-Hole. It can extract and analyse all time data, including client, query and ad domain data.
  • Quickly configure and forget
    • Run one setup command, and Pi-CLI will store and remember all of your details for next time.
  • Lightweight
    • Even when logging 1000's of DNS queries, memory and CPU usage remains minimal.
  • Secure
    • Pi-CLI uses cross-platform OS keyring libraries to make sure your Pi-Hole API key is both securely stored and easy to retrieve in the future. Your API key is never stored in plaintext unless you explicitly tell Pi-CLI to not use your keyring.

Usage

~$ picli [global options] command [command options] [arguments...]


For help, run ~$ picli h

For command help, run ~$ picli <command> h

For subcommand help, run ~$ picli <command> -h


Commands

   setup, s     Configure Pi-CLI
   config, c    Interact with stored configuration settings
   run, r       Run a one off command without booting the live view
   database, d  Analytics options to run on a Pi-Hole's FTL database
   help, h      Shows a list of commands or help for one command

The config command

Manage stored config data

   delete, d  Delete stored config data (config file and API key)
   view, v    View config stored config data (config file and API key)
   help, h    Shows a list of commands or help for one command

The run command

Run a single command without the live view

   summary, s          Extract a basic summary of data from the Pi-Hole
   top-forwarded, tf   Extract the current top 10 forwarded DNS queries
   top-blocked, tb     Extract the current top 10 blocked DNS queries
   latest-queries, lq  Extract the latest queries
   enable, e           Enable the Pi-Hole
   disable, d          Disable the Pi-Hole
   help, h             Shows a list of commands or help for one command

The database command

These commands are ran against a Pi-Hole's FTL database file and provide all time data metrics

   client-summary, cs  Summary of all Pi-Hole clients
   top-queries, tq     Returns the top (all time) queries
   help, h             Shows a list of commands or help for one command

FAQ

  • Where do I get my API key?

    • Navigate to your Pi-Hole's web interface, then settings. Click on the API/Web interface tab and press 'Show API token'.
  • Pre-Compiled binaries?

  • How do I compile myself?

    • With make! There is a Makefile in the cmd/main directory that can be used for compilation on Windows, Mac and Linux.

    Compilation targets are: win, mac and linux


If you find Pi-CLI useful, please consider donating to the Pi-Hole project

Or, feel free to submit code to make Pi-CLI even more useful!

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].