SkillAgentSearch skills...

Appproxy

基于flutter的Android vpn代理工具 Android VPN Proxy Tool Based on Flutter

Install / Use

/learn @ys1231/Appproxy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

appproxy

项目背景

  • 在分析app的时候,偶尔需要抓包,尝试了目前比较常见的代理工具
  • Drony Postern ProxyDroid 发现都有一个相同的问题,对于较新的Android系统不太友好,要么app列表显示不正常,或者界面过于复杂,往往设置之后经常会失效,偶然在play上发现一个比较新的代理工具,界面很不错清晰不过对国内用户不友好有些功能需要会员,即使花钱由于不维护或者网络原因,完整的功能无法使用于是在业余时间开发了这个.

项目简介

  1. 基于 fluttertun2socks开发.
  2. appproxy 是一个轻量级的VPN代理工具,支持HTTP, SOCKS5协议.
  3. 功能单只做代理,可分app代理, 双击修改配置 逻辑比较简单, 主打一个能用就行.
  4. 出于学习熟悉flutter的目的去做的,分享给大家,顺便帮我测试一下.
  5. 加上MoveCertificate 上下游都有了哈哈.
  6. 支持 Android 9 及以上版本, 低于 android 9 推荐使用 postern
  7. 支持 MCP 远程调用, ip 地址为手机 ip, 默认端口为 12345, 默认authappproxy
{
  "mcpServers": {
    "appproxy-mcp": {
      "type": "streamable-http",
      "url": "http://192.168.0.10:12345/mcp",
      "headers": {
        "Authorization": "Bearer appproxy"
      }
    }
  }
}

重要的事情说三遍

  • 双击修改配置
  • 双击修改配置
  • 双击修改配置

附上截图

Screenshot_20240604-205220

Screenshot_20240604-205910

Screenshot_20240604-205229

Screenshot_20240604-205148

Screenshot_20240604-205158

screenshot-20260327-205536

screenshot-20260327-205655

screenshot-20260328-185607

img.png

依赖项目

开发

build tun2socks

  • touch btun2socks.sh
#!/bin/zsh
set -x
cd tun2socks
TUN2SOCKS_DIR="${0:a:h}"
cd $TUN2SOCKS_DIR
go get
go install golang.org/x/mobile/cmd/gomobile@latest
go get golang.org/x/mobile/bind
go get
make
gomobile init
# 兼容 Android 9
gomobile bind -o ../android/app/libs/tun2socks.aar -target android -androidapi 28 ./engine
ls ../android/app/libs/tun2socks.aar
# 如果发现Android Studio 调试flutter 自动跳到一个只读的文件,调试的时候无法修改代码,可以恢复上一个版本,是的坑.
# 推荐 "Android Studio Iguana | 2023.2.1 Patch 2" -> "Android Studio Meerkat | 2024.3.1 Patch 1"
# line 设置为 100
tun2socks/build.sh
flutter build apk --release --split-per-abi --build-name=$VERSION --dart-define=BUILD_DATE=$(date +%Y-%m-%d) --obfuscate --split-debug-info ./build/

flutter shorebird 热更新

  • appproxy 已经绑定可强制更新 app_id
# linux && mac
curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | bash
# windows
# Set-ExecutionPolicy RemoteSigned -scope CurrentUser
# iwr -UseBasicParsing 'https://raw.githubusercontent.com/shorebirdtech/install/main/install.ps1'|iex

# 官网注册
https://console.shorebird.dev/login
# shell 登录
shorebird login
# 初始化项目 在 flutter 项目下执行即可
shorebird init
# 编译
shorebird release -p android --artifact apk 
# 打补丁
shorebird patch --platforms=android

Star History

Star History Chart

免责声明

  • 本程序仅用于学习交流, 请勿用于非法用途.
View on GitHub
GitHub Stars576
CategoryDevelopment
Updated9h ago
Forks95

Languages

Dart

Security Score

100/100

Audited on Mar 28, 2026

No findings