Anywhere
2,495
Stars
267
Forks
17
Watchers
7
Open Issues
GPL-3.0
许可证
Swift
语言
2024-12-19
创建时间
2026-11-06
最近更新
项目能做什么
适用于 iOS、iPadOS、macOS 和 tvOS 的原生代理客户端。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center">
<div>
<a href="https://apps.apple.com/us/app/id6758235178">
<img width="100" height="100" alt="Anywhere" src="https://storage.argsment.com/Anywhere-AppIcon-iOS.png" />
</a>
</div>
# Anywhere
**The best native proxy client for iOS, iPadOS, and tvOS.**
A native, zero-dependency proxy client built entirely in Swift.
No Electron. No WebView. No sing-box wrapper. Pure protocol implementation from the ground up.
<div>
<a href="https://apps.apple.com/us/app/id6758235178">
<img width="128" src="https://storage.argsment.com/Download%20on%20the%20App%20Store.png" />
</a>
</div>
</div>
---
## Why Anywhere?
Most iOS proxy clients wrap sing-box or Xray-core in a Go/C++ bridge. Anywhere takes a different approach — every protocol, every transport, the QUIC stack, and the entire packet tunnel are implemented natively in Swift. The result is a smaller binary, lower memory usage, tighter system integration, and no bridging overhead.
## Features
### Highlights
- **Native core** — Swift 6 with strict concurrency, the native AnywhereIP TCP/IP stack, the native AnywhereQUIC engine, and native BLAKE2b and BLAKE3. No Go or C++ core, no bridging layer, no third-party networking engines. A single codebase builds the iOS, iPadOS, and tvOS apps, the packet tunnel, and the Control Center controls.
- **Native TLS stack** — TLS 1.2 and 1.3, client and server, implemented in Swift. Browser-exact ClientHello fingerprints for Chrome, Firefox, Safari, and Edge; Encrypted Client Hello from an inline configuration or from DNS HTTPS records; hybrid X25519 and ML-KEM key shares. The same stack terminates TLS for MITM and provides the handshake primitives for Reality.
- **Native QUIC stack** — AnywhereQUIC implemented in Swift, with BBR, CUBIC, and Brutal congestion control, connection migration, DATAGRAM frames, session resumption, and pluggable packet obfuscation. One engine serves Hysteria2, Nowhere, and XHTTP over HTTP/3.
- **Multi-stage routing** — a five-tier matcher built from domain-suffix tries, keyword automata, and CIDR tries classifies each destination at DNS time through synthetic addressing, at connect time before the TCP handshake is accepted, and again from the TLS SNI sniffed out of a TCP ClientHello or a QUIC Initial packet. Bundled service, ad-block, and country-bypass rule sets are complemented by importable and subscribable `.arrs` rule sets.
- **Built-in MITM** — HTTPS is terminated with a generated root CA. HTTP/1.1 and HTTP/2 traffic is rewritten by declarative rules or JavaScript, HTTP/2 clients are bridged to HTTP/1.1 upstreams, and script-initiated HTTP requests are dialled through the tunnel's own routing.
- **Modules** — a single `.amod` file bundles routing and MITM rule sets for a service into one importable, subscribable unit with its own switch, synced as one record so it is never seen half-updated.
- **Purify and DNS** — a QUIC policy that fails HTTP/3 fast so that routing and MITM act o
阅读完整原文
项目深度分析 AI 生成
高级功能增值买断/订阅 App(对标 Surge/Loon)
| 产品构想 | 基于已上架 App Store 的基础,推出 Pro 订阅或一次性买断,提供高级网络功能(高级 MITM 脚本执行、精细化多节点聚合负载均衡、iCloud 多设备深度同步配置、规则集自动更新维护等)。 |
| 核心功能 | 深度 MITM 脚本支持、多跳代理链(Proxy Chaining)、高级流量分析面板、自动化规则订阅同步、tvOS 增强控制。 |
| 目标用户 | 追求极致性能与电量控制的 iOS/tvOS 重度网络代理用户。 |
| 难度/周期 | 中等 · 1-2 个月 · 成本:极低(仅需 Apple 开发者账号 $99/年及基础更新成本) |
| 收费模式 | 应用内购买(IAP):订阅制(如 $9.99/年)或买断制(如 $19.99/永久)。 |
| 竞争风险 | 政策合规风险(中国区 App Store 下架甚至封号风险,需依赖非国区 App Store 运营);竞品生态已形成壁垒。 |
| 依据 | 已验证事实 |
纯 Swift 原生网络协议与隧道 SDK(B2B / 开发者授权)
| 产品构想 | 将仓库中完全自研的 Swift 6 纯原生网络栈(AnywhereIP TCP/IP 栈、AnywhereQUIC 引擎、VLESS/Hysteria2 协议实现)模块化,向需要轻量 Network Extension 的第三方商业 App 提供商用闭源 SDK 授权。 |
| 核心功能 | 低内存占用(严格契合 Network Extension 15MB 内存限制)、纯 Swift 6 零依赖库、全套现代代理协议支持、完备的抗弱网与重连调度。 |
| 目标用户 | 海外 VPN 服务商、跨国办公协同软件开发者、出海游戏/浏览器客户端开发团队。 |
| 难度/周期 | 高 · 3-6 个月 · 成本:低(主要为技术文档编写、CI/CD 维护与商务支持时间) |
| 收费模式 | 商业授权许可费(License 售卖,按项目收费或年费支持)。 |
| 竞争风险 | 市场客户基数较窄,B 端采购决策周期长,需要提供高水准的商业 SLA 支持。 |
| 依据 | AI推测 |
收费增强型规则与服务生态(Modules 商业化订阅)
| 产品构想 | 基于项目独有的 `.arrs` 规则集和 `.amod` 模块体系,搭建官方或合伙人形式的高品质网络重写/规则集生态服务(如深度广告拦截、海外流媒体精细化分流、隐私追踪拦截等)。 |
| 核心功能 | 一键订阅的 `.amod` 模块库、每日更新的高保真分流规则、流媒体自检与告警功能。 |
| 目标用户 | 不愿折腾复杂规则配置、追求即插即用去广告和流媒体解锁的普通消费者。 |
| 难度/周期 | 低 · 1 个月 · 成本:低(基础服务器分发流量费、测试节点租用费) |
| 收费模式 | 规则/模块增值服务订阅费(Patreon / 爱发电 / 官方订阅链接)。 |
| 竞争风险 | 开源社区规则易被搬运和白嫖,付费壁垒较低。 |
| 依据 | 尚需验证的假设 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2024-12-19,近 30 天仍在推送 |
| 社区活跃 | Star 2,495 / Fork 267 / Issue 7(数据支持,可自行核实) |
| 许可证 | GPL-3.0 商用需注意传染性条款 |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。