Skip to content

hostscli - A CLI tool to block / unblock websites using /etc/hosts. Super simple and easily extendable. Also block Ads, Tracking & Malware sites.

License

Notifications You must be signed in to change notification settings

dhilipsiva/hostscli

Repository files navigation

HostsCLI Docs

A CLI tool to block / unblock websites using /etc/hosts. Super simple and easily extendable. Also block Ads, Tracking & Malware sites.

Links

Docs Link http://hostscli.readthedocs.io/
GitHub Link https://github.com/dhilipsiva/hostscli
PyPI Link https://pypi.python.org/pypi/hostscli

Badges

Docs Documentation Status
GitHub
Tests
Thanks Say thanks :)

Docs & Reference

.. automodule:: hostscli
    :members:
    :undoc-members:
    :show-inheritance:


More websites?

If you need to add more websites, just create a <website>.py file in hostscli/websites/ directory with list of domains declared as variable DOMAINS. Please look at hostscli/websites/facebook.py file for reference

Credits

Here are some of the list where I borrowed domains from:

https://github.com/jmdugan/blocklists

http://www.malwaredomainlist.com/hostslist/hosts.txt

http://winhelp2002.mvps.org/hosts.txt

http://someonewhocares.org/hosts/hosts

http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext

About

hostscli - A CLI tool to block / unblock websites using /etc/hosts. Super simple and easily extendable. Also block Ads, Tracking & Malware sites.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages