Skip to content

AntiNeko/CatBoxForAndroid

dev
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 15, 2023 22:21
app
September 24, 2023 13:41
September 24, 2023 13:42
April 8, 2023 12:46
September 24, 2023 14:27
August 23, 2023 11:58
March 15, 2023 00:00
September 24, 2023 15:27
March 15, 2023 00:00
March 15, 2023 00:00
March 15, 2023 00:00
March 15, 2023 00:00
March 15, 2023 00:00
September 15, 2023 22:21
March 15, 2023 00:00
run
March 15, 2023 00:00
March 18, 2023 13:21

CatBox for Android

API Releases License: GPL-3.0

sing-box / universal proxy toolchain for Android.

一款使用 sing-box 的 Android 通用代理软件。

改编自 NekoBoxForAndroid,移除了一些不令人喜欢的内容,改进了部分情况下的体验。

下载 / Downloads

GitHub Releases

GitHub All Releases

下载

F-Droid

Get it on F-Droid

F-Droid

Get it on IzzySoft

F-Droid(IzzySoft)

更改记录 & 发布频道 / Changelog & Telegram channel

https://t.me/AntiNek0

项目主页 & 文档 / Homepage & Documents

https://AntiNeko.github.io

代理 / Proxy

  • SOCKS (4/4a/5)
  • HTTP(S)
  • SSH
  • Shadowsocks
  • VMess
  • VLESS
  • WireGuard
  • Trojan
  • Trojan-Go ( trojan-go-plugin )
  • NaïveProxy ( naive-plugin )
  • Hysteria ( hysteria-plugin )
  • TUIC

请到这里下载插件。

Please visit here to download plugins.

订阅 / Subscription

  • Raw: some widely used formats (like shadowsocks, clash and v2rayN)
  • 原始格式:一些广泛使用的格式(如 shadowsocks、clash 和 v2rayN)

开发 / Development

编译

获取源代码

git clone https://github.com/AntiNeko/CatBoxForAndroid.git

libcore

环境:

  • java-8-openjdk
  • go (版本应尽可能新)

运行:

./run lib core

得到 app/libs/libcore.aar

目前需要使用 带有 -cache 选项的 gomobile 编译,如果 GOPATH 中不存在 gomobile 则会自动下载编译。

Dashboard

请确保已设置好正确的 Node 环境(pnpm 等)。

DASHBOARD_NAME=metacubexd # Or Yacd-meta
./run dashboard init $DASHBOARD_NAME

apk

环境:

  • jdk-17-openjdk
  • ndk 25.0.8775105

如果没有环境变量 $ANDROID_HOME$ANDROID_NDK_HOME 可以运行脚本 buildScript/init/env_ndk.sh

echo "sdk.dir=${ANDROID_HOME}" > local.properties
echo "ndk.dir=${ANDROID_HOME}/ndk/25.0.8775105" >> local.properties

签名准备(可选,建议编译后再签名):替换 release.keystore 为自己的。

export KEYSTORE_PASS=
export ALIAS_NAME=
export ALIAS_PASS=

以上这只是举例,实际使用请勿直接把密码信息放入环境变量,建议在编译后自行签名。

下载 geo 资源文件:

./run init action gradle

正式编译:

./gradlew app:assembleOssRelease

app/build/outputs/apk 得到 apk 文件。

Credits

Core:

Android GUI:

Web Dashboard:

About

CatBox is a universal proxy program for Android using sing-box. It was adapted from NekoBoxForAndroid, removing some unappealing content and improving the experience in some cases.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published