I don't know how reliable or practical this project is yet, but I wanted to build something useful after learning Python programming. I needed a real project to improve my skills and better understand how Python works, so I decided to create an Anti-AI blocklist using various external sources along with my own manually maintained denylist.
I also implemented dead-domain filtering. The script checks domains from external sources through DNS resolution. If a domain repeatedly fails across update runs and reaches 10 recorded failures, it gets added to a list of known dead domains and can be filtered out during subsequent updates.
Of course, there are limitations. A domain might fail to resolve because of a security firewall, DNS filtering, temporary network issues, or other reasons rather than actually being dead. From what I've researched, distinguishing these cases reliably isn't straightforward. I'll keep trying to improve this mechanism.
The update process runs through GitHub Actions. Initially, I used GitHub Actions' built-in scheduling, but it wasn't triggering reliably for me. After getting frustrated with that, I set up an external trigger through cron-job.org. That approach has been working reliably so far.
This is still a learning project, and I'm open to suggestions, criticism, and ideas for improvement.