Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tk103331/gohosts
A hosts tool by golang.
https://github.com/tk103331/gohosts
Last synced: 8 days ago
JSON representation
A hosts tool by golang.
- Host: GitHub
- URL: https://github.com/tk103331/gohosts
- Owner: tk103331
- License: mit
- Created: 2021-03-11T10:08:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T03:18:43.000Z (over 1 year ago)
- Last Synced: 2024-06-20T16:37:46.701Z (5 months ago)
- Language: Go
- Size: 9.35 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gohosts(WIP)
A hosts tool by golang via [fyne](https://fyne.io).------
### Summary
The gohosts is a useful system hosts file editing tool. It is implemented with golang via [fyne](https://fyne.io). Support Windows, Linux, MACOS.
### Features
- Back up the system hosts file.
- Switch to enable the HostsItem (the hosts fragment).
- Use HostsGroup to manage multiple HostsItem.### Screenshot
![](./screenshot.jpeg)
### Building
- Linux / MACOS
``` shell
git clone http://github.com/tk103331/gohosts.git
cd gohosts
go build
sudo ./gohosts
```
- Windows (Need to run with administrator rights)
``` shell
git clone http://github.com/tk103331/gohosts.git
cd gohosts
go build
gohosts
```### TODO
- Optimize interface and interaction.
- Support multiple grouping strategies (exclusive, etc.).
- Support loading from network and file.