TreeMap
A free, open-source disk-space visualizer. Squarified treemap, duplicate hunting, disk-full forecasting, and cleanup that only ever moves files to the Trash.
Pelu 把 Mac 上 Claude Code 與 Codex 的用量,即時同步到你的 iPhone、Widget 與動態島。多台 Mac 自動整合為最新用量,資料只存在你自己的 iCloud。
Translation pending
ProductivitySwift · PythonGitHub @TobyWu666OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
iPhone usage signal for Claude Code & Codex (Mac menu bar + iOS app)
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
把 Mac 上 Claude Code 與 Codex 的用量配額,即時同步到 iPhone 主畫面、Widget 與動態島。 全部透過使用者自己的 iCloud Private Database 同步——沒有 Pelu 後端、沒有帳號註冊、沒有配對流程。Mac 和 iPhone 登入同一個 iCloud 帳號就會自動同步。 官方網站: / iPhone App:App Store「Pelu」/ Mac App: / iPhone App • Dashboard:Claude Code 與 Codex 的即時配額視窗、reset 倒數(依 provider 回傳的週期顯示) • 多 Mac 聚合:同一個 iCloud 帳號裝多台 Mac 時,自動聚合顯示(Claude 取用量最高的那台,Codex 取最新一筆帳號層級量測) • 歷史紀錄:30 天用量紀錄與花費估算(gpt-5-codex API 等值計算) • 桌面 Widget:small / medium 兩種尺寸 • Live Activity:鎖屏與動態島即時顯示配額與 reset 倒數 • 通知:短期與每週 reset 提醒、低額度警告 • 斷線提示:超過 5 分鐘沒收到新資料會在 header 顯示「斷線」狀態Read the full README ↗
把 Mac 上 Claude Code 與 Codex 的用量配額,即時同步到 iPhone 主畫面、Widget 與動態島。
全部透過使用者自己的 iCloud Private Database 同步——沒有 Pelu 後端、沒有帳號註冊、沒有配對流程。Mac 和 iPhone 登入同一個 iCloud 帳號就會自動同步。
官方網站:https://pelu.wutoby.com / iPhone App:App Store「Pelu」/ Mac App:https://github.com/TobyWu666/pelu-releases/releases/latest /
┌──────────────────────────────────────────────────┐
│ Mac │
│ │
│ Claude Code statusLine hook │
│ ↓ │
│ ~/.claude/usag-status.json │
│ │
│ Codex app-server RPC (主) │
│ ~/.codex/sessions/*.jsonl (備援) │
│ ↓ │
│ PeluMac │
│ ↓ │
│ CKDatabase.save(MacSnapshot) │
└────────────────────┬─────────────────────────────┘
↓
┌─────────────────────────┐
│ 使用者自己的 iCloud │
│ Private Database │
└────────────┬─────────────┘
│ CKQuerySubscription
│ + silent APNs push
↓
┌──────────────────────────────────────────────────┐
│ iPhone │
│ Pelu App / Widget / Live Activity │
└──────────────────────────────────────────────────┘
| Provider | 主要來源 | 備援 |
|---|---|---|
| Claude Code | Pelu 安裝的 statusLine hook 寫進 ~/.claude/usag-status.json | — |
| Codex | codex app-server JSON-RPC account/rateLimits/read(官方 quota) | ~/.codex/sessions/*.jsonl 推算 |
Codex RPC 會優先使用 ChatGPT/Codex 桌面 app 內附的 binary(/Applications/ChatGPT.app 或 /Applications/Codex.app 的 Contents/Resources/codex),不需要使用者另外裝 CLI。
完全不需要 token 或密碼。iCloud 帳號就是身分——CloudKit 自動隔離不同 Apple ID 的 private database。
Pelu/
├─ Apps/
│ ├─ Pelu/ iOS app
│ ├─ PeluMac/ macOS menu bar app
│ ├─ PeluWidget/ Widget + Live Activity
│ └─ Shared/ 跨平台共用 assets
├─ Sources/
│ ├─ PeluCore/ model、parser、CloudKit、Codex RPC client
│ ├─ PeluUI/ 共用 SwiftUI 元件與主題
│ └─ PeluMacPrototype/ SwiftPM prototype
├─ Tests/PeluCoreTests/ 單元測試
├─ scripts/ release.sh、Sparkle 工具、appcast 範本
├─ assets/ 原始 logo / icon 素材
├─ AGENTS.md 開發與協作守則(架構、契約、發版流程)
├─ Pelu.xcodeproj
└─ Package.swift
| 元件 | ID |
|---|---|
| iOS App | org.tobywu.pelu |
| Widget | org.tobywu.pelu.widget |
| macOS App | org.tobywu.pelu.mac |
| App Group | group.org.tobywu.pelu |
| CloudKit Container | iCloud.org.tobywu.pelu |
Fork 此專案時,需要把以上所有 ID 換成你自己 Apple Developer Team 下的 ID,並到 CloudKit Console 建立對應 container,否則 build 與 CloudKit 同步都無法運作。
需要完整 Xcode(不只 Command Line Tools)。
# Swift package 測試與 build
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift test
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer swift build
# iOS app
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
xcodebuild -project Pelu.xcodeproj -scheme Pelu \
-destination 'generic/platform=iOS' build
# Mac app
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer \
xcodebuild -project Pelu.xcodeproj -scheme PeluMac \
-destination 'generic/platform=macOS' build
Mac 發版流程(scripts/release.sh、Sparkle、Notarization)、App Store Connect 狀態查詢、不可變更的契約、CloudKit 環境與資料流細節都在 AGENTS.md。
Pelu.xcodeproj + Package.swift)本專案以 MIT License 釋出。
捆綁的 Source Han Serif TC 字型由 Adobe 設計,以 SIL Open Font License 1.1 授權——授權條文見 Apps/Pelu/Resources/Fonts/LICENSE.txt,署名見 NOTICE。