Rockxy 正在积极开发中,即将发布第一个版本! 在 GitHub 上关注 →
开源 · Apache 2.0

macOS 原生网络调试代理

开源 HTTP 调试代理。在 Mac 上拦截、检查、重放和保存 API 流量。

面向开发者的本地调试工作站 · 免费开源 · macOS 14+ · Apple Silicon 原生 · 无云服务 · 无遥测

Rockxy — 127.0.0.1:9090
Domains
api.github.com
api.stripe.com
cdn.jsdelivr.net
fonts.googleapis.com
api.openai.com
sentry.io
auth0.com
Requests
200GET/v1/customers?limit=10
200POST/v1/payment_intents
404GET/v1/invoices/inv_abc123
200GET/v1/subscriptions
201POST/v1/checkout/sessions
500GET/v1/balance
200PUT/v1/customers/cus_xyz
Inspector
Headers Body Cookies Timing
Status404 Not Found
Content-Typeapplication/json
Servernginx/1.25.3
Duration142 ms
Size1.2 KB
Timing
DNS 8msTCP 12msTLS 24msTTFB 68msTransfer 30ms
Rockxy — 127.0.0.1:9090
Domains
api.github.com
api.stripe.com
cdn.jsdelivr.net
fonts.googleapis.com
api.openai.com
sentry.io
auth0.com
Requests
200GET/v1/customers?limit=10
200POST/v1/payment_intents
404GET/v1/invoices/inv_abc123
200GET/v1/subscriptions
201POST/v1/checkout/sessions
500GET/v1/balance
200PUT/v1/customers/cus_xyz
Inspector
Headers Body Cookies Timing
Status404 Not Found
Content-Typeapplication/json
Servernginx/1.25.3
Duration142 ms
Size1.2 KB
Timing
DNS 8msTCP 12msTLS 24msTTFB 68msTransfer 30ms

为 macOS 而生,
非移植而来。

SwiftUI 和 AppKit 构建,非 Electron。真正的 Mac 应用,真正的 Mac 性能。

原生性能

SwiftUI + AppKit,配合虚拟滚动 NSTableView,轻松处理 100k+ 请求。每 100ms 批量更新,确保高流量下 UI 流畅响应。

系统集成

SMAppService 特权助手即时设置系统代理。初始配置后无需终端命令。自动识别进程并显示真实应用图标。

安全设计

动态生成每个主机的 TLS 证书。根 CA 私钥存储在 macOS 钥匙串中。通过证书链对比验证 XPC 连接。

捕获。检查。修改。重放。

四步完成完整的调试工作流。

1

捕获

实时捕获 Mac 上任何应用的 HTTP、HTTPS、WebSocket 和 GraphQL-over-HTTP 流量。

2

检查

请求头、请求体、Cookies、时序瀑布图、TLS 证书。可折叠节点的 JSON 树视图。

3

修改

应用规则、设置断点,或编写 JavaScript 脚本实时修改请求和响应。

4

重放

重复请求、对比差异、保存会话,或导出为 HAR 和 cURL。

所有 HTTP 调试工具,一个原生应用。

五个核心工作流,每个都内置于原生 Mac 体验中。

流量捕获

拦截 macOS 上任何应用的 HTTP 和 HTTPS 流量。检查 WebSocket 帧并自动检测 GraphQL-over-HTTP 操作。

