Files
kazeyukiro 1ddb808270 fix(i18n): declare WARP/routing keys; restore 3x-ui in acknowledgments
Unit test required en.ts keys used by Routing/Settings. Credits keep
3x-ui / s-ui as before.
2026-09-29 15:57:51 +00:00

98 lines
4.7 KiB
Markdown

# 3m-ui
<p align="center">
<img src="../../frontend/public/logo.png" alt="3m-ui logo" width="160" />
</p>
> Languages / 语言: [README](../../README.md) · [English](./README.en.md) · [简体中文](./README.zh-CN.md) · [繁體中文](./README.zh-TW.md) · [日本語](./README.ja.md) · [한국어](./README.ko.md) · [Español](./README.es.md) · [Français](./README.fr.md) · [Deutsch](./README.de.md) · [Русский](./README.ru.md) · [Português (Brasil)](./README.pt-BR.md) · **Tiếng Việt** · [Bahasa Indonesia](./README.id.md) · [ไทย](./README.th.md) · [Türkçe](./README.tr.md) · [العربية](./README.ar.md) · [हिन्दी](./README.hi.md) · [Polski](./README.pl.md) · [Українська](./README.uk.md)
**Bảng điều khiển web quản lý máy chủ Mihomo**
> **Ưu tiên bản ổn định:** cài đặt và cập nhật mặc định dùng release chính thức.
Nhẹ, tự lưu trữ. Quản lý listener, người dùng, subscription và trạng thái [Mihomo](https://github.com/MetaCubeX/mihomo) trên Linux.
[![License](https://img.shields.io/badge/license-EPL--2.0-blue.svg)](../../LICENSE)
[![Go](https://img.shields.io/github/go-mod/go-version/kazeyukiro/3m-ui?filename=backend%2Fgo.mod)](../../backend/go.mod)
> Tài liệu: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/)
---
## Tính năng
| Hạng mục | Khả năng |
|------|------|
| **Node** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation |
| **Người dùng** | Bind nodes, traffic limits, expiry, IP limits, batch ops, subscription tokens |
| **Subscription** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page |
| **Cấu hình** | Generate → validate → apply; rollback previous `config.yaml` on failure |
| **Vận hành** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore, Cloudflare WARP register (YAML) |
| **Telegram** | Alerts and bot commands (token + chat IDs) |
| **Cụm** | Register remote panels, health checks, node mirror sync, merged subscriptions |
---
## Cài đặt
```bash
curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh
```
Sau khi cài, cập nhật bằng:
```bash
sudo 3m-ui update
# sudo 3m-ui update v1.0.2
```
Panel mặc định: `http://SERVER_IP:8080/` — user `admin`, mật khẩu ngẫu nhiên một lần (**đổi ở lần đăng nhập đầu**).
---
## Build từ mã nguồn
```bash
cd frontend && npm install && npm run build
cp -r dist ../backend/cmd/server/web/dist
cd ../backend && CGO_ENABLED=0 go build -tags sqlite_modernc -trimpath -ldflags='-s -w' -o ../3m-ui ./cmd/server
```
Binary tĩnh: [Releases](https://github.com/kazeyukiro/3m-ui/releases).
---
## Cảm ơn
- [Mihomo](https://github.com/MetaCubeX/mihomo) — core engine and listener model
- [clashmeta-inbound](https://github.com/Tychristine/clashmeta-inbound/) — listener examples
- [3x-ui](https://github.com/MHSanaei/3x-ui) / [s-ui](https://github.com/alireza0/s-ui) — panel UX inspiration
- [Gin](https://github.com/gin-gonic/gin), [GORM](https://github.com/go-gorm/gorm), [React](https://github.com/facebook/react), [Ant Design](https://github.com/ant-design/ant-design)
- [Lucide](https://github.com/lucide-icons/lucide) — icons (`lucide-react`)
- [AIsouler/MyClash](https://github.com/AIsouler/MyClash) — Mihomo routing config / lite rule ideas
- [echs-top/proxy](https://github.com/echs-top/proxy) — Mihomo rules and proxy-group schemes
- [YiXuanZX/rules](https://github.com/YiXuanZX/rules) — Rule sets and mihomo routing templates
- [Zustand](https://github.com/pmndrs/zustand), [golang-jwt/jwt](https://github.com/golang-jwt/jwt)
- Go, Node.js, and the open-source community
Người đóng góp: [Contributors](https://github.com/kazeyukiro/3m-ui/graphs/contributors)
---
## Star History
<a href="https://www.star-history.com/?repos=kazeyukiro%2F3m-ui&type=date&legend=top-left">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=kazeyukiro/3m-ui&type=date&theme=dark&legend=top-left" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=kazeyukiro/3m-ui&type=date&legend=top-left" />
<img alt="Star History Chart" src="https://api.star-history.com/chart?repos=kazeyukiro/3m-ui&type=date&legend=top-left" />
</picture>
</a>
## Giấy phép
[Eclipse Public License 2.0](../../LICENSE)
Thành phần bên thứ ba: [THIRD-PARTY-NOTICES.md](../../THIRD-PARTY-NOTICES.md).