hostserrer for macOS, Windows and Linux
Hosts File Manager for macOS, Windows and Linux
Manage your system hosts file from a single structured library. Group records into composable packages, inspect side-by-side diffs before writing, and isolate changes to a dedicated managed block. Free, open source, with automatic backups before every apply and ready-made installers for every platform.
- Diff preview before every write
- Automatic backup before apply
- Isolated managed block
Free software · MIT · personal side project
macOS, Windows, Linux · How to install and open it
- Runs on
- macOS, Windows and Linux
- Built with
- TypeScript on Electron and React
- Writes
- One marked block, nothing else
- Network
- Manual diagnostics only
A central record library instead of duplicate files
Traditional hosts managers swap entire files, forcing you to hunt down and update the same IP across multiple copies. hostserrer treats each IP mapping as an independent record in a central library. Update an IP once, and every package referencing it updates instantly.
- IP address, hostnames, and notes unified in a single row
- Real-time input validation to prevent syntax and formatting errors
- A "Used in" column naming every package that references each record
- Import by pasting lines or dropping a file: another hosts file or a blocklist
- Built-in ping, traceroute, and DNS propagation lookups
Composable packages stacked with clear priority
Packages are curated selections from your record library. Activate multiple packages simultaneously with deterministic precedence—higher-priority packages cleanly override earlier ones. Stack a base blocklist, local dev environments, and staging overrides without manual conflict editing.
- Toggle individual records on or off without removing them from packages
- Filter library records and perform bulk selections or status toggles
- Numbered stack order where a higher number overrides a lower one
- Status bar displays pending additions and removals before applying
Inspect the full diff before anything touches disk
The preview dialog displays the exact changes before writing. Conflicting hostnames are highlighted with the winning package and the overridden source clearly identified. Existing entries outside the block that would shadow your rules are flagged and safely handled with optional commenting.
- Unified or side-by-side diff views, for changes only or the whole file
- Explicit conflict resolution showing winning and overridden packages
- Optional commenting for upstream entries that would shadow the managed block
- Restores original upstream lines byte-for-byte when active rules change
Dedicated managed block preserves existing entries
All changes written by hostserrer are strictly contained between two designated marker comments. Docker configs, VPN routes, and manual system entries outside these markers remain untouched. Disabling all packages completely removes the block and restores the clean file.
- Block header documents the package stack, with each package under its own heading
- Overridden records are preserved as annotated comments explaining precedence
- Automatic timestamped backups before each write, manual backups on demand, in a folder you choose
- Verifies writes by reading back and comparing disk contents before completion
See it working
Take a look at the user interface of the application.
How every FlosForge app works
-
No telemetry
No analytics, no crash reporting, no usage pings. Not configurable — simply absent.
-
Local storage only
Your data stays on your own device, stored in private application sandboxes under your control.
-
Open exports
Everything exports to standard formats you own (CSV, GPX, JSON, Markdown), with zero lock-in.
Getting it running
Download a prebuilt installer from the GitHub Releases page, or clone the repository and run it from source. Both give you the same app; building from source lets you audit the complete codebase before giving it access to your hosts file.
Before you start
The builds are not code-signed, so macOS Gatekeeper and Windows SmartScreen will warn you the first time you open the app. Download installers only from the project’s GitHub Releases page, or build from source. hostserrer modifies your system hosts file, which controls hostname resolution for every application: inspect the diff before applying, and use Restore to return to your original hosts file whenever needed.
What you need first
- macOS, Windows, or Linux, on x64 or ARM64
- Linux: polkit (pkexec), which most desktop distributions include
- To run from source: Node.js 22.12 or newer, and Git
-
Download a build
Choose the file for your platform from the Releases page: a .dmg for macOS (Apple silicon or Intel), an .exe installer for Windows (x64 or ARM), or an AppImage or .deb for Linux (x64 or ARM). SHA256SUMS.txt lists a checksum for every file.
-
Open it the first time
On macOS, open the app, then click Open Anyway in System Settings → Privacy & Security. On Windows, click More info, then Run anyway on the SmartScreen dialog. On Linux, make the AppImage executable or install the .deb with your package manager.
chmod +x hostserrer-*.AppImage -
Or run it from source
Clone the repository and install dependencies with npm.
git clone https://github.com/dimitriostzr/host-file-editor-crossplatform.git cd host-file-editor-crossplatform && npm install -
Explore in isolated demo mode
From source, launch a self-contained sandbox with sample records and packages. It writes to a temporary directory without administrative privileges, clearly badged in the title bar.
npm run demo:app -
Run against your system hosts file
Launch the app in live mode. Applying changes triggers your OS elevation prompt (osascript, UAC, or pkexec) only when committing writes. From source you can also point it at any other hosts file.
npm start HOSTSERRER_HOSTS_PATH=/tmp/sandbox-hosts npm start
Free software · MIT · not sold
Free and open source
hostserrer is released under the MIT License. It is not sold — there is no paid version, no licence key and no tier — and the licence is the whole arrangement. In plain terms:
A personal project, made for fun. hostserrer is something I build in my spare time, mostly because I wanted it myself. It is not a commercial product and there is no team or support contract behind it. Take it as the hobby tool it is: expect rough edges, double-check what it tells you, and do not rely on it for anything critical.
- Free and open source software: no licenses to purchase, no paywalls, and no subscription tiers.
- Full freedom to use, inspect, modify, and distribute for personal or commercial workflows.
- Redistributed copies and derivatives must keep the original copyright notice and the MIT licence text.
- Provided as-is without warranty. Always review the generated diff preview before applying changes to system files.
Read the MIT licence text The LICENSE file in the repository
Free, and the source is public
hostserrer for macOS, Windows and Linux is free software, published in full on GitHub. Download it, audit it, or fork it. It is offered without a support commitment, so read the README first and try it on a machine you can afford to experiment with.