- Lightweight, low resource usage, easy to deploy
- Monitor system status and Hysteria2 status
- Limit user traffic, user online status, force users to log off, number of online users, reset user traffic
- Limit the number of users' online devices at the same time, the number of online devices
- User subscription link, node URL, import and export users
- Managing Hysteria2 configurations and Hysteria2 versions
- Change the Web port, modify the Hysteria2 traffic multiplier
- View, import, and export system logs and Hysteria2 logs
- I18n: English, 简体中文
- Page adaptation, support night mode, custom page themes
- More features waiting for you to discover
OS version: CentOS Stream 8+/Ubuntu+ LTS/Debian 11+
CPU Architecture: x86_64/amd64
Memory: ≥ 128MB
-
Install Docker
https://docs.docker.com/engine/install/
bash <(curl -fsSL https://get.docker.com)
-
Start a container
docker pull jonssonyan/h-ui docker run -d --name h-ui --restart always \ --network=host \ -v /h-ui/bin:/h-ui/bin \ -v /h-ui/data:/h-ui/data \ -v /h-ui/export:/h-ui/export \ -v /h-ui/logs:/h-ui/logs \ jonssonyan/h-ui
Custom web port
docker run -d --name h-ui --restart always \ --network=host \ -v /h-ui/bin:/h-ui/bin \ -v /h-ui/data:/h-ui/data \ -v /h-ui/export:/h-ui/export \ -v /h-ui/logs:/h-ui/logs \ jonssonyan/h-ui \ ./h-ui -p [port]
Set the time zone, default is Asia/Shanghai
docker run -d --name h-ui --restart always \ --network=host \ -e TZ=Asia/Shanghai \ -v /h-ui/bin:/h-ui/bin \ -v /h-ui/data:/h-ui/data \ -v /h-ui/export:/h-ui/export \ -v /h-ui/logs:/h-ui/logs \ jonssonyan/h-ui
Executable files: https://github.com/jonssonyan/h-ui/releases
mkdir h-ui && cd h-ui
curl -L -o h-ui https://github.com/jonssonyan/h-ui/releases/download/v0.0.1/h-ui-linux-amd64 && chmod +x ./h-ui && ./h-ui
- Panel Port: 8081
- Username/Password: sysadmin
Export the user, system configuration, and Hysteria2 configuration in the management background, redeploy the latest version of h-ui, and import the data into the management background after the deployment is complete.
-
Scheduled server restart
0 4 * * * /sbin/reboot
-
Install Network Accelerator
https://v2.hysteria.network/docs/getting-started/3rd-party-apps/
Go >= 1.20, Node.js >= 18.12.0
-
frontend
cd frontend pnpm install npm run dev
-
backend
go run main.go
Contact me: https://t.me/jonssonyan_channel
You can subscribe to my channel on YouTube: https://www.youtube.com/@jonssonyan
Thanks to everyone who contributed to this project.