A simple GUI for manage hosts, written in Go with the astilectron, and Vue, ElementUI, etc.
Assume that you had installed the Go compilers (if not, click here to get the Go compilers)
Run the following commands:
$ go get -u github.com/im050/awesome-hosts
Run the following commands:
go get -u github.com/asticode/go-astilectron-bundler/
don't forget to add $GOPATH/bin
to your $PATH
.
Run the following commands:
$ cd $GOPATH/src/github.com/im050/awesome-hosts
$ astilectron-bundler -v
The result is in the output/<your os>-<your arch>
folder and is waiting for you to test it!
To bundle the app for more environments, add an environments
key to the bundler configuration (bundler.json
):
"environments": [
{"arch": "amd64", "os": "linux"},
{"arch": "386", "os": "windows"}
]
The installation steps is copied from go-astilectron-demo
- SwitchHosts! an App for managing hosts file
Actually, I have to admit that I copied something from <SwitchHosts!>, because it is a mature product and perfect. and, the AwesomeHosts is my first project using Golang, I will improve and perfect it for learning and growing.
- add/edit/delete host
ok
- add/edit/delete group
ok
- allow that add hosts from remote file
pending
- add google hosts from remote as one of the default group
pending
- clear DNS cache
pending
- add a dock menu on Mac to provide some quick operations
pending
This project is an open-source software licensed under the MIT License.