- TypeScript 100%
Copilot is not a traditional 3P service like Bedrock/Vertex/Foundry — it has its own OAuth login flow that the login command already supports. Only exclude login/logout for actual 3P providers that manage auth externally. |
||
|---|---|---|
| assets | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.sh | ||
| bun.lock | ||
| COPILOT_FIX.md | ||
| env.d.ts | ||
| FEATURES.md | ||
| install.sh | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
FreeCode
A free, unlocked build of Claude Code with all telemetry stripped, injected guardrails removed, and all experimental features enabled.
Build
Requires Bun >= 1.3.11 on macOS or Linux.
git clone https://git.sharkk.net/sky/freecode.git
cd freecode
./build.sh
This installs dependencies and compiles ./freecode-dev with all 45+ experimental features enabled.
Or use the one-liner installer (installs Bun if needed, builds, symlinks to PATH):
curl -fsSL https://git.sharkk.net/sky/freecode/raw/branch/master/install.sh | bash
Login
FreeCode works through GitHub Copilot's API — no Anthropic API key needed.
./freecode-dev /login
This opens a GitHub device flow in your browser. Approve it and you're authenticated. Models available through Copilot include Claude Sonnet and Claude Haiku.
To use an Anthropic API key directly instead:
export ANTHROPIC_API_KEY="sk-ant-..."
./freecode-dev
Usage
./freecode-dev # interactive REPL
./freecode-dev -p "your prompt" # one-shot mode
./freecode-dev --model claude-sonnet-4-6 # specify a model
What's changed from upstream
Telemetry removed — all OpenTelemetry, GrowthBook analytics, Sentry reporting, and event logging endpoints are dead-code-eliminated or stubbed. Nothing phones home.
Injected guardrails removed — Anthropic's system-level prompt restrictions (hardcoded refusal patterns, "cyber risk" blocks, managed-settings overlays) are stripped. The model's own safety training still applies.
Experimental features unlocked — all 45+ compile-time feature flags that build cleanly are enabled, including voice mode, deep thinking, multi-agent planning, IDE bridge, token budgets, and more. See FEATURES.md for the full list.