Skip to content

Hosts Switch is created by wails. And it's an easy way to manage your hosts.

License

Notifications You must be signed in to change notification settings

ikohu-66/hosts-switch

 
 

Repository files navigation

README

About

This is a simple desktop application developed based on wails, compatible with Linux, Windows and Mac, which can help you better maintain your local hosts configuration.

Screenshot

Screenshot1 Screenshot2

Environmental Requirements

Based on go v1.21+, wails v2.8.2, nodejs v20.

Wails applications built for Windows have a runtime requirement on the Microsoft WebView2 Runtime. Windows 11 will have this installed by default, but some machines won't.

Installing Wails

Run go install github.com/wailsapp/wails/v2/cmd/wails@latest to install the Wails CLI.

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.

Building

To build a redistributable, production mode package, use wails build.

Download

Linux: hosts-switch-linux-amd64.deb, hosts-switch-linux-amd64

Windows: hosts-switch-windows-amd64, hosts-switch-amd64-installer.exe

MacOs: hosts-switch.pkg, hosts-switch.app.zip

About

Hosts Switch is created by wails. And it's an easy way to manage your hosts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%