An open API service indexing awesome lists of open source software.

https://github.com/jonaskahn/host-profile-manager

A simple hosts profiles manager and for sure without AI stuffs
https://github.com/jonaskahn/host-profile-manager

golang macos-app windows-app

Last synced: about 1 month ago
JSON representation

A simple hosts profiles manager and for sure without AI stuffs

Awesome Lists containing this project

README

          

# Hosts Profiles Manager

A GUI tool to manage and switch between different hosts file configurations.

https://github.com/user-attachments/assets/ce9f458e-cebe-4af6-bbf2-f5aa7d46bedf

## Install Requirements

- Go 1.20+
- Fyne: `go install fyne.io/fyne/v2/cmd/fyne@latest`

## Build

```bash
# macOS
./build/darwin.sh

# Linux
./build/linux.sh

# Windows
build\windows.bat
```

Built app will be in `dist` folder.

## Run

The app needs admin rights to modify hosts file.

### macOS
```bash
sudo open "dist/Hosts Profiles Manager.app"
```

### Linux
```bash
sudo ./hosts-manager
```

### Windows
Right-click > Run as administrator

## Hosts File Location

- macOS & Linux: `/etc/hosts`
- Windows: `C:\Windows\System32\drivers\etc\hosts`

## License

MIT License - see [LICENSE](LICENSE) file