feat(gui): add GUI (Test) implementation with documentation and admin support
- Add GUI (Test) module with Fyne-based interface (internal/gui/gui.go, internal/gui/server.go) - Add CLI monitoring capability (internal/cli/monitor.go) - Add main_cli.go entry point for CLI-only builds - Add comprehensive documentation suite covering setup, build, quick start, and changelog - Add admin manifest (admin.manifest) for Windows UAC elevation support - Add rsrc.syso.json configuration for resource embedding - Update .gitignore to exclude build scripts (*.bat, *.sh) - Update main.go and cli.go to support dual GUI (Test)/CLI modes - Update README.md with new project information - Enables users to build and run both GUI (Test)and CLI versions with proper admin privileges on Windows
This commit is contained in:
51
README.md
51
README.md
@@ -12,6 +12,8 @@ VPN клиент на Golang с поддержкой VLESS протокола и
|
||||
- ✅ Детальное логирование
|
||||
- ✅ Статистика трафика для WireGuard
|
||||
- ✅ Кроссплатформенность (Windows, Linux, macOS)
|
||||
- ✅ Современный графический интерфейс (GUI (Test))
|
||||
- ✅ CLI режим для серверов
|
||||
|
||||
## Требования
|
||||
|
||||
@@ -21,37 +23,59 @@ VPN клиент на Golang с поддержкой VLESS протокола и
|
||||
|
||||
## Установка
|
||||
|
||||
### Сборка из исходников
|
||||
### Инициализация зависимостей
|
||||
|
||||
```bash
|
||||
cd vpn_client_go
|
||||
go mod download
|
||||
go build -o vpn-client main.go
|
||||
# Windows
|
||||
init_gui.bat
|
||||
|
||||
# Linux/macOS
|
||||
chmod +x init_gui.sh
|
||||
./init_gui.sh
|
||||
```
|
||||
|
||||
### Windows
|
||||
### Сборка GUI версии
|
||||
|
||||
```bash
|
||||
# Windows
|
||||
build_gui.bat
|
||||
|
||||
# Linux/macOS
|
||||
chmod +x build_gui.sh
|
||||
./build_gui.sh
|
||||
```
|
||||
|
||||
### Сборка CLI версии (опционально)
|
||||
|
||||
```bash
|
||||
# Windows
|
||||
build.bat
|
||||
```
|
||||
|
||||
### Linux/macOS
|
||||
|
||||
```bash
|
||||
# Linux/macOS
|
||||
chmod +x build.sh
|
||||
./build.sh
|
||||
```
|
||||
|
||||
## Использование
|
||||
|
||||
### Запуск
|
||||
### Запуск GUI (по умолчанию)
|
||||
|
||||
```bash
|
||||
# Windows
|
||||
vpn-client.exe
|
||||
vpn-client-gui.exe
|
||||
|
||||
# Linux/macOS
|
||||
./vpn-client
|
||||
./vpn-client-gui
|
||||
```
|
||||
|
||||
### Запуск CLI режима
|
||||
|
||||
```bash
|
||||
# Windows
|
||||
vpn-client-gui.exe --cli
|
||||
|
||||
# Linux/macOS
|
||||
./vpn-client-gui --cli
|
||||
```
|
||||
|
||||
### Основные функции
|
||||
@@ -154,7 +178,8 @@ vpn_client_go/
|
||||
- ✅ Нативная кроссплатформенность
|
||||
- ✅ Полная поддержка WireGuard
|
||||
- ✅ Полная поддержка VLESS
|
||||
- ⚠️ Нет GUI версии
|
||||
- ✅ Современный графический интерфейс (GUI)
|
||||
- ✅ CLI режим для серверов
|
||||
- ⚠️ Нет автоматической настройки системного прокси (пока)
|
||||
|
||||
## Разработка
|
||||
|
||||
Reference in New Issue
Block a user