All Projects → vdbhb59 → hosts

vdbhb59 / hosts

Licence: other
🄯Curated lists of hosts files with various domain blocks.🄯

Programming Languages

shell
77523 projects
Batchfile
5799 projects
SCSS
7915 projects

Projects that are alternatives of or similar to hosts

Blacklist
Curated and well-maintained hostfile to block ads, tracking, cryptomining, and more! Updated regularly. ⚡🔒
Stars: ✭ 492 (+3180%)
Mutual labels:  privacy, facebook, hosts, adblock, hostsfile
Hblock
Improve your security and privacy by blocking ads, tracking and malware domains.
Stars: ✭ 724 (+4726.67%)
Mutual labels:  privacy, hosts, adblock, hostsfile
additional-hosts
🛡 List of categorized undesired hosts
Stars: ✭ 13 (-13.33%)
Mutual labels:  blacklist, hosts, adblock, hostsfile
Hosts.extras
Extra rules for https://github.com/StevenBlack/hosts project
Stars: ✭ 120 (+700%)
Mutual labels:  privacy, hosts, adblock, hostsfile
All In One Customized Adblock List
An all-in-one adblock list that thoroughly blocks trackers, popup ads, ads, unwanted cookies, fake news, cookie warning messages, typosquatters, unwanted comment sections, crypto-coin mining, YouTube clutter, Twitter guff and social network hassles.
Stars: ✭ 217 (+1346.67%)
Mutual labels:  youtube, privacy, facebook, adblock
1hosts
DNS filter-/blocklists | safe. private. clean. browsing!
Stars: ✭ 85 (+466.67%)
Mutual labels:  privacy, blacklist, adblock, hostsfile
Hostsvn
Hosts block ads of Vietnamese
Stars: ✭ 145 (+866.67%)
Mutual labels:  privacy, hosts, adblock, hostsfile
hosts
冷莫(trli)的规则唯一一个提供全球比较全的库Cold Mo (TRLI) rules is the only one to provide a global comparison of the library.
Stars: ✭ 4 (-73.33%)
Mutual labels:  blacklist, hosts, adblock
Piholeblocklist
PiHole and AGH Blocklists
Stars: ✭ 320 (+2033.33%)
Mutual labels:  privacy, adblock, samsung
Blocker Database
A global domain based database for NoScript, uBlock, uMatrix & ScriptSafe
Stars: ✭ 127 (+746.67%)
Mutual labels:  privacy, blacklist, adblock
Wally3k.github.io
Repo for Firebog hosting
Stars: ✭ 427 (+2746.67%)
Mutual labels:  blacklist, hosts, hostsfile
Bromite
Bromite a Chromium fork with ad blocking and privacy enhancements; take back your browser!
Stars: ✭ 3,256 (+21606.67%)
Mutual labels:  privacy, adblock, adblocking
ADios
ADBlocker - Block ADS on Twitch, Spotify and EVERYWHERE via the HOST File, PI-Hole, Adblocker Add-on, DNSMasq, Response Policy Zone and Adguard Services. - ADios ADS !
Stars: ✭ 73 (+386.67%)
Mutual labels:  wildcards, adblock, hostsfile
autohosts
Automate hosts file updates on Linux and MacOS. Block Firefox telemetry, Google snooping and web trackers at the root.
Stars: ✭ 69 (+360%)
Mutual labels:  hosts, hostsfile, adblocking
debloat-adb
Bash Debloat-Scripts for Android Devices (using ADB)
Stars: ✭ 27 (+80%)
Mutual labels:  facebook, samsung, xiaomi
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 (+80%)
Mutual labels:  hosts, adblock, hostsfile
Polish Ads Filter
CertyficateIT - Oficjalne polskie filtry do Adblock, uBlock Origin, Adguard
Stars: ✭ 462 (+2980%)
Mutual labels:  hosts, adblock, hostsfile
Neodevhost
The Powerful Friendly Uptodate AD Blocking Hosts 最新强大而友善的去广告
Stars: ✭ 336 (+2140%)
Mutual labels:  blacklist, adblock, hostsfile
Youtubeadsblacklist
A list of YouTube video ad domains. (Discontinued)
Stars: ✭ 136 (+806.67%)
Mutual labels:  youtube, blacklist, adblock
Youtube Music
YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
Stars: ✭ 376 (+2406.67%)
Mutual labels:  mac, youtube, adblock

