Switch hosts quickly!
See the codeHomepage: https://switchhosts.app
SwitchHosts is an App for managing hosts file, it is based on Tauri, React, Jotai, Mantine, etc.
You can download the source code and build it yourself, or download the built version from following links:
You can also install the built version using the package manager Chocolatey:
choco install switchhosts
SwitchHosts stores data at ~/.SwitchHosts (Or folder .SwitchHosts under the current user's home
path on Windows). In the v5 data layout:
~/.SwitchHosts/manifest.json stores the hosts tree~/.SwitchHosts/entries/ stores local and remote hosts content~/.SwitchHosts/trashcan.json stores trashcan entries~/.SwitchHosts/internal/config.json stores preferences~/.SwitchHosts/internal/histories/ stores system hosts and command run historyFor a complete manual backup, copy the whole ~/.SwitchHosts folder. The in-app export creates a hosts data backup JSON; it does not include preferences or histories.
System hosts are written as UTF-8 without a BOM. Before converting an existing Windows ANSI or BOM-marked UTF-16 file, SwitchHosts saves its original bytes in internal/histories/hosts-encoding-backups/ under the active data directory, even when history recording is disabled. These .bin backups are not removed by the history limit or included in the in-app JSON export.
npm install to install dependenciesnpm run tauri:dev to start the app in development modenpm run tauri:build to create a production build./src-tauri/target/release/bundle/# development
npm run tauri:dev
# production build
npm run tauri:build
SwitchHosts is a free and open source software, it is released under the Apache License.
(top 24 of 52)
2,228 followers · starred Apr 2021
3,566 followers · starred Aug 2020
22 followers · starred Mar 2023
47 followers · starred May 2019
Switch hosts quickly!
See the codeHomepage: https://switchhosts.app
SwitchHosts is an App for managing hosts file, it is based on Tauri, React, Jotai, Mantine, etc.
You can download the source code and build it yourself, or download the built version from following links:
You can also install the built version using the package manager Chocolatey:
choco install switchhosts
SwitchHosts stores data at ~/.SwitchHosts (Or folder .SwitchHosts under the current user's home
path on Windows). In the v5 data layout:
~/.SwitchHosts/manifest.json stores the hosts tree~/.SwitchHosts/entries/ stores local and remote hosts content~/.SwitchHosts/trashcan.json stores trashcan entries~/.SwitchHosts/internal/config.json stores preferences~/.SwitchHosts/internal/histories/ stores system hosts and command run historyFor a complete manual backup, copy the whole ~/.SwitchHosts folder. The in-app export creates a hosts data backup JSON; it does not include preferences or histories.
System hosts are written as UTF-8 without a BOM. Before converting an existing Windows ANSI or BOM-marked UTF-16 file, SwitchHosts saves its original bytes in internal/histories/hosts-encoding-backups/ under the active data directory, even when history recording is disabled. These .bin backups are not removed by the history limit or included in the in-app JSON export.
npm install to install dependenciesnpm run tauri:dev to start the app in development modenpm run tauri:build to create a production build./src-tauri/target/release/bundle/# development
npm run tauri:dev
# production build
npm run tauri:build
SwitchHosts is a free and open source software, it is released under the Apache License.
(top 24 of 52)
2,228 followers · starred Apr 2021
3,566 followers · starred Aug 2020
22 followers · starred Mar 2023
47 followers · starred May 2019