https://github.com/mirbyte/hostsmatic
Lightweight and simple hosts file automation.
https://github.com/mirbyte/hostsmatic
Last synced: 2 months ago
JSON representation
Lightweight and simple hosts file automation.
- Host: GitHub
- URL: https://github.com/mirbyte/hostsmatic
- Owner: mirbyte
- License: mit
- Created: 2025-03-16T15:22:57.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-17T12:37:53.000Z (3 months ago)
- Last Synced: 2025-03-17T13:43:18.077Z (3 months ago)
- Language: Batchfile
- Homepage:
- Size: 9.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://raw.githubusercontent.com/mirbyte/HostsMatic/master/LICENSE)

# HostsMatic
*Windows-Hosts-File-Blocklist-Automater*## EARLY TEST RELEASE !
Usage of hosts file is an outdated method but many people still use it. DNS over HTTPS skips the use of hosts file. These three files work together to provide a complete solution for managing Windows hosts file updates with blocklists, including installation and removal.**1. installer.bat**
- Windows batch script that installs HostsMatic
- Creates installation directory in Program Files
- Copies necessary files and creates a shortcut in Startup folder
- Creates a backup of the original hosts file
- Runs initial setup wizard**2. HostsMatic.exe**
- Compiled Python script that manages host file updates
- Includes Microsoft telemetry blocklist
- Handles automatic updates and DNS cache flushing
- Provides setup wizard for configuration
**3. uninstaller.bat**
- Windows batch script that removes HostsMatic
- Removes program files and startup shortcut
- Optionally restores original hosts file from backup
- Provides cleanup options for backup files
### Sources:
- https://github.com/StevenBlack/hosts
- https://gitlab.com/hagezi/mirror/-/raw/main/dns-blocklists/hosts/native.winoffice.txt
- https://github.com/pschneider1968/pihole-bl-msft-telemetry-bsi