orange-cloud
A native Cloudflare client for iPhone, iPad & Apple Watch — sign in with OAuth, no API tokens to paste.
Website · Privacy · Terms · TestFlight (beta)
English
Orange Cloud is a third-party Cloudflare management app for iPhone, iPad, and Apple Watch, built entirely with Swift and SwiftUI. Unlike other clients, it signs you in through Cloudflare's official OAuth 2.0 + PKCE flow — there's no API token to copy and paste. The baseline is iOS 17, with iOS 18 / 26 capabilities layered on progressively on the devices that support them.
Features
- OAuth 2.0 + PKCE sign-in with per-scope permission selection; tokens live in the Keychain only, and multiple Cloudflare accounts can stay signed in side by side.
- Domains & DNS — zone list, full DNS record CRUD, one-tap proxy toggle, and zone settings.
- Analytics — zone traffic via the GraphQL Analytics API, rendered with Swift Charts (24-hour for free, 7-day / 30-day with Pro).
- Workers — script list and details, plus real-time log streaming (
wrangler tail-style WebSocket trace) with a Live Activity on the Lock Screen and in the Dynamic Island. - Snippets — view, edit, and create zone-level Cloudflare edge code and its trigger rules.
- Storage — R2 bucket and object browsing, D1 SQL console, and KV key-value management.
- Security & network — WAF custom rules (view / toggle) and Cloudflare Tunnel status.
- Apple Watch app — your domains and 24-hour requests on your wrist, with watch-face complications.
- Deep system integration — Home Screen and Lock Screen widgets, Control Center controls, Siri / App Intents, Spotlight indexing, background token refresh, and an iPad split-view layout.
- Localized in 9 languages: English, 简体中文, 繁體中文(台灣), 繁體中文(香港), 日本語, Español (México), 한국어, Português (Brasil), and Português (Portugal).
Free, Pro, and open source
The app is free with a single account and the complete Domains / DNS toolset. A Pro subscription — or a one-time purchase — in the official App Store build unlocks multiple accounts, the Storage tab (R2 / D1 / KV), live Workers logs, WAF, Tunnel, Snippets, and 7-day / 30-day analytics. Every Home Screen and Lock Screen widget, the Apple Watch app, and all Siri shortcuts stay free.
This repository is licensed under AGPL-3.0 + Commons Clause. You're free to build the app for yourself — adding the OPENSOURCE_UNLOCKED compilation condition unlocks every Pro feature in your own build at no cost. The Commons Clause only forbids selling the software commercially; everything else the AGPL allows. See LICENSE, TRADEMARK.md, and CLA.md for the details.
Repository layout
orange-cloud/
├── apps/
│ ├── ios/ # The iOS / iPadOS / watchOS app (Swift / SwiftUI, Xcode project)
│ ├── android/ # The Android client (Kotlin / Jetpack Compose) — in active development
│ └── web/ # Landing page + OAuth callback relay (Next.js on Cloudflare Workers)
├── package.json # pnpm workspaces root
└── turbo.json
An Android client — native Kotlin + Jetpack Compose, same design and value as iOS — lives in
apps/android/and is in active development (not yet published to Google Play).
Building from source
- Xcode 26 or later. Open
apps/ios/Orange Cloud/Orange Cloud.xcodeproj. The app targets iOS 17 and watchOS 10.6, with an embedded Apple Watch companion app. - Create your own Cloudflare OAuth client and deploy your own callback relay (see
apps/web/) — the official client ID and theorange-cloud.chatiro.apprelay are not available to third-party builds. - Add
OPENSOURCE_UNLOCKEDto the main target'sSWIFT_ACTIVE_COMPILATION_CONDITIONSfor the full feature set. - Change the Bundle ID, App Group, and signing team to your own.
Full details, including the contribution workflow and CLA, are in CONTRIBUTING.md.
中文
Orange Cloud 是一款面向 iPhone、iPad 与 Apple Watch 的 Cloudflare 第三方管理客户端,完全使用 Swift 与 SwiftUI 构建。与其他客户端不同,它通过 Cloudflare 官方 OAuth 2.0 + PKCE 流程登录——无需手动复制粘贴 API Token。以 iOS 17 为基线,并在支持的设备上渐进增强 iOS 18 / 26 的新能力。
功能
- OAuth 2.0 + PKCE 登录,按 scope 勾选授权;Token 仅存 Keychain,支持多个 Cloudflare 账号并存切换。
- 域名与 DNS——域名列表、DNS 记录增删改查、一键代理开关、域名设置。
- 流量分析——基于 GraphQL Analytics API,用 Swift Charts 绘制图表(24 小时免费,7 天 / 30 天需 Pro)。
- Workers——脚本列表与详情,以及实时日志流(类似
wrangler tail的 WebSocket trace),配合锁屏与灵动岛 Live Activity。 - Snippets——查看、编辑、新建 zone 级 Cloudflare 边缘代码及其触发规则。
- 存储——R2 存储桶与对象浏览、D1 SQL 查询控制台、KV 键值管理。
- 安全与网络——WAF 自定义规则(查看 / 启停)与 Cloudflare 隧道状态。
- Apple Watch App——在手腕上查看域名与 24 小时请求,并支持表盘 complication。
- 系统深度集成——主屏与锁屏小组件、控制中心控件、Siri / App Intents、Spotlight 索引、后台 Token 静默刷新、iPad 双栏布局。
- 9 语言本地化:简体中文、繁體中文(台灣)、繁體中文(香港)、English、日本語、Español(墨西哥)、한국어、Português(巴西)、Português(葡萄牙)。
免费、Pro 与开源
App 免费版支持单账号与完整的域名 / DNS 功能。在 App Store 官方版中,Pro 订阅(或一次性买断)可解锁多账号、存储 Tab(R2 / D1 / KV)、Workers 实时日志、WAF、隧道、Snippets,以及 7 天 / 30 天流量分析。所有主屏与锁屏小组件、Apple Watch App 以及全部 Siri 捷径始终免费。
本仓库采用 AGPL-3.0 + Commons Clause 许可:自行编译自用完全自由——为自编译构建添加 OPENSOURCE_UNLOCKED 编译条件,即可零成本解锁全部 Pro 功能。Commons Clause 仅限制将本软件用于商业销售,AGPL 允许的其余权利不受影响。详见 LICENSE、TRADEMARK.md 与 CLA.md。
仓库结构
orange-cloud/
├── apps/
│ ├── ios/ # iOS / iPadOS / watchOS App(Swift / SwiftUI,Xcode 工程)
│ ├── android/ # Android 客户端(Kotlin / Jetpack Compose)——开发中
│ └── web/ # 落地页 + OAuth 回调中转(Next.js on Cloudflare Workers)
├── package.json # pnpm workspaces 根
└── turbo.json
Android 客户端——原生 Kotlin + Jetpack Compose,与 iOS 同源的设计与价值——位于
apps/android/,正在开发中(尚未上架 Google Play)。
自行编译
- Xcode 26 或更高版本,打开
apps/ios/Orange Cloud/Orange Cloud.xcodeproj。App 面向 iOS 17 与 watchOS 10.6,并内嵌 Apple Watch 配套 App。 - 自建 Cloudflare OAuth Client 并部署你自己的回调中转(见
apps/web/)——官方 Client ID 与orange-cloud.chatiro.app中转不向第三方构建开放。 - 向主 target 的
SWIFT_ACTIVE_COMPILATION_CONDITIONS添加OPENSOURCE_UNLOCKED以解锁全部功能。 - 将 Bundle ID、App Group 与签名团队改为你自己的。
贡献流程与 CLA 详见 CONTRIBUTING.md。
© 2026 chen2he · AGPL-3.0 + Commons Clause
