From cc0c945811282f96cfaaf23dc507099ebb90c410 Mon Sep 17 00:00:00 2001 From: Lemon-miaow Date: Sun, 12 Jul 2026 04:37:11 +0800 Subject: [PATCH] docs: Update README.md --- README.md | 59 ++++++++++++++++++---------------------------------- README_EN.md | 51 +++++++++++++++------------------------------ 2 files changed, 37 insertions(+), 73 deletions(-) diff --git a/README.md b/README.md index 9ae310e..d51ca9f 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Felis -一个 Kubernetes 驱动的 Minecraft 服务器托管平台,一行命令部署,自动管理服务器启动、备份与安全。 +一款 Kubernetes 驱动的 Minecraft 服务器托管平台,一行命令部署,自动管理生命周期与安全。 A Kubernetes-driven Minecraft server hosting platform — one command to deploy, automatic lifecycle, backup, and security. [简体中文](README.md) | [English](README_EN.md) -## 目录 +目录 - [特性](#特性) - [使用方式](#使用方式) @@ -15,44 +15,24 @@ A Kubernetes-driven Minecraft server hosting platform — one command to deploy, ## 特性 -- **即开即玩**:玩家连接服务器时自动启动,空闲后自动停止,像休眠一样省资源。 -- **Web 控制面板**:浏览器中查看服务器状态、管理备份、审批模组包、管理玩家账号。 -- **自动备份与恢复**:定时打包世界存档,支持从任意备份点一键恢复。 -- **智慧回收**:超过 15 天无人游玩的世界自动备份后删除,不浪费磁盘。 -- **多核心支持**:兼容 Paper、Fabric、Forge、NeoForge,通过 Velocity 代理统一入口。 -- **模组自助提交**:玩家可自行上传模组包,服主审批通过后自动构建并部署。 +- **即开即玩**:玩家尝试连接时自动唤醒服务器,空闲后自动休眠,像游戏主机一样省资源。 +- **Web 控制面板**:浏览器中查看服务器状态、在线玩家与资源用量,管理备份与恢复。 +- **自动备份与恢复**:定时将世界打包存档,支持从任意备份点一键回滚。 +- **智慧回收**:超过 15 天无人游玩的世界自动备份后删除,释放磁盘空间。 +- **多核心支持**:兼容 Paper、Fabric、Forge、NeoForge,经由 Velocity 代理统一入口。 +- **模组自助提交**:玩家自行上传模组包,服主审批通过后自动构建并部署。 - **Passkey 登录**:支持指纹、面容、硬件密钥等无密码认证方式。 -- **零信任安全**:基于 Cloudflare Zero Trust 架构,面板流量由 Cloudflare Access 保护,集群内 API 不暴露到公网。 +- **零信任安全**:面板流量由 Cloudflare Access 保护,集群内 API 不暴露到公网。 ## 使用方式 -### 环境要求 - -- Linux 主机(amd64,Kernel ≥ 5.4) -- 4 GB 内存起步,推荐 8 GB -- 20 GB 磁盘起步 -- root 或 sudo 权限 - -### 一键安装 - 在准备好的 Linux 主机上执行: ```bash curl -fsSL https://raw.githubusercontent.com/MliroLirrorsIngenuity/Felis/main/deploy/bootstrap.sh | sudo bash ``` -脚本会自动安装 K3s 集群,部署 Felis 控制平面,并启动 TUI 设置向导引导你完成域名、管理员账号等初始配置。 - -### 创建服务器 - -1. 打开浏览器访问配置的域名,登录控制面板 -2. 进入「服务器」页面,点击「创建服务器」 -3. 选择核心类型和版本,设置内存上限和子域名 -4. 点击创建,系统自动构建镜像并启动 - -### 玩家入驻 - -玩家在 Minecraft 客户端中添加 Velocity 代理地址即可进入大厅。使用 `/link` 命令获取绑定码,在面板中完成账号绑定。 +脚本将自动安装 K3s、部署控制平面并启动设置向导。完成后浏览器访问已配置的域名进入控制面板即可使用。 ## 从源码构建 @@ -62,7 +42,7 @@ curl -fsSL https://raw.githubusercontent.com/MliroLirrorsIngenuity/Felis/main/de # 后端(Go 1.26+) go build -o felis ./cmd/felis -# 前端面板(Node.js 22+) +# 前端(Node.js 22+) cd panel npm ci npm run build @@ -71,8 +51,6 @@ npm run build docker build -t felis:custom . ``` -更多开发细节请参阅 [CONTRIBUTING.md](./CONTRIBUTING.md)。 - ## 开源协议 本项目代码部分遵循 MIT License 开源协议。 @@ -84,9 +62,12 @@ docker build -t felis:custom . ## 致谢 -- [Kubernetes](https://kubernetes.io/) / [K3s](https://k3s.io/) —— 底层编排引擎 -- [Cloudflare Zero Trust](https://www.cloudflare.com/zero-trust/) —— 零信任安全基础设施 -- [PostgreSQL](https://www.postgresql.org/) —— 数据持久化 -- [React](https://react.dev/) + [Vite](https://vitejs.dev/) + [TailwindCSS](https://tailwindcss.com/) —— 前端技术栈 -- [Bubble Tea](https://github.com/charmbracelet/bubbletea) —— TUI 框架 -- [Minecraft](https://www.minecraft.net/) —— 让这一切值得做 +- [Kubernetes](https://kubernetes.io/):底层容器编排引擎 +- [K3s](https://k3s.io/):轻量级 Kubernetes 发行版 +- [Cloudflare Zero Trust](https://www.cloudflare.com/zero-trust/):零信任安全基础设施 +- [PostgreSQL](https://www.postgresql.org/):数据持久化 +- [React](https://react.dev/):前端用户界面框架 +- [Vite](https://vitejs.dev/):前端构建工具 +- [TailwindCSS](https://tailwindcss.com/):CSS 框架 +- [Bubble Tea](https://github.com/charmbracelet/bubbletea):TUI 框架 +- [Minecraft](https://www.minecraft.net/):让这一切值得做 diff --git a/README_EN.md b/README_EN.md index 0bcad46..65853b7 100644 --- a/README_EN.md +++ b/README_EN.md @@ -1,11 +1,11 @@ # Felis A Kubernetes-driven Minecraft server hosting platform — one command to deploy, automatic lifecycle, backup, and security. -一个 Kubernetes 驱动的 Minecraft 服务器托管平台,一行命令部署,自动管理服务器启动、备份与安全。 +一款 Kubernetes 驱动的 Minecraft 服务器托管平台,一行命令部署,自动管理生命周期与安全。 [简体中文](README.md) | [English](README_EN.md) -## Table of Contents +Table of Contents - [Features](#features) - [Getting Started](#getting-started) @@ -16,41 +16,23 @@ A Kubernetes-driven Minecraft server hosting platform — one command to deploy, ## Features - **Wake on Join**: Servers start automatically when a player connects, and stop when idle — like hibernate for your server. -- **Web Dashboard**: Monitor server status, manage backups, approve modpack submissions, and manage player accounts from your browser. -- **Auto Backup & Restore**: Scheduled world backups with one-click restore from any backup point. +- **Web Dashboard**: Monitor server status, online players, and resource usage from your browser, with backup and restore management. +- **Auto Backup & Restore**: Scheduled world backups with one-click rollback from any backup point. - **World Reaper**: Worlds idle for more than 15 days are automatically backed up and removed to free disk space. - **Multi-core Support**: Compatible with Paper, Fabric, Forge, and NeoForge, federated behind a Velocity proxy. - **Modpack Submission**: Players submit custom modpacks; admin approval triggers automatic build and deployment. - **Passkey Login**: Passwordless authentication via fingerprint, face recognition, or hardware security keys. -- **Zero Trust Security**: Cloudflare Access JWT + Tunnel secures the panel; the internal API is never exposed to the internet. +- **Zero Trust Security**: Panel traffic protected by Cloudflare Access; the internal API is never exposed to the internet. ## Getting Started -### Requirements - -- Linux host (amd64, Kernel ≥ 5.4) -- 4 GB RAM minimum, 8 GB recommended -- 20 GB disk minimum -- root or sudo privileges - -### One-command Install +On a prepared Linux host, run: ```bash curl -fsSL https://raw.githubusercontent.com/MliroLirrorsIngenuity/Felis/main/deploy/bootstrap.sh | sudo bash ``` -The script automatically installs K3s, deploys the Felis control plane, and launches a TUI setup wizard to guide you through domain configuration, admin account setup, and more. - -### Creating a Server - -1. Open your browser and navigate to the configured domain -2. Go to the Servers page and click "Create Server" -3. Choose the core type and version, set memory limits and subdomain -4. Click create — the system auto-builds the image and launches the server - -### Player Onboarding - -Players add the Velocity proxy address to their Minecraft client to join the lobby. Use the `/link` command to get a binding code, then complete account linking in the dashboard. +The script installs K3s, deploys the control plane, and launches a setup wizard. Once done, open your browser at the configured domain. ## Build from Source @@ -60,7 +42,7 @@ Felis is built with Go and Node.js: # Backend (Go 1.26+) go build -o felis ./cmd/felis -# Frontend panel (Node.js 22+) +# Frontend (Node.js 22+) cd panel npm ci npm run build @@ -69,8 +51,6 @@ npm run build docker build -t felis:custom . ``` -See [CONTRIBUTING.md](./CONTRIBUTING.md) for more details. - ## License The source code is released under the MIT License. @@ -82,9 +62,12 @@ The source code is released under the MIT License. ## Acknowledgements -- [Kubernetes](https://kubernetes.io/) / [K3s](https://k3s.io/) — the underlying orchestration engine -- [Cloudflare Zero Trust](https://www.cloudflare.com/zero-trust/) — zero trust security infrastructure -- [PostgreSQL](https://www.postgresql.org/) — data persistence -- [React](https://react.dev/) + [Vite](https://vitejs.dev/) + [TailwindCSS](https://tailwindcss.com/) — frontend stack -- [Bubble Tea](https://github.com/charmbracelet/bubbletea) — TUI framework -- [Minecraft](https://www.minecraft.net/) — what makes this all worthwhile +- [Kubernetes](https://kubernetes.io/): Container orchestration engine +- [K3s](https://k3s.io/): Lightweight Kubernetes distribution +- [Cloudflare Zero Trust](https://www.cloudflare.com/zero-trust/): Zero trust security infrastructure +- [PostgreSQL](https://www.postgresql.org/): Data persistence +- [React](https://react.dev/): User interface framework +- [Vite](https://vitejs.dev/): Frontend build tool +- [TailwindCSS](https://tailwindcss.com/): CSS framework +- [Bubble Tea](https://github.com/charmbracelet/bubbletea): TUI framework +- [Minecraft](https://www.minecraft.net/): What makes this all worthwhile