From e34d8c600cd304b3666caf0734f55e436e05a2ca Mon Sep 17 00:00:00 2001 From: huyinsong Date: Sat, 31 May 2025 10:23:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Makefile=E5=92=8CREADME=20-?= =?UTF-8?q?=20=E6=B7=BB=E5=8A=A0GUI=E8=AE=BF=E9=97=AE=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E5=92=8C=E5=A2=9E=E5=BC=BA=E6=9E=84=E5=BB=BA=E7=9B=AE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 ++++ README.md | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b7704ba..8bd5d21 100644 --- a/Makefile +++ b/Makefile @@ -73,3 +73,7 @@ help: @echo " deps - Download dependencies" @echo " install - Install to /usr/local/bin" @echo " uninstall - Remove from /usr/local/bin" + @echo "" + @echo "GUI Access:" + @echo " After starting, access the web GUI at:" + @echo " http://127.0.0.1:8080/gui" diff --git a/README.md b/README.md index f42d838..7cc88ba 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ - 📈 **详细统计**: 连接数、成功率、流量统计、错误分类 - 💚 **健康检查**: RESTful API 端点,支持监控系统集成 - 🔍 **性能指标**: 响应时间、并发连接、字节传输统计 +- 🖥️ **Web GUI**: 现代化图形界面,实时监控和管理 ### 🔒 **安全特性** - 🛡️ **认证支持**: 用户名密码认证和无认证模式 @@ -52,7 +53,8 @@ make build ./bin/wormhole-client -mode http # 配置浏览器代理: 127.0.0.1:8080 -# 访问: http://127.0.0.1:8080/stats (查看统计) +# 访问 Web GUI: http://127.0.0.1:8080/gui +# 访问统计API: http://127.0.0.1:8080/stats ``` #### 2. 全局代理模式 (推荐进阶用户) @@ -191,6 +193,7 @@ routing: 启动后访问以下端点: +- 🖥️ **Web GUI**: `http://127.0.0.1:8080/gui` (图形管理界面) - 📊 **统计信息**: `http://127.0.0.1:8080/stats` - 💚 **健康检查**: `http://127.0.0.1:8080/health` - 🌐 **代理服务**: `http://127.0.0.1:8080/` (HTTP 代理入口) @@ -459,6 +462,7 @@ export LOG_LEVEL=debug ## 📚 **文档链接** +- 🖥️ [Web GUI 使用指南](docs/gui.md) - 图形界面使用和功能介绍 - 📖 [全局代理使用指南](docs/global-proxy.md) - 详细的全局代理配置和使用说明 - 📊 [API 文档](docs/api.md) - RESTful API 接口说明 - 🔧 [配置参考](configs/client.yaml) - 完整的配置文件示例