CCBaga README

The project's README from github.com/liseami/CCBaga. As one markdown file: README.md.

CCBaga-A and CCBaga-B logos, side by side

CCBaga

A native macOS toolkit for a cleaner workspace and an environment you can verify.

Claude cleanup · Browser fingerprints · System settings · Network setup

MIT license macOS 12 and later Apple Silicon Rust and Tauri

Features · Installation · Updates · Quick start · Architecture · Development · Contributing

CCBaga: native control, observable environments

CCBaga brings local maintenance and environment setup into one focused desktop workflow. Inspect Claude data before removing it, rotate your companion browser's fingerprint and restart it, align system settings with a selected region, and compare real browser readings with the machine and network exit.

Two applications work together: CCBaga-A owns native operations; CCBaga-B runs an isolated Fingerprint Chromium profile. Browser measurements return to the cleaner through a local session. Changing a setting and verifying its effect are separate steps.

Features

Local Claude cleanup

Review caches, account traces, sessions, configuration remnants and existing backups. Select exactly what to remove.
Fingerprint & restart

Generate a fresh seed, apply the selected region's language and timezone, then restart the companion browser.
Real environment checks

Compare browser and machine readings with the actual network exit. Passing measured checks produces a green page and a large checkmark.
Native system settings

Apply timezone, preferred language and region settings. Open macOS controls for location and permissions.
SSH network setup

Provide a VPS address, three key files and a residential SOCKS5 exit. Receive a subscription after server self-checks pass.
Claude Code CLI tools

Detect the installation method and version. Uninstall or reinstall through native, npm or Homebrew workflows.

One region selector. Four everyday actions. Easy setup puts browser cache cleanup, fingerprint rotation, timezone/language reset and Claude cleanup on the same page. The sidebar keeps advanced controls in Network, Claude cleanup, Browser and Computer.

The interface supports English and Chinese, with shared YAML catalogs. Switching the interface language does not change the computer or browser language.

Installation

Platform: macOS 12 or later, Apple Silicon. Intel, Windows and Linux application builds are not currently supported.

Download the signed installer from GitHub Releases. The distribution package is named CCBaga-<version>-macos-arm64.dmg. It contains both applications:

Application Installed bundle Role
CCBaga-A CCBaga-A.app Cleanup, system settings, SSH tasks and verification
CCBaga-B CCBaga-B.app Companion browser with a dedicated profile

Download one DMG; it contains both applications. There is no separate browser download. The installer uses the same pixel-art style as this README.

  1. Open the release disk image and drag both applications into Applications.
  2. Launch CCBaga-A. It starts the companion browser automatically.
  3. Choose English at the bottom of the sidebar if needed.

Public release packages must pass Developer ID signing, Apple notarization, ticket stapling and Gatekeeper assessment. See the release procedure for the exact checks. macOS may still display its normal first-launch confirmation and ask for permissions when you use privileged features.

Source builds are available through the development guide. Every successful push to release produces a new version, tag and notarized installer.

Updates

Use Check for updates at the bottom of CCBaga-A’s sidebar. Startup checks quietly; installation only starts when you choose Update and restart. Downloads show actual progress and are verified against the embedded public key, including the signed version, before installation. Failed downloads can be retried; a failed restart does not download the update again.

Upgrading from v0.2.7 or v0.2.8: replace both apps from the latest DMG once to correct the companion browser identity.

In-app updates replace CCBaga-A. To update both A and B, download the latest DMG and drag both apps into Applications. No GitHub token or signing private key is included in either app.

Quick start

Everyday setup

Open Easy setup, select a country or region, then choose an action. Browser fingerprint rotation closes and restarts CCBaga-B, so save unfinished browser work first. Selecting a region changes language, timezone and regional settings; it does not change your public IP.

Claude cleanup

Open Claude cleanup to scan and review local data. Use cache-only cleanup for regenerable files, login reset for account traces, or select a broader scope explicitly. A folder can also be dropped into the app for a scoped scan.

If Claude is running, the confirmation flow can stop all recognized Claude processes and rescan. The latest scan must be reviewed before deletion. CLI uninstall and reinstall are separate operations and preserve settings, skills, sessions and project files.