🄯hosts🄯

Curated host file with various domain blocks.

See "Source" below for credits and source list. Lot of hosts are based on my own digging and compatible with almost all kind of adblockers.


Install hblock

Thanks to Héctor Molinero Fernández for this methodology.

curl -o /tmp/hblock 'https://raw.githubusercontent.com/vdbhb59/hosts/master/hblock' \
  && echo '3e63ea3077c83cfdc1970359cfd46192c0c077f262c2a64daa7e4b8686518aed  /tmp/hblock' | shasum -c \
  && sudo mv /tmp/hblock /usr/local/bin/hblock \
  && sudo chown 0:0 /usr/local/bin/hblock \
  && sudo chmod 755 /usr/local/bin/hblock

Install systemd service and timer units

The following commands will schedule a daily update of the hosts file. See systemd-timers for more information.

curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/vdbhb59/hosts/master/hblock.{service,timer}' \
  && echo '08b736382cb9dfd39df1207a3e90b068f5325a41dc8254d83fde5d4540ba8b5b  /tmp/hblock.service' | shasum -c \
  && echo '87a7ba5067d4c565aca96659b0dce230471a6ba35fbce1d3e9d02b264da4dc38  /tmp/hblock.timer' | shasum -c \
  && sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/ \
  && sudo chown 0:0 /etc/systemd/system/hblock.{service,timer} \
  && sudo chmod 644 /etc/systemd/system/hblock.{service,timer} \
  && sudo systemctl daemon-reload \
  && sudo systemctl enable hblock.timer \
  && sudo systemctl start hblock.timer

Modify default options with environment variables

To change the default options instead of modifying the original service it is possible to override its properties.

For example, to have multiple domains on the same line and enable regular expressions in the allow-list, create the file /etc/systemd/system/hblock.service.d/override.conf with the following content:

[Service]
Environment=HBLOCK_WRAP=20
Environment=HBLOCK_REGEX=true

Then reload the systemd configuration and start the service:

sudo systemctl daemon-reload
sudo systemctl start hblock.service

Check Shasum the actual way

(Thanks Alexis La Porte for this.) Organic: In terminal run:

For sha2: shasum -a 256 filename/path

For sha1:
shasum -a 1 filename/path

Use your eyeballs and compare by sight the expected hash and the computed hash in the terminal. Eye strain might ensue.

Artisanal & organic: Run the above commands. Copy the resulting shasum with Ctrl + C. In browser or file use Ctrl + F with your copied shasum; if you find a match, congrats your file is fine! If no match, your file might have been altered or tampered with.

Inorganic, man-made: Use shasum check command. Runs diff and prints results in terminal.

In terminal run:
echo 'your_expected_shasum_here_followed_by_a_space *name_of_file_to_check_after_asterisk' | shasum -c


Supported Operating Systems

Android: For non-rooted devices, these host files can be used with Tracker Control, DNS66, Blokada, Personal DNS Filter or Nebulo. The above softwares are free and open-source ad-blockers.

For rooted devices, one can replace the default hosts file with the file of choice from here, after renaming the choice file to "hosts". Permissions should be rw-r--r-- / 644.

Otherwise, if one does not wish to add it manually, one can use this host file with AdAway, a free and open-source ad-blocker for Android.

Linux: An open-source host file manager called hBlock.

Mac OS: These host files can be used with gasmask.

Windows: Users for Windows would find it easy to use with Hostman, a software to manage host file.

