-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expose "Dead Weight" of a list #303
Comments
Nice. I love the idea. |
I played around with it last night on a list I maintain on GitHub. Really easy to use. I saw it when reviewing a pull request on Adaway's host file (I hate that list, btw. The tool proves my point). 41% of the 410 hosts don't even exist anymore. The list hasn't been updated in 2 years. I tried once to submit some actual mobile ad domains and they reverted it because I'd accidentally blocked a URL shortener. Grr. |
PyFunceble looks cool, but would prefer to find a .NET approach or a 3rd-party API rather than incurring the extra overhead of rolling in a Python tool. |
Hi there, I could add it to https://github.com/dead-hosts you'll then only have to pull the |
Hey, @funilrys, @dead-hosts looks like a neat project. I hadn't heard about it. The idea of this issue for FilterLists.com would be to monitor all of the ~800 (as of now) lists that we index for any domains, ips, and maybe even (but much harder to do) no longer valid static syntax rules. We could then expose this in various ways via a percentage of dead v. active, a listing of dead rules, etc. I need to learn a bit more about how @dead-hosts works. Maybe we could partner up to not re-invent the wheel. Is @dead-hosts scalable to the point where it could potentially monitor a majority or all of the lists that FilterLists indexes? (see here) |
Hi @collinbarrett , In reality, it depends on the frequency of the tests. Let me try to details some parts in order to help you understand. About Dead-HostsThe idea behind Dead-Hosts is to propose to list or hosts list maintainer a place where they can get the results of Since recently, we generate a How I workTaking contact with maintainersOne of the ways for me is to contact a maintainer personally and ask them if they are interested in PyFunceble. Maintainers contact meAs an example, https://github.com/dead-hosts/WindowsSpyBlocker-spy_git_crazy-max was a spontaneous question from the list maintainer. He asked me to create an instance so he can work with the results of PyFunceble. So I did 😸. Issues or other talks about PyFuncebleI'm pretty sure you have already heard of https://github.com/StevenBlack/hosts. AutomationHow do I create a new instance?For now, the creation of a new repository is done manually. But the construction of the repository structure I use a python script I wrote. How are external user/maintainer/teams handled ?One of the advantages of the GitHub organization system is that it allows us to create teams and permission. I use those feature in order to allow original maintainer (and their team member) to have write access to the repository. Indeed, I work like follow:
How do we run the tests?The tests are running inside Travis CI container. We simply call a script called The
The push process is done by PyFunceble thanks to the Travis CI "mode" which allow us to bypass the limitation of Travis CI. Note: Once a month I check the whole process in order to see if something is not going well. What are the limitation of Travis CI?Travis CI is great for what we are doing. Indeed, it's free for public repositories and it has many IP which allows us to launch our test correctly without being constantly blocked by whois server for example. The only limitation I can find with Travis CI is that it only allows 5 instances to be run at the same time. But it's not that hard to live with that limitation. Note: In order to avoid being blocked by whois server (if we are allowed to use About Ultimate-Hosts-Blacklist and Ultimate.Hosts.BlacklistYou have to understand that @Ultimate-Hosts-Blacklist is the backend of Ultimate.Hosts.Blacklist. @Ultimate-Hosts-Blacklist work and run almost exactly like @dead-hosts. The only thing that differences both are the way they configured PyFunceble. What we do with Ultimate.Hosts.Blacklist is:
About your question:
For 800 entries !? No, we better create and set up a new organization only for your usage 😸 I hope that this may help you understand more. If you need something else or if you have any other questions, please let me know. Have a nice day/night. Cheers, |
closing into #371 |
I would think displaying the number of dead hosts on the webpage may encourage list maintainers to make sure their lists are actively maintained and indicate to users when a list is poorly maintained.
https://pyfunceble.readthedocs.io/en/latest/
I came across this utility when looking for ways to clean up a tiny host file I maintain.
The text was updated successfully, but these errors were encountered: