基于 SagerNet/sing-box-for-android 的非官方 Android 客户端,使用 FlClash v0.9.3 及其 prism_ui 的 Flutter 界面组件,后端保持 sing-box。项目独立维护,不代表上游的官方发布。
下载 APK:GitHub Releases(Android 7.0+,ARM64)。newui 的新界面与功能仍按提交验证;已有 Release 不等同于当前源码。
- Flutter 负责全部页面和导航,界面布局及组件来源见 FlClash UI 使用说明;启动器和 Android 分享入口均进入新界面。
- 配置使用 sing-box JSON。代理组、可选节点、测速和路由模式来自 libbox,自动组由内核选择。
- 支持 XHTTP(SplitHTTP)传输和 VLESS Encryption;配置、来源与验证范围。
- 工具页支持 WARP MASQUE 注册,注册节点直接写入当前所选配置;注册与协议说明。
- 保留 VPN、分应用代理、Root/Shizuku 应用查询、远程控制、连接管理和日志。
- 工具中的“连接与请求”支持连接管理、HTTP 抓取、HTTPS MITM、域名筛选、请求详情及 HAR/cURL 导出;支持范围和限制。
- JSON 配置支持 MITM、Map Remote、Header/URL/Body Rewrite、Map Local/API Mock 和 JavaScript 请求/响应改写;配置说明与示例。
- Tailscale、Taildrop、SSH、OpenConnect/OpenVPN 认证、USB/IP 和网络诊断通过新页面使用现有后端;报告后端及入口范围。
- 支持配置和设置备份;B-box 既有包名、数据库及配置保持兼容。
- 旧 Compose 页面、导航、编辑器及更新下载/静默安装链路已移除。关于页使用独立的 B-box Release 检查;配置订阅更新继续保留。
- Xposed/LSPosed 特权增强及 Android 5/6 支持已移除;兼容说明。
项目约束:AGENTS.md。核心差异:libbox.md。FlClash UI 使用情况及来源:flclash.md。Android 应用差异与构建发布:app.md。组件许可证:flutter/assets/licenses。
- 项目文档站:B-box 文档
- 上游文档:sing-box for Android
感谢以下开源项目提供源码、组件和实现参考:
- SagerNet/sing-box-for-android:Android 服务、数据与平台后端基础。
- SagerNet/sing-box:代理核心与 libbox 基础。
- FlClash 及 prism_ui:Flutter 界面组件来源。
- MiChongs/sing-box:XHTTP 与 VLESS Encryption 的移植源码来源。
- XTLS/Xray-core:XHTTP 与 VLESS Encryption 的协议实现参考。
- Throne:订阅节点提取、出站/端点分类及 WARP MASQUE 注册和传输的行为参考。
感谢 LINUX DO 社区的支持。
Copyright (C) 2022 by nekohasekai <contact-sagernet@sekai.icu>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
In addition, no derivative work may use the name or imply association
with this application without prior consent.
Under the license, that forks of the app are not allowed to be listed on F-Droid or other app stores under the original name.