All Projects → jonhadfield → hostman

jonhadfield / hostman

Licence: MIT license
A hosts file manager

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to hostman

Python Hosts
a hosts file manager library written in python
Stars: ✭ 90 (+373.68%)
Mutual labels:  hosts, hostsfile
Hosts.extras
Extra rules for https://github.com/StevenBlack/hosts project
Stars: ✭ 120 (+531.58%)
Mutual labels:  hosts, hostsfile
Mobile Hosts
HOSTS files converted or sourced from various filter lists to prevent ads and tracking.
Stars: ✭ 91 (+378.95%)
Mutual labels:  hosts, hostsfile
pornhosts
Pornhosts a hosts-file formatted file of the RPZ zone file
Stars: ✭ 33 (+73.68%)
Mutual labels:  hosts, hostsfile
hosts.whitelists
Collection of whitelists hosts. See also hosts.extras [ https://git.io/J3b5A ] and StevenBlack's hosts project [ https://git.io/Je0XR ]
Stars: ✭ 27 (+42.11%)
Mutual labels:  hosts, hostsfile
Hblock
Improve your security and privacy by blocking ads, tracking and malware domains.
Stars: ✭ 724 (+3710.53%)
Mutual labels:  hosts, hostsfile
Vagrant Hostmanager
📝 A Vagrant plugin that manages hosts files within a multi-machine environment.
Stars: ✭ 1,442 (+7489.47%)
Mutual labels:  hosts, hostsfile
Wally3k.github.io
Repo for Firebog hosting
Stars: ✭ 427 (+2147.37%)
Mutual labels:  hosts, hostsfile
Vs Shell Format
the shellscript、Dockerfile、properties ...... format extension
Stars: ✭ 176 (+826.32%)
Mutual labels:  hosts, hostsfile
Switchhosts
Switch hosts quickly!
Stars: ✭ 15,408 (+80994.74%)
Mutual labels:  hosts, hostsfile
Ultimate.hosts.blacklist
The Ultimate Unified Hosts file for protecting your network, computer, smartphones and Wi-Fi devices against millions of bad web sites. Protect your children and family from gaining access to bad web sites and protect your devices and pc from being infected with Malware or Ransomware.
Stars: ✭ 606 (+3089.47%)
Mutual labels:  hosts, hostsfile
hostsfile
go tool for working with /etc/hosts files
Stars: ✭ 120 (+531.58%)
Mutual labels:  hosts, hostsfile
Blacklist
Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒
Stars: ✭ 492 (+2489.47%)
Mutual labels:  hosts, hostsfile
Funceble
[ARCHIVED] Please report to https://github.com/funilrys/PyFunceble.
Stars: ✭ 25 (+31.58%)
Mutual labels:  hosts, hostsfile
Polish Ads Filter
CertyficateIT - Oficjalne polskie filtry do Adblock, uBlock Origin, Adguard
Stars: ✭ 462 (+2331.58%)
Mutual labels:  hosts, hostsfile
Hmirror
Mirror of multiple third-party blocklists (updated daily).
Stars: ✭ 104 (+447.37%)
Mutual labels:  hosts, hostsfile
GameIndustry-hosts-Template
Unique host templates to enhance own privacy in games, websites and regulary software on Desktop and Android devices
Stars: ✭ 25 (+31.58%)
Mutual labels:  hosts, hostsfile
Google Hosts
Google hosts generator
Stars: ✭ 3,277 (+17147.37%)
Mutual labels:  hosts, hostsfile
Hostsvn
Hosts block ads of Vietnamese
Stars: ✭ 145 (+663.16%)
Mutual labels:  hosts, hostsfile
local-cname
Helper script to emulate a local CNAME DNS by writing to /etc/hosts
Stars: ✭ 44 (+131.58%)
Mutual labels:  hosts, hostsfile

hostman

Build Status Coverage Status

A simple command line tool for managing your hosts file. Add, remove or import entries from file or URLs.

Installation

pip install pyhostman

Usage

hostman add [-fqbcvq] [--force] [--path=PATH]
            ( [ENTRY ...] | [--input-file=FILE] | [--input-url=URL] )
hostman remove [-qbcvq] ([--address=<address>] [--names=<names>]) [--path=PATH]
             [--input-file=FILE] [--input-url=URL]
hostman --version

Options

-h --help                    show this help message and exit
--version                    show version and exit
-f --force                   first remove all existing entries that match
--address=ADDRESS            ipv6 or ipv4 address
--names=NAMES                host names
-q --quiet                   report only failures
-p --path=PATH               location of hosts file (attempts to detect default)
-i --input-file=FILE         file containing hosts to import
-u --input-url=URL           url of file containing hosts to import
-b --backup                  create a backup before each change
--exclude=VALUE              comma separated list of names or addresses
                             to exclude from operation [default: 127.0.0.1]
-c --count                   count entries added, replaced and removed
-v --verbose                 print verbose output

Examples

Adding a single entry

hostman add 1.2.3.4 example.com

Importing a list of host entries by URL

hostman add --input-url https://dl.dropboxusercontent.com/u/167103/hosts

Requirements

Tested on python 2.7, 3.5, 3.6, 3.7, pypy, and pypy3

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].