claude-code
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 14 GitHub stars
Code Basarisiz
- process.env — Environment variable access in build.ts
- rm -rf — Recursive force deletion command in install.sh
- network request — Outbound network request in package.json
Permissions Gecti
- Permissions — No dangerous permissions requested
This is a community-maintained, terminal-based coding agent. It is a refactored fork of the leaked Claude Code CLI that allows users to interact with AI models (Anthropic, OpenAI, Gemini) directly from the terminal as a single binary executable.
Security Assessment
Overall risk is Medium. The most significant flag is a `rm -rf` recursive force deletion command found inside the `install.sh` script. Because the recommended installation method pipes a remote script directly to bash (`curl ... | bash`), a compromised repository could easily result in catastrophic data loss or malicious file execution on the host machine. Furthermore, the tool accesses environment variables and makes outbound network requests (likely to interact with AI APIs). The repository is entirely unlicensed, which adds legal ambiguity to using and modifying the codebase. No hardcoded secrets or inherently dangerous application permissions were detected.
Quality Assessment
The project appears to be highly maintained, with active pushes and support for multiple platforms (macOS, Linux, Windows). It has garnered modest community trust with 14 GitHub stars. However, the complete absence of a license is a major drawback for developers looking to trust and integrate a tool into their workflow, as it means all rights are technically reserved by the creator. Additionally, its origin as a fork from a leaked source code leak raises further questions about the project's long-term governance and stability.
Verdict
Use with caution: actively maintained and usable, but the unlicensed status, leaked-source origins, and destructive commands in the remote installation script require careful manual review before running on your system.
Refactored fork of the sourcemap-leaked Claude Code CLI
Claude Code Best
Terminal coding agent. Single binary, installed as ccb. Community-maintained derivative of Claude Code.
Not affiliated with Anthropic. For the official tool, see https://docs.anthropic.com/en/docs/claude-code/overview.
📦 Install
macOS / Linux (also Git Bash / WSL on Windows):
curl -fsSL https://raw.githubusercontent.com/Icarus603/claude-code/main/install.sh | bash
Installs to ~/.local/share/ccb/versions/<version> with a symlink at ~/.local/bin/ccb.
Windows (PowerShell):
irm https://raw.githubusercontent.com/Icarus603/claude-code/main/install.ps1 | iex
Installs to %LOCALAPPDATA%\Programs\ccb\versions\<version>.exe with a shim at %LOCALAPPDATA%\Programs\ccb\bin\ccb.exe, and adds the bin directory to your user PATH automatically. No admin rights required.
No Node, no Bun, no package manager required for either.
| Variable | Default (sh / ps1) | Effect |
|---|---|---|
CCB_VERSION |
latest |
Pin a specific tag, e.g. v1.carus.000 |
CCB_PREFIX |
~/.local / %LOCALAPPDATA%\Programs\ccb |
Install root |
Upgrade: re-run the same one-liner. Uninstall:
- macOS / Linux:
rm -rf ~/.local/share/ccb ~/.local/bin/ccb - Windows:
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\Programs\ccb"
Windows ARM64 is not supported (Bun has no
windows-arm64compile target). Use the x64 binary under x64 emulation, or run via WSL.
🚀 Usage
ccb # interactive REPL
ccb --version
ccb --help
First run prompts /login. The dialog lets you pick a provider:
- Anthropic Compatible — any Anthropic-format endpoint (Anthropic itself, third-party proxies, self-hosted)
- OpenAI Compatible — OpenAI itself plus anything that speaks the protocol (DeepSeek, Ollama, vLLM, …)
- Gemini API — Google Gemini native REST/SSE
- Anthropic Console account — OAuth flow for claude.ai
You paste base URL + API key + model IDs inside the dialog; nothing to set in your shell. Switch providers anytime with /login again.
See docs/ for per-feature deep dives.
🤖 Headless / scripted use
For CI or --print mode where there's no REPL to drive /login, env vars work too:
| Variable | Purpose |
|---|---|
ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL |
Anthropic auth + endpoint |
OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_DEFAULT_*_MODEL |
OpenAI-compat endpoint |
GEMINI_API_KEY, GEMINI_BASE_URL, GEMINI_DEFAULT_*_MODEL |
Gemini endpoint |
FEATURE_<FLAG>=1 |
Enable a build-time feature gate at runtime |
🛠️ Build from source
Bun ≥ 1.3.0 is the only requirement.
git clone https://github.com/Icarus603/claude-code.git
cd claude-code
bun install
bun run dev # hot-reload, no build step
bun run build:standalone # → dist/ccb (current platform)
bun run build:platforms # → dist/binaries/ccb-{darwin,linux,windows}-{arm64,x64}[.exe]
bun test
bun run doctor:arch # architectural invariants — must pass
bun build --compile --target=bun-<os>-<arch> cross-compiles in ~0.4s per platform. The release workflow (.github/workflows/release.yml) does this on tag push.
🤝 Contributing
PRs welcome.
bun run doctor:archmust pass. No--no-verify.bun testmust pass. Add tests for new behavior.tsc-errorsratchet only allows the count to decrease.- Commit messages explain why; the diff already shows what.
- Don't add npm distribution back. This is binary-only by design.
gh repo fork Icarus603/claude-code
git checkout -b feat/your-thing
# ...
bun run doctor:arch && bun test
gh pr create
Architectural conventions live in docs/lazy-require-pattern.md and the doctor scripts under scripts/.
🏷️ Releasing
Maintainer only.
bun run release v1.carus.001
That's it. The script validates the tag, creates it, pushes it. GitHub Actions then builds 5 binaries (with MACRO.VERSION derived from the tag itself — no version strings to bump anywhere) and uploads them to Releases.
🧬 Lineage
ccb derives from a public Claude Code community fork. See ATTRIBUTION.md. No standalone license file is shipped — review provenance before redistribution.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi