diff --git a/README.ar.md b/README.ar.md new file mode 100644 index 0000000..84c70c2 --- /dev/null +++ b/README.ar.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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](./README.vi.md) · [Bahasa Indonesia](./README.id.md) · [ไทย](./README.th.md) · [Türkçe](./README.tr.md) · **العربية** · [हिन्दी](./README.hi.md) · [Polski](./README.pl.md) · [Українська](./README.uk.md) + + +**لوحة ويب لإدارة خادم Mihomo** + +> **الإصدارات المستقرة أولاً:** التثبيت والتحديث يستخدمان الإصدارات الرسمية افتراضياً. + +خفيف ومستضاف ذاتياً. إدارة مستمعات ومستخدمي واشتراكات [Mihomo](https://github.com/MetaCubeX/mihomo) على 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) + +> التوثيق: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## الميزات + +| المجال | القدرات | +|------|------| +| **العُقد** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **المستخدمون** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **الاشتراكات** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **الإعدادات** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **التشغيل** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **العنقود** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## التثبيت + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +بعد التثبيت، حدّث باستخدام: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +اللوحة الافتراضية: `http://SERVER_IP:8080/` — المستخدم `admin`، كلمة مرور عشوائية لمرة واحدة (**غيّرها عند أول تسجيل دخول**). + +--- + +## البناء من المصدر + +```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 +``` + +ملفات ثابتة: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## شكر وتقدير + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +المساهمون: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## الترخيص + +[Eclipse Public License 2.0](./LICENSE) + +إشعارات الطرف الثالث: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.de.md b/README.de.md new file mode 100644 index 0000000..79351eb --- /dev/null +++ b/README.de.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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.ru.md) · [Português (Brasil)](./README.pt-BR.md) · [Tiếng Việt](./README.vi.md) · [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) + + +**Web-Verwaltungspanel für Mihomo-Server** + +> **Stable first:** Installation und Update nutzen standardmäßig formale Releases. + +Leichtgewichtig und selbst gehostet. Verwalten Sie [Mihomo](https://github.com/MetaCubeX/mihomo)-Listener, Benutzer, Abonnements und Laufzeitstatus unter 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) + +> Dokumentation: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Funktionen + +| Bereich | Fähigkeiten | +|------|------| +| **Knoten** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Benutzer** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Abonnements** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Konfiguration** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Betrieb** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Cluster** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Installation + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Nach der Installation aktualisieren mit: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Standardpanel: `http://SERVER_IP:8080/` — Benutzer `admin`, einmaliges Zufallskennwort (**beim ersten Login ändern**). + +--- + +## Aus Quellcode bauen + +```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 +``` + +Statische Binaries: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Danksagungen + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Mitwirkende: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Lizenz + +[Eclipse Public License 2.0](./LICENSE) + +Drittanbieter: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..5445ff1 --- /dev/null +++ b/README.en.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> Languages / 语言: [README](./README.md) · **English** · [简体中文](./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](./README.vi.md) · [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) + + +**Mihomo server web management panel** + +> **Stable first:** install and update use formal releases by default. Pre-releases require an explicit choice. Full bundles and Docker images ship a pinned Mihomo core — see [installation docs](https://3m-ui.top/docs/install.html). + +Lightweight and self-hosted. Manage [Mihomo](https://github.com/MetaCubeX/mihomo) listeners, users, subscriptions, and runtime status on 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) + +> Documentation: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Features + +| Area | Capabilities | +|------|------| +| **Nodes** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Users** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Subscriptions** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Config** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Ops** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Cluster** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Install + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +After install, update with: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Default panel: `http://SERVER_IP:8080/` — user `admin`, one-time random password printed at install (**change on first login**). + +--- + +## Build from source + +```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 +``` + +Static Linux binaries for multiple architectures are on [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Acknowledgements + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Contributors: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## License + +[Eclipse Public License 2.0](./LICENSE) + +Third-party notices: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.es.md b/README.es.md new file mode 100644 index 0000000..07fee8c --- /dev/null +++ b/README.es.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> Languages / 语言: [README](./README.md) · [English](./README.en.md) · [简体中文](./README.zh-CN.md) · [繁體中文](./README.zh-TW.md) · [日本語](./README.ja.md) · [한국어](./README.ko.md) · **Español** · [Français](./README.fr.md) · [Deutsch](./README.de.md) · [Русский](./README.ru.md) · [Português (Brasil)](./README.pt-BR.md) · [Tiếng Việt](./README.vi.md) · [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) + + +**Panel web de administración para servidores Mihomo** + +> **Estable primero:** instalación y actualización usan releases formales por defecto. Las pre-releases requieren elección explícita. + +Ligero y autoalojado. Gestiona listeners, usuarios, suscripciones y estado de [Mihomo](https://github.com/MetaCubeX/mihomo) en 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) + +> Documentación: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Funciones + +| Área | Capacidades | +|------|------| +| **Nodos** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Usuarios** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Suscripciones** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Configuración** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Operaciones** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Clúster** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Instalación + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Tras instalar, actualizar con: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Panel por defecto: `http://SERVER_IP:8080/` — usuario `admin`, contraseña aleatoria de un solo uso (**cámbiela en el primer inicio**). + +--- + +## Compilar desde el código + +```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 +``` + +Binarios estáticos en [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Agradecimientos + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Colaboradores: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Licencia + +[Eclipse Public License 2.0](./LICENSE) + +Avisos de terceros: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.fr.md b/README.fr.md new file mode 100644 index 0000000..1e608f3 --- /dev/null +++ b/README.fr.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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** · [Deutsch](./README.de.md) · [Русский](./README.ru.md) · [Português (Brasil)](./README.pt-BR.md) · [Tiếng Việt](./README.vi.md) · [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) + + +**Panneau web d’administration pour serveur Mihomo** + +> **Version stable d’abord :** installation et mise à jour utilisent les releases officielles par défaut. + +Léger et auto-hébergé. Gérez les listeners, utilisateurs, abonnements et l’état de [Mihomo](https://github.com/MetaCubeX/mihomo) sous 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) + +> Documentation: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Fonctionnalités + +| Domaine | Capacités | +|------|------| +| **Nœuds** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Utilisateurs** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Abonnements** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Configuration** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Exploitation** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Cluster** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Installation + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Après installation, mettre à jour avec : + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Panneau par défaut : `http://SERVER_IP:8080/` — utilisateur `admin`, mot de passe aléatoire unique (**à changer à la première connexion**). + +--- + +## Compiler depuis les sources + +```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 +``` + +Binaires statiques : [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Remerciements + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Contributeurs: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Licence + +[Eclipse Public License 2.0](./LICENSE) + +Mentions tierces : [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.hi.md b/README.hi.md new file mode 100644 index 0000000..b3acdfd --- /dev/null +++ b/README.hi.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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](./README.vi.md) · [Bahasa Indonesia](./README.id.md) · [ไทย](./README.th.md) · [Türkçe](./README.tr.md) · [العربية](./README.ar.md) · **हिन्दी** · [Polski](./README.pl.md) · [Українська](./README.uk.md) + + +**Mihomo सर्वर के लिए वेब प्रबंधन पैनल** + +> **पहले स्थिर रिलीज़:** इंस्टॉल/अपडेट डिफ़ॉल्ट रूप से औपचारिक रिलीज़ उपयोग करते हैं। + +हल्का, स्व-होस्टेड। Linux पर [Mihomo](https://github.com/MetaCubeX/mihomo) listeners, उपयोगकर्ता, सब्सक्रिप्शन और स्थिति प्रबंधित करें। + +[![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) + +> दस्तावेज़: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## विशेषताएँ + +| क्षेत्र | क्षमताएँ | +|------|------| +| **नोड्स** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **उपयोगकर्ता** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **सब्सक्रिप्शन** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **कॉन्फ़िग** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **ऑप्स** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **क्लस्टर** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## इंस्टॉल + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +इंस्टॉल के बाद अपडेट: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +डिफ़ॉल्ट पैनल: `http://SERVER_IP:8080/` — उपयोगकर्ता `admin`, एक-बार यादृच्छिक पासवर्ड (**पहली लॉगिन पर बदलें**). + +--- + +## स्रोत से बिल्ड + +```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 +``` + +स्टैटिक बाइनरी: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## आभार + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +योगदानकर्ता: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## लाइसेंस + +[Eclipse Public License 2.0](./LICENSE) + +तृतीय-पक्ष सूचनाएँ: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.id.md b/README.id.md new file mode 100644 index 0000000..a2e3090 --- /dev/null +++ b/README.id.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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](./README.vi.md) · **Bahasa Indonesia** · [ไทย](./README.th.md) · [Türkçe](./README.tr.md) · [العربية](./README.ar.md) · [हिन्दी](./README.hi.md) · [Polski](./README.pl.md) · [Українська](./README.uk.md) + + +**Panel web manajemen server Mihomo** + +> **Stabil dulu:** instalasi dan pembaruan default memakai rilis formal. + +Ringan dan self-hosted. Kelola listener, pengguna, langganan, dan status [Mihomo](https://github.com/MetaCubeX/mihomo) di 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) + +> Dokumentasi: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Fitur + +| Area | Kemampuan | +|------|------| +| **Node** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Pengguna** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Langganan** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Konfigurasi** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Operasi** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Klaster** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Instalasi + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Setelah instal, perbarui dengan: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Panel default: `http://SERVER_IP:8080/` — user `admin`, kata sandi acak sekali pakai (**ubah saat login pertama**). + +--- + +## Build dari sumber + +```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 +``` + +Biner statis: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Ucapan terima kasih + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Kontributor: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Lisensi + +[Eclipse Public License 2.0](./LICENSE) + +Pemberitahuan pihak ketiga: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.ja.md b/README.ja.md new file mode 100644 index 0000000..4db6836 --- /dev/null +++ b/README.ja.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> Languages / 语言: [README](./README.md) · [English](./README.en.md) · [简体中文](./README.zh-CN.md) · [繁體中文](./README.zh-TW.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](./README.vi.md) · [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) + + +**Mihomo サーバー向け Web 管理パネル** + +> **安定版優先:** 既定のインストール/更新は正式 Release のみ。プレリリースは明示的に選択。詳細は [インストール](https://3m-ui.top/docs/install.html)。 + +軽量・セルフホスト。[Mihomo](https://github.com/MetaCubeX/mihomo) のリスナー、ユーザー、購読、稼働状態を 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) + +> ドキュメント: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## 機能 + +| 区分 | 内容 | +|------|------| +| **ノード** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **ユーザー** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **購読** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **設定** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **運用** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **クラスタ** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## インストール + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +インストール後の更新: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +既定パネル:`http://SERVER_IP:8080/` — ユーザー `admin`、初回はランダムパスワード(**初回ログインで変更**)。 + +--- + +## ソースからビルド + +```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 +``` + +各アーキテクチャの静的バイナリは [Releases](https://github.com/kazeyukiro/3m-ui/releases)。 + +--- + +## 謝辞 + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +貢献者: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## ライセンス + +[Eclipse Public License 2.0](./LICENSE) + +第三者通知:[THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md)。 diff --git a/README.ko.md b/README.ko.md new file mode 100644 index 0000000..c101b04 --- /dev/null +++ b/README.ko.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> Languages / 语言: [README](./README.md) · [English](./README.en.md) · [简体中文](./README.zh-CN.md) · [繁體中文](./README.zh-TW.md) · [日本語](./README.ja.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](./README.vi.md) · [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) + + +**Mihomo 서버 웹 관리 패널** + +> **안정판 우선:** 기본 설치/업데이트는 정식 Release만 사용합니다. 사전 배포는 명시적 선택. [설치 문서](https://3m-ui.top/docs/install.html). + +가벼운 셀프호스팅 패널. Linux에서 [Mihomo](https://github.com/MetaCubeX/mihomo) 리스너·사용자·구독·상태를 관리합니다. + +[![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) + +> 문서: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## 기능 + +| 구분 | 기능 | +|------|------| +| **노드** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **사용자** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **구독** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **설정** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **운영** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **클러스터** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## 설치 + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +설치 후 업데이트: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +기본 패널: `http://SERVER_IP:8080/` — 사용자 `admin`, 일회성 무작위 비밀번호(**첫 로그인 시 변경**). + +--- + +## 소스 빌드 + +```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 +``` + +다중 아키텍처 정적 바이너리: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## 감사 + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +기여자: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## 라이선스 + +[Eclipse Public License 2.0](./LICENSE) + +서드파티: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.md b/README.md index 2c1c600..b3f28c4 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ 3m-ui logo

+> Languages / 语言: **README** · [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](./README.vi.md) · [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) + + **Mihomo 服务端 Web 管理面板** @@ -16,7 +19,7 @@ -> 文档站:[3m-ui-docs](https://github.com/kazeyukiro/3m-ui-docs) +> 文档:[https://3m-ui.top/docs/](https://3m-ui.top/docs/) · 官网:[https://3m-ui.top/](https://3m-ui.top/) --- @@ -182,43 +185,10 @@ JWT / 凭据密钥请使用独立随机值(≥ 32 字节),不要使用文 --- -## English -**3m-ui** is a lightweight, self-hosted web panel for managing a [Mihomo](https://github.com/MetaCubeX/mihomo) server: listeners, users, subscriptions, traffic, Telegram alerts, multi-node registry, and safe config apply/rollback. +--- -### Install +## English & other languages -```bash -curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh -``` +Full translations (18 languages): see the language links at the top, or open [README.en.md](./README.en.md). -Update after install: `sudo 3m-ui update` (optional tag: `sudo 3m-ui update v1.0.0`). - -Default panel: `http://SERVER_IP:8080/` — user `admin` with a randomly generated initial password, printed once (**change on first login**). Native bundles and Docker images include the pinned Mihomo core. See [installation, upgrade and recovery](docs/installation.md). - -### Build - -```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 -``` - -Static Linux binaries are published on the [Releases](https://github.com/kazeyukiro/3m-ui/releases) page for multiple architectures. - - -### Acknowledgements - -Special thanks to: - -- [Mihomo](https://github.com/MetaCubeX/mihomo) — core engine and listener model -- [clashmeta-inbound](https://github.com/Tychristine/clashmeta-inbound/) — listener examples and protocol references -- [3x-ui](https://github.com/MHSanaei/3x-ui) / [s-ui](https://github.com/alireza0/s-ui) — panel UX and ops 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), [Zustand](https://github.com/pmndrs/zustand), [golang-jwt/jwt](https://github.com/golang-jwt/jwt) -- The Go, Node.js, and wider open-source communities - -Contributors: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx). - -### License - -Eclipse Public License 2.0 — see [LICENSE](./LICENSE). diff --git a/README.pl.md b/README.pl.md new file mode 100644 index 0000000..d2064dd --- /dev/null +++ b/README.pl.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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](./README.vi.md) · [Bahasa Indonesia](./README.id.md) · [ไทย](./README.th.md) · [Türkçe](./README.tr.md) · [العربية](./README.ar.md) · [हिन्दी](./README.hi.md) · **Polski** · [Українська](./README.uk.md) + + +**Panel WWW do zarządzania serwerem Mihomo** + +> **Najpierw wersje stabilne:** instalacja i aktualizacja domyślnie używają oficjalnych release’ów. + +Lekki, self-hosted. Zarządzaj listenerami, użytkownikami, subskrypcjami i statusem [Mihomo](https://github.com/MetaCubeX/mihomo) na Linuxie. + +[![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) + +> Dokumentacja: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Funkcje + +| Obszar | Możliwości | +|------|------| +| **Węzły** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Użytkownicy** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Subskrypcje** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Konfiguracja** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Administracja** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Klaster** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Instalacja + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Po instalacji aktualizuj: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Domyślny panel: `http://SERVER_IP:8080/` — użytkownik `admin`, jednorazowe losowe hasło (**zmień przy pierwszym logowaniu**). + +--- + +## Kompilacja ze źródeł + +```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 +``` + +Binarne pliki statyczne: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Podziękowania + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Współtwórcy: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Licencja + +[Eclipse Public License 2.0](./LICENSE) + +Uwagi firm trzecich: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.pt-BR.md b/README.pt-BR.md new file mode 100644 index 0000000..184886d --- /dev/null +++ b/README.pt-BR.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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)** · [Tiếng Việt](./README.vi.md) · [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) + + +**Painel web de gerenciamento para servidor Mihomo** + +> **Estável primeiro:** instalação e atualização usam releases formais por padrão. + +Leve e auto-hospedado. Gerencie listeners, usuários, assinaturas e status do [Mihomo](https://github.com/MetaCubeX/mihomo) no 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) + +> Documentação: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Recursos + +| Área | Capacidades | +|------|------| +| **Nós** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Usuários** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Assinaturas** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Configuração** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Operações** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Cluster** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Instalação + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Após instalar, atualize com: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Painel padrão: `http://SERVER_IP:8080/` — usuário `admin`, senha aleatória única (**altere no primeiro login**). + +--- + +## Compilar do código + +```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 +``` + +Binários estáticos: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Agradecimentos + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Contribuidores: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Licença + +[Eclipse Public License 2.0](./LICENSE) + +Avisos de terceiros: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.ru.md b/README.ru.md new file mode 100644 index 0000000..381b6dd --- /dev/null +++ b/README.ru.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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) · **Русский** · [Português (Brasil)](./README.pt-BR.md) · [Tiếng Việt](./README.vi.md) · [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) + + +**Веб-панель управления сервером Mihomo** + +> **Сначала стабильные релизы:** установка и обновление по умолчанию берут formal releases. + +Лёгкая self-hosted панель. Управление listeners, пользователями, подписками и состоянием [Mihomo](https://github.com/MetaCubeX/mihomo) на 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) + +> Документация: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Возможности + +| Раздел | Описание | +|------|------| +| **Узлы** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Пользователи** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Подписки** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Конфиг** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Администрирование** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Кластер** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Установка + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Обновление после установки: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Панель по умолчанию: `http://SERVER_IP:8080/` — пользователь `admin`, одноразовый случайный пароль (**смените при первом входе**). + +--- + +## Сборка из исходников + +```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 +``` + +Статические бинарники: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Благодарности + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Участники: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Лицензия + +[Eclipse Public License 2.0](./LICENSE) + +Сторонние компоненты: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.th.md b/README.th.md new file mode 100644 index 0000000..9526cb6 --- /dev/null +++ b/README.th.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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](./README.vi.md) · [Bahasa Indonesia](./README.id.md) · **ไทย** · [Türkçe](./README.tr.md) · [العربية](./README.ar.md) · [हिन्दी](./README.hi.md) · [Polski](./README.pl.md) · [Українська](./README.uk.md) + + +**แผงควบคุมเว็บสำหรับเซิร์ฟเวอร์ Mihomo** + +> **เน้นรุ่นเสถียร:** ติดตั้งและอัปเดตเริ่มต้นใช้ release ทางการเท่านั้น + +น้ำหนักเบา self-hosted จัดการ listener ผู้ใช้ subscription และสถานะ [Mihomo](https://github.com/MetaCubeX/mihomo) บน 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) + +> เอกสาร: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## ฟีเจอร์ + +| หมวด | ความสามารถ | +|------|------| +| **โหนด** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **ผู้ใช้** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **สับสไครบ์** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **คอนฟิก** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **ดูแลระบบ** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **คลัสเตอร์** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## ติดตั้ง + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +หลังติดตั้ง อัปเดตด้วย: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +แผงเริ่มต้น: `http://SERVER_IP:8080/` — ผู้ใช้ `admin` รหัสผ่านสุ่มครั้งเดียว (**เปลี่ยนตอนเข้าสู่ระบบครั้งแรก**) + +--- + +## คอมไพล์จากซอร์ส + +```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 +``` + +ไบนารีสแตติก: [Releases](https://github.com/kazeyukiro/3m-ui/releases) + +--- + +## ขอบคุณ + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +ผู้มีส่วนร่วม: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## สัญญาอนุญาต + +[Eclipse Public License 2.0](./LICENSE) + +ประกาศบุคคลที่สาม: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md) diff --git a/README.tr.md b/README.tr.md new file mode 100644 index 0000000..38b5365 --- /dev/null +++ b/README.tr.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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](./README.vi.md) · [Bahasa Indonesia](./README.id.md) · [ไทย](./README.th.md) · **Türkçe** · [العربية](./README.ar.md) · [हिन्दी](./README.hi.md) · [Polski](./README.pl.md) · [Українська](./README.uk.md) + + +**Mihomo sunucusu için web yönetim paneli** + +> **Önce kararlı sürüm:** kurulum ve güncelleme varsayılan olarak resmi release kullanır. + +Hafif ve self-hosted. Linux üzerinde [Mihomo](https://github.com/MetaCubeX/mihomo) dinleyicileri, kullanıcılar, abonelikler ve durumu yönetin. + +[![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) + +> Belgeler: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Özellikler + +| Alan | Yetenekler | +|------|------| +| **Düğümler** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Kullanıcılar** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Abonelikler** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Yapılandırma** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **İşletim** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Küme** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Kurulum + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Kurulumdan sonra güncelleme: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Varsayılan panel: `http://SERVER_IP:8080/` — kullanıcı `admin`, tek kullanımlık rastgele parola (**ilk girişte değiştirin**). + +--- + +## Kaynaktan derleme + +```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 +``` + +Statik ikililer: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Teşekkürler + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Katkıda bulunanlar: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Lisans + +[Eclipse Public License 2.0](./LICENSE) + +Üçüncü taraf bildirimleri: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.uk.md b/README.uk.md new file mode 100644 index 0000000..95d15d4 --- /dev/null +++ b/README.uk.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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](./README.vi.md) · [Bahasa Indonesia](./README.id.md) · [ไทย](./README.th.md) · [Türkçe](./README.tr.md) · [العربية](./README.ar.md) · [हिन्दी](./README.hi.md) · [Polski](./README.pl.md) · **Українська** + + +**Веб-панель керування сервером Mihomo** + +> **Спочатку стабільні релізи:** встановлення й оновлення за замовчуванням беруть formal releases. + +Легка self-hosted панель. Керуйте listeners, користувачами, підписками та станом [Mihomo](https://github.com/MetaCubeX/mihomo) на 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) + +> Документація: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## Можливості + +| Розділ | Опис | +|------|------| +| **Вузли** | Protocol-registry listeners (VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC, …); REALITY target scan; TLS self-signed certs; transport field validation | +| **Користувачі** | Bind nodes, traffic limits, expiry, IP/HWID limits, batch ops, subscription tokens | +| **Підписки** | UA routing for Clash/Mihomo YAML, v2ray Base64, sing-box JSON; optional `?target=`; HTML info page | +| **Конфіг** | Generate → validate → apply; rollback previous `config.yaml` on failure | +| **Адміністрування** | Core start/stop/update, logs, dashboard metrics, Geo files, panel SSL/ACME, backup/restore | +| **Telegram** | Alerts and bot commands (token + chat IDs) | +| **Кластер** | Register remote panels, health checks, node mirror sync, merged subscriptions | + +--- + +## Встановлення + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +Після встановлення оновлюйте: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +Панель за замовчуванням: `http://SERVER_IP:8080/` — користувач `admin`, одноразовий випадковий пароль (**змініть під час першого входу**). + +--- + +## Збірка з джерел + +```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 +``` + +Статичні бінарники: [Releases](https://github.com/kazeyukiro/3m-ui/releases). + +--- + +## Подяки + +- [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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Учасники: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## Ліцензія + +[Eclipse Public License 2.0](./LICENSE) + +Сторонні компоненти: [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md). diff --git a/README.vi.md b/README.vi.md new file mode 100644 index 0000000..bf94128 --- /dev/null +++ b/README.vi.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> 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/HWID 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 | +| **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 --stable +# 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, GORM, React, Ant Design, Zustand, golang-jwt/jwt +- Go, Node.js, and the open-source community + +Người đóng góp: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## 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). diff --git a/README.zh-CN.md b/README.zh-CN.md new file mode 100644 index 0000000..13d4d99 --- /dev/null +++ b/README.zh-CN.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> Languages / 语言: [README](./README.md) · [English](./README.en.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](./README.vi.md) · [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) + + +**Mihomo 服务端 Web 管理面板** + +> **稳定版优先:** 默认安装和更新只使用正式 Release。预发布需主动选择。完整安装包及 Docker 镜像包含固定版本 Mihomo;详见 [安装文档](https://3m-ui.top/docs/install.html)。 + +轻量、自托管,用于在 Linux 上管理 [Mihomo](https://github.com/MetaCubeX/mihomo) Listener、用户、订阅与运行状态。 + +[![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) + +> 文档: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## 特性 + +| 类别 | 能力 | +|------|------| +| **节点** | 协议注册表驱动的 Listener:VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC / AnyTLS / Snell / ShadowQUIC 等;REALITY 目标扫描、TLS 自签、传输层字段校验 | +| **用户** | 绑定节点、流量限额、到期、IP/HWID 限制、批量操作、订阅 Token | +| **订阅** | UA 识别 Clash/Mihomo YAML、v2ray Base64、sing-box JSON;可选 `?target=`;HTML 订阅页 | +| **配置** | 生成 → 校验 → 应用;失败回滚上一份 `config.yaml` | +| **运维** | 核心启停/更新、日志、仪表盘、Geo、面板 SSL/ACME、备份恢复 | +| **Telegram** | 告警与管理命令(需 Token + Chat ID) | +| **多机** | 登记远程面板、健康检查、节点镜像同步、合并订阅 | + +--- + +## 安装 + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +安装后更新: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +默认面板:`http://服务器IP:8080/` — 用户 `admin`,安装时打印一次性随机密码(**首次登录请立即修改**)。 + +--- + +## 源码编译 + +```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 +``` + +多架构静态 Linux 二进制见 [Releases](https://github.com/kazeyukiro/3m-ui/releases)。 + +--- + +## 致谢 + +- [Mihomo](https://github.com/MetaCubeX/mihomo) — 核心引擎与 Listener 模型 +- [clashmeta-inbound](https://github.com/Tychristine/clashmeta-inbound/) — Listener 示例 +- [3x-ui](https://github.com/MHSanaei/3x-ui) / [s-ui](https://github.com/alireza0/s-ui) — 面板交互参考 +- Gin、GORM、React、Ant Design、Zustand、golang-jwt/jwt +- Go、Node.js 与开源社区 + +贡献者: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## 许可证 + +[Eclipse Public License 2.0](./LICENSE) + +第三方组件见 [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md)。 diff --git a/README.zh-TW.md b/README.zh-TW.md new file mode 100644 index 0000000..d3bd164 --- /dev/null +++ b/README.zh-TW.md @@ -0,0 +1,82 @@ +# 3m-ui + +

+ 3m-ui logo +

+ +> Languages / 语言: [README](./README.md) · [English](./README.en.md) · [简体中文](./README.zh-CN.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](./README.vi.md) · [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) + + +**Mihomo 服務端 Web 管理面板** + +> **穩定版優先:** 預設安裝與更新僅使用正式 Release。預發布需主動選擇。完整安裝包及 Docker 映像包含固定版本 Mihomo;詳見 [安裝文件](https://3m-ui.top/docs/install.html)。 + +輕量、自託管,用於在 Linux 上管理 [Mihomo](https://github.com/MetaCubeX/mihomo) Listener、使用者、訂閱與執行狀態。 + +[![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) + +> 文件: [https://3m-ui.top/docs/](https://3m-ui.top/docs/) · [Website](https://3m-ui.top/) + +--- + +## 功能 + +| 類別 | 能力 | +|------|------| +| **節點** | 協定登錄表驅動的 Listener(VLESS / VMess / Trojan / Shadowsocks / Hysteria2 / TUIC 等);REALITY 目標掃描、TLS 自簽、傳輸層欄位校驗 | +| **使用者** | 綁定節點、流量限額、到期、IP/HWID 限制、批次操作、訂閱 Token | +| **訂閱** | UA 識別 Clash/Mihomo YAML、v2ray Base64、sing-box JSON;可選 `?target=`;HTML 訂閱頁 | +| **設定** | 產生 → 校驗 → 套用;失敗回滾上一份 `config.yaml` | +| **維運** | 核心啟停/更新、日誌、儀表板、Geo、面板 SSL/ACME、備份還原 | +| **Telegram** | 告警与管理命令(需 Token + Chat ID) | +| **多機** | 登記遠端面板、健康檢查、節點鏡像同步、合併訂閱 | + +--- + +## 安裝 + +```bash +curl -fsSL https://raw.githubusercontent.com/kazeyukiro/3m-ui/main/scripts/install.sh | sudo sh +``` + +安裝後更新: + +```bash +sudo 3m-ui update --stable +# sudo 3m-ui update v1.0.2 +``` + +預設面板:`http://伺服器IP:8080/` — 使用者 `admin`,安裝時列印一次性隨機密碼(**首次登入請立即修改**)。 + +--- + +## 原始碼編譯 + +```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 +``` + +多架構靜態 Linux 二進位見 [Releases](https://github.com/kazeyukiro/3m-ui/releases)。 + +--- + +## 致謝 + +- [Mihomo](https://github.com/MetaCubeX/mihomo) — 核心引擎与 Listener 模型 +- [clashmeta-inbound](https://github.com/Tychristine/clashmeta-inbound/) — Listener 示例 +- [3x-ui](https://github.com/MHSanaei/3x-ui) / [s-ui](https://github.com/alireza0/s-ui) — 面板交互参考 +- Gin、GORM、React、Ant Design、Zustand、golang-jwt/jwt +- Go、Node.js 与开源社区 + +貢獻者: [kazeyukiro](https://github.com/kazeyukiro), [freephilx](https://github.com/freephilx) + +--- + +## 授權 + +[Eclipse Public License 2.0](./LICENSE) + +第三方元件見 [THIRD-PARTY-NOTICES.md](./THIRD-PARTY-NOTICES.md)。 diff --git a/scripts/3m-ui b/scripts/3m-ui index 3aac4ec..a8cf6b8 100644 --- a/scripts/3m-ui +++ b/scripts/3m-ui @@ -31,28 +31,28 @@ run_script() { menu() { while :; do printf '\n' - printf '%s\n' '╭────────────────────────────────────╮' - printf '%s\n' '│ 3m-ui 管理控制台 │' - printf '%s\n' '│ Mihomo Core Management UI │' - printf '%s\n' '╰────────────────────────────────────╯' + printf '%s\n' '╭──────────────────────────────────────────────╮' + printf '%s\n' '│ 3m-ui 管理控制台 / Management Console │' + printf '%s\n' '│ Mihomo Core Management UI │' + printf '%s\n' '╰──────────────────────────────────────────────╯' printf '\n' - printf '%s\n' ' 1. 安装 / 修复 3m-ui' - printf '%s\n' ' 2. 更新 3m-ui' - printf '%s\n' ' 3. 查看运行状态' - printf '%s\n' ' 4. 启动 3m-ui' - printf '%s\n' ' 5. 重启 3m-ui' - printf '%s\n' ' 6. 停止 3m-ui' - printf '%s\n' ' 7. 查看日志' - printf '%s\n' ' 8. 查看版本' - printf '%s\n' ' 9. 修改面板端口' - printf '%s\n' ' 10. 查看面板端口与 public_url' - printf '%s\n' ' 11. 重置管理员密码(随机生成,需改密登录)' - printf '%s\n' ' 12. 启用 BBR(Linux)' - printf '%s\n' ' 13. 更新 Geo 规则文件' - printf '%s\n' ' 14. 设置 public_url(订阅外网地址)' - printf '%s\n' ' a. 卸载 3m-ui' - printf '%s\n' ' 0. 退出' - printf '\n请选择: ' + printf '%s\n' ' 1. 安装/修复 | Install / Repair' + printf '%s\n' ' 2. 更新 | Update' + printf '%s\n' ' 3. 运行状态 | Status' + printf '%s\n' ' 4. 启动 | Start' + printf '%s\n' ' 5. 重启 | Restart' + printf '%s\n' ' 6. 停止 | Stop' + printf '%s\n' ' 7. 日志 | Logs' + printf '%s\n' ' 8. 版本 | Version' + printf '%s\n' ' 9. 修改面板端口 | Change panel port' + printf '%s\n' ' 10. 端口与 public_url | Port & public_url' + printf '%s\n' ' 11. 重置管理员密码 | Reset admin password' + printf '%s\n' ' 12. 启用 BBR | Enable BBR (Linux)' + printf '%s\n' ' 13. 更新 Geo | Update Geo rules' + printf '%s\n' ' 14. 设置 public_url | Set public_url' + printf '%s\n' ' a. 卸载 | Uninstall' + printf '%s\n' ' 0. 退出 | Exit' + printf '\n请选择 / Select: ' IFS= read -r choice || exit 0 case "$choice" in 1) run_script "$INSTALLER" ;;