Codync
무료 오픈소스 1:1 대안, Grok Bot과 Muse 대신
Claude-swap용 무료 macOS 메뉴바 앱. Claude Code 계정의 5시간, 주간, 모델별 할당량을 확인하고 한 번 클릭으로 전환
Free macOS menu bar app for claude-swap. See the 5-hour, weekly and per-model quota of every Claude Code account and switch with one click.
개발 도구Rust · ShellGitHub @afatmustafa온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기macOS menu bar app for claude-swap: see every Claude account's 5h, 7d and Fable quota at a glance, switch with one click, and track token costs.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Swapbar shows the 5h, 7d and per-model (Fable) quotas of every cswap account at a glance, switches accounts with one click, and summarizes token usage and cost from Claude Code transcripts.
uv, installing uv too if needed), and adds your accounts one by one: each signs in through claude auth login in the browser, cswap saves the login, and Claude Code switches back to the account it was using.cswap switch. The active account is marked current, and accounts left out of auto-rotation show as paused.⌃⌥S opens Swapbar from any app; ⌃⌥⇧S switches to the account with the most quota left. No Accessibility permission needed.cswap upgrade.5h or 5h · 7d, shown as remaining or used.cswap run sessions and each profile's login) and per model, and a bar splitting input, cache read, cache write and output.Open Settings… from the popover. Preferences are stored in ~/.config/swapbar/settings.json.
brew install --cask afatmustafa/tap/swapbar
The cask installs Swapbar into Applications; brew upgrade --cask swapbar updates it. On first launch the setup assistant installs claude-swap if needed and adds your accounts.
Swapbar.dmg from the latest release and drag Swapbar to Applications.Swapbar looks for cswap at ~/.local/bin/cswap, /opt/homebrew/bin/cswap and /usr/local/bin/cswap. Set CSWAP_BIN to use another path (CLAUDE_BIN and UV_BIN work the same way for claude and uv).
Releases from 0.1.1 on are signed with a Developer ID and notarized by Apple, so Swapbar opens with a double-click. Version 0.1.0 is not: macOS blocks its first launch, and you allow it with Open Anyway under System Settings → Privacy & Security.
To launch at login, turn on Launch at login in Settings.
./scripts/bundle.sh # release build, produces target/Swapbar.app
./scripts/bundle.sh --universal # arm64 + x86_64
./scripts/dmg.sh # target/Swapbar.dmg from the bundle
cp -R target/Swapbar.app /Applications/
Requirements:
runtime_shaders feature, so the Metal toolchain is not needed.| Data | Source |
|---|---|
| Accounts, 5h/7d/Fable quotas | cswap list --json, every 60 seconds. cswap calls the Anthropic usage API itself. That endpoint allows roughly 30 requests per hour per account, so cswap manages the polling cadence. |
| Account switching | cswap switch <n> --json |
| Tokens and cost | ~/.claude/projects/**/*.jsonl, plus CLAUDE_CONFIG_DIR, ~/.claude-* profiles and cswap session directories. Entries are deduplicated by message.id:requestId and rescanned incrementally every 2 minutes. |
| Prices | Built-in table with a models.dev overlay (cached for 24 hours). 1h cache write = 2× input, 5m cache write = 1.25× input. |
Caches live in ~/.config/swapbar/ (usage-cache.json, model-rates.json).
Cost figures are estimates at API list prices, not your subscription bill.
Swapbar does not talk to Anthropic directly. Quotas come from cswap, and usage is read from transcripts on your Mac.
cargo run # click the Swapbar icon in the menu bar
SWAPBAR_OPEN=1 cargo run # open the popover on launch
SWAPBAR_SETTINGS=1 SWAPBAR_PAGE=about cargo run # open settings on a given page
SWAPBAR_DEBUG=1 cargo run # geometry and scan logs
cargo run -- --scan # headless: print the token and cost summary
./scripts/icon.sh # rebuild assets/AppIcon.icns from AppIcon.svg
SWAPBAR_PAGE accepts menubar, accounts, auto and about; anything else opens General.
The popover and settings screenshots use demo accounts and generated transcripts. Usage and quota figures in the header image are illustrative.
src/main.rs: app state, timers, window open/close, menu bar titlesrc/statusbar.rs: NSStatusItem (cocoa), click callback, screen geometrysrc/cswap.rs: bridge to cswap (list, switch, add, remove, alias, swap)src/setup.rs: finding claude/cswap/uv/brew, installing claude-swap, claude auth loginsrc/onboarding.rs: setup assistant windowsrc/i18n.rs: English/Turkish strings (l(), lf!) and cswap time strings in Turkishsrc/dialog.rs: native NSAlert confirmations and text promptssrc/advice.rs: switch suggestion, pace, notification eventssrc/usage.rs: JSONL scanner, cache, period summariessrc/pricing.rs: model pricessrc/assets.rs: embedded SVG icons (AssetSource)src/theme.rs: light/dark appearancesrc/ui.rs: popover UIsrc/settings.rs: preferences model, LaunchAgentsrc/settings_ui.rs: settings window and About pageThe landing page lives in its own repository, swapbar-website.
Icons are Hugeicons stroke-rounded (MIT, in assets/icons/). Account data and switching come from claude-swap.
Made by Mustafa Afat.