chadmayfield / my-pihole-blocklists

Create custom pi-hole blocklists
GNU General Public License v3.0
336 stars 72 forks source link

How to add support for Pi-hole 5 and some feedback for updating adlists #27

Open JavanXD opened 4 years ago

JavanXD commented 4 years ago

Hi,

I came around your project just wanted to leave a comment on these To-Dos from your README.md:

Add cron script to run from cron daily/weekly/monthly Add additional lists to combine into one mega list Possibly generizie script to accept any list

  1. I've written an auto updater to run daily with cronjob. Check it out here: https://github.com/JavanXD/ya-pihole-list#updating-your-adlists-automatically

  2. You don't need to combine the lists beause the gravity.sh from Pi-hole will do that for you. You should use it, because the block.list.txt will not longer be used. Pi-holes stores the adlists and the blocked domains in the sqlite3 Gravity-DB.

  3. The gravity.sh script can detect regex and other wildcards. It removes entrys which are not correct. Use the gravity.sh script by Pi-Hole for that.

Auto-Updating multiple Blocklists with Pi-hole 5

Pi-hole did a lot of changes. There is no adlists.list file anymore. Now they store it as explained in the sqlite database. I've written an updater which already supports the Pi-hole version 5: https://github.com/JavanXD/ya-pihole-list I am happy about feedback.

chadmayfield commented 4 years ago

Thanks for the feedback, if I ever get back to this project I'll take a look.