[!WARNING] Confirmed cleanup permanently deletes the selected files, including selected existing backups. It does not use Trash, create recovery copies or provide undo. Stopping Claude processes can interrupt unsaved work.

Browser verification

Open Browser or the companion browser's local test page to measure the actual environment. Checks cover the network exit, country, timezone, language, platform, CPU count, engine version and location settings.

The success page appears only when the measured checks match, the report reaches the cleaner and no measurement error remains. DNS and WebRTC leak checks are not independently verified. A green result describes the measured checks, not a guarantee of anonymity or account acceptance.

Network setup

The optional network workflow expects:

Input Requirement
VPS Public IP or hostname; Debian 12/13; SSH as root on port 22
SSH keys A matching .pem, .ppk and .pub bundle; an unencrypted PEM private key
Residential exit SOCKS5 host, port, username and password
Expected exit IP Required when the SOCKS5 host is a domain

For DMIT, choose Generate SSH Key after order, download and extract the key bundle, then select or drop all three files. Key files identify you; the VPS address identifies the server. Password and SSH Agent authentication are not supported.

Check the SSH connection, review the server changes, then run setup. The script updates the Debian system, configures Xray/Reality, SSH and the firewall, and verifies the SOCKS5 exit before returning a subscription. It blocks forwarded UDP and retains a Stripe direct-route exception.

[!IMPORTANT] Import the subscription into a compatible client, enable TUN mode, and leave system proxy disabled. Leave CCBaga-B's explicit proxy empty to follow TUN. The subscription uses HTTP and contains connection credentials; keep its URL private. Verify the client-side exit after importing it.

Provider buttons link to DMIT and Webshare. These URLs contain affiliate/referral codes. Network setup is optional; local cleanup does not require a VPS or a proxy subscription.

Architecture

Pixel architecture map: native core, companion browser and explicit SSH

The UI owns inputs and presentation. Rust owns validation, task locks, process identity checks and execution. Small Objective-C bridges call platform APIs. The browser test page has no Tauri command access; it exchanges context and measurements through a random-token loopback session.

Layer Technology Responsibility
Desktop host Rust · Tauri 2 Native commands, transactions, progress and lifecycle
Interface React 19 · TypeScript · Cromma UI Forms, previews and execution results
Platform bridges AppKit · Security · CoreLocation macOS permissions and system integration
Companion browser Fingerprint Chromium Dedicated profile and real browser measurements
Network setup OpenSSH · Bash · Xray Explicit remote setup and server self-checks
Localization YAML · Vite Build-time English/Chinese catalogs
Repository map
assets/             Compressed brand logos and pixel-art DMG background
src/                Desktop UI, browser test page and localization
src-tauri/src/      Rust commands and transaction boundaries
src-tauri/native/   Small macOS API bridges
browser-runtime/    Engine metadata, launcher, entitlements and licenses
scripts/            Icons, signing, packaging and setup scripts
docs/               README artwork and release procedure
vendor/cromma-ui/   Vendored interface components

The large browser application and archive are generated/runtime inputs, excluded from Git. CLAUDE.md files map module boundaries; source headers describe inputs, outputs and responsibilities.

Development

Prerequisites

Use an Apple Silicon Mac with Xcode Command Line Tools, stable Rust and Bun. Follow Tauri's macOS prerequisites for the native toolchain.

The browser engine is an external build input. python3 scripts/fetch-browser.py downloads the pinned macOS arm64 Fingerprint Chromium 148.0.7778.215 engine from the upstream project, verifies its SHA-256 and preserves its bundle structure and notices. Browser runtime binaries are not included in the source repository.

From your checkout:

bun install --frozen-lockfile
python3 scripts/fetch-browser.py
sh scripts/make-icons.sh
sh scripts/package-browser.sh
bun run tauri dev

Local builds use ad-hoc signing by default, so another developer does not need the maintainer's certificate. They are not public distribution builds. See Tauri's signing documentation and the release procedure for Developer ID signing and notarization.

Automated releases

