Skip to content

JavanXD/ya-pihole-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet another Pi-hole list

Actually this project is not 'yet another'. I tried to improve what other projects missed. Also added an auto updater.

License: GPL v3 Twitter Follow

Supports the new Pi-hole 5 and above.

Quickstart

cd ~
git clone --depth=1 https://github.com/JavanXD/ya-pihole-list.git ya-pihole-list
cd ya-pihole-list
sudo chmod a+x adlists-updater.sh
sudo sh adlists-updater.sh

How to append your own adlists

  1. Fork this project.
  2. Add your own blocklist to the adlists.list.updater file.
  3. Change the adListSource variable in the adlists-updater.sh file to your custom blocklist collection.

Enabling Raspbian and Pi-hole Auto Updater

Add the argument 1 to your sudo sh adlists-updater.sh 1 call.

Updating your adlists automatically

Unfortunately the Pi-hole Gravity script does not automatically update the adlists. Therefore this Updater was developed to do this job. However, it is very important to always use up-to-date blocklists to block the latest phishing sites. In addition, this project takes care to use only blocklists that are updated regularly.

  1. Create a scheduled task to run the script:

    sudo crontab -e
    
  2. Add this line to make it runs every 12 hour, but you can change it to whatever you like:

    0 */12 * * * sudo /home/pi/ya-pihole-list/adlists-updater.sh 1 >/dev/null
    

Screenshots

grafik

grafik

Other

Helpful links

License

Each converted / modified list file is licensed under the same license as the original list.

Disclaimer

This project is in no way affiliated with the core Pi-Hole project or organization. This project was created as a contribution to the community. Use at your own risk.