In case the above is not working, you can try one of the following as well:

SwitchHosts or HostsFileEditor

Use installer hostsinstaller with administrative rights in Windows.


How to disable DNS CACHE services on Windows?

  1. Hit Win+R & type regedit & press enter.

  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dnscache, and locate the "Start" registry key. Now change its value from 2 (Automatic) to 4 (Disabled)

  3. Restart computer once & now change your host file with bigger SIZE.


Usage guide

TrackerControl TC

Open TC > Top Right "3 Dots Drop Down" > Settings > Advanced options > "Hosts file URL" > Click and then copy paste the below hosts file URL. Then click OK to save the URL and then click "update hosts file".

https://raw.githubusercontent.com/vdbhb59/hosts/master/hosts

Blokada

Open Blokada > navigate to Hosts List > Click + button and then copy paste the below hosts file URL. Then press the Shield icon to activate.

https://raw.githubusercontent.com/vdbhb59/hosts/master/hosts

DNS66

Open DNS66 > swipe to Hosts > Click + button and then copy paste the below hosts file URL. Then press the refresh icon on the top and press the start button.

https://raw.githubusercontent.com/vdbhb59/hosts/master/hosts

Adaway

Open Adaway > go to Host Source > Click + button and then copy paste the below hosts file URL. Then Click enable ad blocking from the home menu.

https://raw.githubusercontent.com/vdbhb59/hosts/master/hosts

DNS Filter

Open DNS Filter > Tap on Advanced Settings > Tap on Configure Filter Update > Create a new filter by tapping on the Pencil icon > Copy paste the below hosts file URL > Tap on Active circle there > Tap on the (✔️) icon > Tap on Configure filter update to hide the menu > Tap on Advanced Settings > Tap on Restart

https://raw.githubusercontent.com/vdbhb59/hosts/master/hosts

Recommended Whitelist

  • Facebook main app
  • Facebook Lite Messenger

Recommended Apps

For those who still are hardcore fcbook (lol) users, you can try Frost from F-Droid. Frost for Facebook (A fast and extensive third party wrapper for Facebook.)

https://f-droid.org/app/com.pitchedapps.frost

For YT users, use NewPipe/SkyTube. They are fully open sourced.

https://f-droid.org/app/org.schabi.newpipe
https://f-droid.org/app/free.rm.skytube.oss/

Sources

  • Source lists for my hosts files:

No-Amazon | Hectorm | Hosts Vietnam | Steven Black | PolishFiltersTeam | MetaMask | Bad-Boyz | AnudeepND | Badmojr | Easy List | Easy List-Privacy | Easy List-Cookie | Yous | YHosts | GBA-Samsung | GBA-YT | GBA | GBA-Xiaomi | GBA-Le-Eco | Gloeyisk | Idoo | XFiles-Stable | XFiles-FB | XFiles-SiteBlock | XFiles-UPD UBlock


  • Resultant Host File:

hosts


  • Credits:

No-Amazon | Easylist > Easylist | HBlock > Héctor Molinero Fernández | HostsVN > Bigdragon | Steven Black > Steven Black | GoodByeAds > Jerryn70 | KAD Hosts > PolishFiltersTeam | Ethereum Phishing > MetaMask | Badd-Boyz-Hosts > Mitchell Krog | CoinMiner > Anudeep | Pro Hosts (BadMojr) > Imre Kristoffer Eilertsen (Dandelion Sprout) | Master Hosts > Chayoung You | Master Hosts > Vokins | Systemless Hosts (Porn+FakeNews+Gambling) > Gilang Iskandar (Gloeyisk) -- May be removed soon, if not updated any longer.. | No-Google > Nick Spaargaren (Thanks Evan (785172845)(Telegram) for pointing this out) | YouTube Hosts > Ivan Verevkin | XFiles > Gioxx


License

Content of the hosts is licensed under a 🄯MIT License🄯.

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].