HTTP HTTPS 拦截 WebSocket GraphQL-over-HTTP 进程识别 时序瀑布图
Request List
#CodeMethodURLDurationSize
1200GETapi.github.com/repos/nickloc-dev/rockxy142ms4.2KB
2200POSTapi.stripe.com/v1/payment_intents89ms1.8KB
3404GETcdn.example.com/assets/logo.svg23ms0B
4200GETfonts.googleapis.com/css2?family=Inter34ms12KB
5500POSTapi.openai.com/v1/chat/completions2.1s156B
6101GETws.pusher.com/app/abc123?protocol=7
7200POSTapi.segment.io/v1/track67ms892B
7 requests3 domains19.2 KB total
Rules Engine
Rules Breakpoints
Map Localapi.stripe.com/*ON
Blockads.tracker.comON
Breakpoint*/api/v2/*ON
Map Remoteprod.api.com → localhost:3000OFF
Modify HeaderAdd X-Debug: trueON
+ Add Rule Import

规则和断点

使用有序规则重定向、阻止、限速或修改流量。通过断点暂停请求和响应,在转发前检查和编辑。

Map Local Map Remote 阻止 断点 限速 修改请求头

重放和对比

即时重复任何请求,或打开"编辑并重放"在发送前修改方法、URL、请求头和请求体。并排对比两个已捕获的事务。

重放 编辑并重放 并排对比 请求重放
Diff View
Diff GET /api/users — 200 vs 200
Original
Status200 OK
Duration142ms
Size4.2 KB
Servernginx
Cacheno-cache
Replayed
Status200 OK
Duration98ms
Size4.2 KB
Servernginx
Cachemax-age=3600
Session Export
Session: api-debug-2026-03-22 Saved
Transactions47
Duration3m 24s
Total Size2.8 MB
Format.rockxysession
Export As
HAR cURL Raw HTTP JSON

会话和导出

保存和打开原生 .rockxysession 文件。导入和导出 HAR 以实现跨工具兼容。将任何请求复制为 cURL、原始 HTTP 或 JSON。

.rockxysession HAR 导入 HAR 导出 复制为 cURL 复制为 JSON

JavaScript 脚本

编写脚本以编程方式检查、修改或过滤流量。附加请求和响应钩子,并获得超时和异常的内联错误反馈。

请求钩子 响应钩子 流量过滤 自动化
Script Editor
add-auth-header.js Active
1 async function onRequest(context, url, req) {
2   req.headers["Authorization"] =
3     "Bearer sk-test_abc123";
4   return req;
5 }
Matched: api.stripe.com/* Last run: 2s ago

Charles Proxy 和 Proxyman 的原生开源替代方案。

一分钟内启动运行。

三个步骤。无需配置文件。无需终端。

1

安装

下载并拖入应用程序文件夹。特权助手通过 SMAppService 自动注册。

2

信任证书

Rockxy 生成本地根 CA。一键安装到系统钥匙串。macOS 会提示您授权。

3

开始捕获

点击代理开关。系统 HTTP 和 HTTPS 代理自动配置到所有网络接口。

深受开发者喜爱

macOS 开发者对 Rockxy 的评价。

★★★★★

"Finally a proxy tool that feels native on macOS. The breakpoint editor alone saved me hours debugging our payment flow."

AC
Alex Chen
Senior iOS Engineer, Fintech Startup
★★★★★

"I switched from Charles Proxy and never looked back. The HAR export and request replay are exactly what I needed."

SK
Sarah Kim
Full-Stack Developer, Indie
★★★★★

"The rules engine is incredibly flexible. Map Local lets me test API changes without deploying — game changer for our team."

MR
Marcus Rivera
Backend Engineer, E-commerce
★★★★★

"WebSocket inspection that actually works. I can see every frame in real-time. Plus the JavaScript scripting is brilliant."

EL
Emma Lindqvist
Mobile Developer, Health Tech
★★★★★

"Finally a proxy tool that feels native on macOS. The breakpoint editor alone saved me hours debugging our payment flow."

AC
Alex Chen
Senior iOS Engineer, Fintech Startup
★★★★★

"I switched from Charles Proxy and never looked back. The HAR export and request replay are exactly what I needed."

SK
Sarah Kim
Full-Stack Developer, Indie
★★★★★

"The rules engine is incredibly flexible. Map Local lets me test API changes without deploying — game changer for our team."

MR
Marcus Rivera
Backend Engineer, E-commerce
★★★★★

"WebSocket inspection that actually works. I can see every frame in real-time. Plus the JavaScript scripting is brilliant."

EL
Emma Lindqvist
Mobile Developer, Health Tech
★★★★★

"Open source, no telemetry, no cloud dependency. Rockxy respects developer privacy in a way most tools don't."

JO
James O'Brien
DevOps Engineer, SaaS
★★★★★

"The diff view is perfect for comparing API responses before and after changes. Edit and Repeat saves so much time."

YT
Yuki Tanaka
API Engineer, Startup
★★★★★

"GraphQL-over-HTTP detection is automatic. I just see my queries and mutations organized instantly. No config needed."

PS
Priya Sharma
Frontend Developer, Agency
★★★★★

"The .rockxysession format lets me share exact debug sessions with teammates. Way better than screenshots of network tabs."

DM
David Müller
Platform Engineer, Fintech
★★★★★

"Open source, no telemetry, no cloud dependency. Rockxy respects developer privacy in a way most tools don't."

JO
James O'Brien
DevOps Engineer, SaaS
★★★★★

"The diff view is perfect for comparing API responses before and after changes. Edit and Repeat saves so much time."

YT
Yuki Tanaka
API Engineer, Startup
★★★★★

"GraphQL-over-HTTP detection is automatic. I just see my queries and mutations organized instantly. No config needed."

PS
Priya Sharma
Frontend Developer, Agency
★★★★★

"The .rockxysession format lets me share exact debug sessions with teammates. Way better than screenshots of network tabs."

DM
David Müller
Platform Engineer, Fintech

准备好调试了。

免费、开源,为您的 Mac 而生。