Push to release to run the complete macOS pipeline: frontend and native tests, pinned engine verification, Developer ID signing, Apple notarization and offline ticket stapling. A successful run creates an increasing v<major>.<minor>.<patch> tag and uploads the dual-app DMG, signed A update archive, public latest.json and SHA-256 manifest. Public repositories also receive GitHub build provenance attestations. Rust dependency caching reduces repeat compilation. Apple and updater signing credentials stay in GitHub Secrets and a disposable runner keychain. See release setup.

Build

MACOSX_DEPLOYMENT_TARGET=12.0 \
  bun run tauri build --bundles app --features custom-protocol

The cleaner bundle is written to src-tauri/target/release/bundle/macos/CCBaga-A.app. The companion bundle remains at browser-runtime/Browser.app until copied to Applications as CCBaga-B.app.

Release builds require custom-protocol to load the embedded UI. A release compilation without it fails explicitly, preventing an installed app from depending on the development server.

Checks

bun run build
bun test
MACOSX_DEPLOYMENT_TARGET=12.0 \
  cargo test --manifest-path src-tauri/Cargo.toml
python3 scripts/test-sign-browser.py
bash -n scripts/setup-vps.sh

Automated tests exercise disposable fixtures and local test servers. They do not deploy a real VPS, delete your Claude account data or perform administrator-authorized system changes. Real SSH connectivity, client-side TUN routing and permission-dependent operations require validation in the target environment.

Data & permissions

Custom CLAUDE_CONFIG_DIR locations are not automatically included in the default cleanup scan. The app reports this limitation rather than silently claiming they were cleaned.

Contributing

Start with CONTRIBUTING.md. Small, focused changes with clear behavior and relevant checks are welcome. For bug reports, include the macOS version, app version, operation and sanitized error; never attach private keys, passwords or subscription URLs.

License & credits

CCBaga's original project code is released under the MIT License. Third-party code and binaries retain their own terms; see NOTICE.md.

Built with Tauri, React and Fingerprint Chromium, with a native macOS implementation of Claude maintenance workflows. Cleanup discovery was informed by the claude-cleanup skill.

An independent project. Not affiliated with or endorsed by Anthropic or Apple.

CCBaga (liseami/CCBaga)

Searching Database…

2.6K ·GitHub
这是什么?CCBaga 是一个原生 macOS 工具箱,捆绑两个应用,用于清理 Claude 相关数据、轮换浏览器指纹、对齐系统区域设置,并通过实测校验你的真实网络出口。
这是一个应用还是两个?它以单个 DMG 发布,内含两个协同工作的应用:CCBaga-A 负责原生清理、系统设置和 SSH 任务,CCBaga-B 则是一个隔离的 Fingerprint Chromium 浏览器配置档,用于验证。
它在任何 Mac 上都能运行吗?不能——它只支持 Apple Silicon 上 macOS 12 及以上版本;目前不提供 Intel、Windows 和 Linux 的应用构建。
如果删错了东西,我能撤销 Claude 清理吗?不能——确认清理后会永久删除所选文件,包括已有的备份,不经过废纸篓,没有恢复副本,也无法撤销。
我的 SSH 密钥和凭据会怎么样?SSH 私钥内容只保留在原生代码中,不会出现在界面日志里;会以 0600 权限创建临时 PEM 副本,事务结束后即被删除。
指纹轮换实际改变了什么?它会生成新的指纹种子,应用所选地区的语言和时区,并重启配套浏览器(CCBaga-B),使其呈现新的识别特征。
绿色对勾意味着我是匿名的吗?不是。它只确认实测的浏览器、机器和网络读数彼此一致——并不保证匿名,也不保证任何账户/服务都会接受该结果。
可选的网络/VPS 设置需要准备什么?一台在 22 端口开放 root SSH 的 Debian 12/13 VPS、配套的 .pem/.ppk/.pub 密钥包,以及一个住宅宽带 SOCKS5 代理;脚本随后会配置 Xray/Reality、SSH 和防火墙,并返回一个订阅。
Creator
liseami
Size
3.7 MB
Stars
2.6K
Age
7d
Commits · 90 Days