anymorph-ai/Claudable
Sobre
Claudable é um construtor web de código aberto que usa agentes CLI locais, como Claude Code, Codex, Gemini CLI, Qwen Code e Cursor Agent, para criar e implantar produtos com facilidade.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- -3
- em 15 dias
- -3
- em 1 mês
- -5
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalClaudable

Connect CLI Agent • Build what you want • Deploy instantly
What is Claudable?
Claudable is an open-source Next.js web app builder that combines local AI coding CLI agents (Claude Code, Codex CLI, Gemini through the Antigravity CLI, and OpenCode) with a fast, Lovable-grade visual app-building workspace.
Describe what you want — "Build a minimalist habit tracker with weekly analytics" — and watch Claudable stream code in real time, spin up an instant Turbopack live preview, inspect and edit elements visually, checkpoint every turn in Git, verify TypeScript diagnostics in one click, and deploy directly to Vercel with Supabase and GitHub.
No extra builder subscription. Use the CLI agents and plans you already own, 100% locally.
Features

Visual Builder & Live Preview
- Instant Turbopack Preview & Auto-Dependency Sync: Scaffolded Next.js 15 projects run with
--turbopackfor fast cold starts and HMR (CLAUDABLE_DISABLE_TURBOPACK=1to opt out). SHA-256package.jsontracking automatically installs newly added packages after AI turns. - Visual Element Picker (Select to Edit): Click any element inside the live Desktop / Tablet / Mobile preview to attach its tag, selector, text, and DOM path directly to your next AI prompt.
- Preview Error Detection, Live Logs & Fix with AI: Built-in dev server log drawer, automatic compile/runtime error detection, one-click Fix with AI, and an opt-in Auto-fix loop (capped at 2 attempts per error).
- Real-Time Token Streaming & Instant Stop: Live token-level streaming, a reasoning effort picker next to the model, and immediate generation cancellation at any time.
Code Workspace & Version Control
- Git Checkpoints, Inline Diff & Non-Destructive Restore: Every AI turn automatically saves a Git checkpoint. Inspect unified commit diffs inline inside Version History and restore forward or backward safely without rewriting history.
- Multi-Tab Code Editor &
Cmd+PQuick Search: Open multiple files with preserved unsaved drafts, full file/folder CRUD, project-wide content search, and syntax highlighting. - One-Click TypeScript Check (
tsc --noEmit): Run type checks right inside the Code view, jump straight to anyfile:line:coldiagnostic, or click Fix with AI to resolve all errors. - Project Knowledge (
CLAUDABLE.md/CLAUDE.md/AGENTS.md): Configure per-project custom instructions in Settings → Knowledge or drop aCLAUDABLE.md/CLAUDE.md/AGENTS.mdfile in your repo—automatically injected across all 4 CLI agents. - Project Duplicate / Remix & ZIP Export: Duplicate any project from the sidebar (preserving Git history and Knowledge while skipping
node_modules) or export a clean ZIP archive anytime.
Engineered for Speed
- Sub-3ms Cached CLI Probing: 30s TTL cache with concurrent in-flight deduplication (
?refresh=1to bypass). - Zero-Churn Chat Rendering: Memoized Markdown/Thinking renderer and latest-first message pagination keep long sessions smooth during token streaming.
- SQLite WAL & Single-Request File Tree: SQLite WAL mode with tuned cache/busy timeout, depth-2 workspace tree loading, and on-demand Settings modal lazy-loading.
Deploy & Desktop
- GitHub, Vercel & Supabase Integrations: Push to GitHub, connect PostgreSQL/Auth on Supabase, and publish to Vercel directly from the workspace.
- Desktop App (Electron): Build and run natively on macOS, Windows, and Linux.
Demo Examples
Codex CLI Example

Supported AI Coding Agents
Claudable supports 4 AI coding agents out of the box—switch agents or models per project anytime, and pick a reasoning effort next to the model:
| Agent | Featured Models | Notes |
|---|---|---|
| Claude Code (Recommended) | Claude Fable 5.2, Opus 5.5, Sonnet 5.5 (default), Haiku 5.5 | Reasoning effort from Low to Max, multimodal images, token streaming |
| Codex CLI | Codex default (default, uses your account's model), GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra, GPT-6 Luna | OpenAI coding agent via ChatGPT subscription or API |
| Gemini | Gemini default (default, uses your account's model), Gemini 4 Neon, Gemini 4 Carbon, Gemini 4 Hydrogen | Google's Antigravity CLI with Google account sign-in |
| OpenCode | OpenCode default (default, uses your OpenCode model), GLM-5.4, Qwen4 Max, MiniMax M3.1 Flash | Open-source agent for models from many providers |
The effort menu lists the levels the selected model offers, such as Low to Ultra for GPT-6.2 Sol or Low, High, and Max for GLM-5.4. Default leaves the level to the agent. The account default models (Codex default, Gemini default, OpenCode default) only use the agent's level, so the menu is hidden for them. Claudable remembers the level for each model in your browser.
After you install an agent, sign in from Claudable: open Settings → AI Agents and click Sign in on the agent's card, or Connect on the OpenCode card. Claudable runs the agent's own sign-in and opens it in your browser. The terminal commands below still work.
Claude Code (Recommended)
Claude Code — Anthropic's agentic coding CLI supporting Claude Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5.
- Pricing: Included with Claude Pro/Max/Team/Enterprise plans, or Anthropic API key
- Installation:
npm install -g @anthropic-ai/claude-code - Sign in: Click Sign in on the Claude Code card. If the sign-in page ends with a code, paste it into the card. In a terminal, run
claude auth login.
Codex CLI
Codex CLI — OpenAI's coding agent with GPT-6.2 Astra, GPT-6.2 Sol, and other GPT models.
- Pricing: Included with ChatGPT Plus/Pro/Business/Edu/Enterprise plans (from $20/month)
- Installation:
npm install -g @openai/codex - Sign in: Click Sign in on the Codex CLI card to sign in with your ChatGPT account. In a terminal, run
codex login.
Gemini (Antigravity CLI)
Antigravity CLI — Google's coding agent CLI (agy), which replaces Gemini CLI for personal Google accounts. Claudable runs it in headless mode.
- Pricing: Gemini 4 Hydrogen is available on every plan, including free. Gemini 4 Neon and Gemini 4 Carbon need Google AI Pro, Google AI Ultra, or Gemini Enterprise.
- Installation:
curl -fsSL https://antigravity.google/cli/install.sh | bash - Sign in: Click Sign in on the Gemini card to sign in with your Google account. In a terminal, run
agyonce.
OpenCode
OpenCode — Open-source coding agent that runs models from many providers, including GLM, Qwen, and MiniMax.
- Pricing: The CLI is free. You pay the model provider you connect.
- Installation:
curl -fsSL https://opencode.ai/v2/install | bash - Sign in: Click Connect on the OpenCode card, then sign in to a model provider or add its API key. In a terminal, run
opencode auth login. - Models: OpenCode default uses the model set in your OpenCode configuration. GLM-5.4 runs on the Z.AI Coding Plan provider, Qwen4 Max on the Alibaba provider, and MiniMax M3.1 Flash on the MiniMax provider, so connect the provider before you pick its model.
Prerequisites
- Node.js 20+ (
npm >= 10) - Git
- At least one supported AI CLI agent installed (Claude Code, Codex CLI, Antigravity CLI for Gemini, or OpenCode). You can sign in to it from Settings → AI Agents.
Quick Start
# Clone the repository
git clone https://github.com/anymorph-ai/Claudable.git
cd Claudable
# Install dependencies (auto-configures .env and ports)
npm install
# Start the development server
npm run dev
Open http://localhost:3000 (if port 3000 is busy, Claudable automatically picks the next available port).
Production Build
npm run prisma:generate
npm run build
npm run start
Desktop App (Electron)
# Development mode
npm run dev:desktop
# Build & package for your platform
npm run package:mac # macOS
npm run package:win # Windows
npm run package:linux # Linux
Useful Commands
npm run type-check # Run TypeScript check (tsc --noEmit)
npm run lint # Run ESLint
npm run prisma:push # Push Prisma schema to SQLite (data/cc.db)
npm run prisma:studio # Inspect local SQLite database in Prisma Studio
npm run prisma:reset # Reset local SQLite database (WARNING: deletes local data)
npm run check-cli # Verify installed Claude CLI environment
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Cmd/Ctrl + P |
Switch to Code view and focus Quick File Search |
Cmd/Ctrl + S |
Save current file in the Code Editor |
Cmd/Ctrl + Enter |
Send chat prompt |
ArrowUp / ArrowDown |
Cycle through prompt history on single-line input |
Integration Guide
GitHub
- Get Token: GitHub Personal Access Tokens → Generate new token (classic) → select
reposcope - Connect: Settings → Services → GitHub → Add token, then create a repository from the Services tab of the project's settings
Vercel
- Get Token: Vercel Account Settings → Create Token
- Connect: Settings → Services → Vercel → Add token, then connect Vercel from the Services tab of the project's settings and deploy with Publish. Connect GitHub first, because Vercel deploys from the project's repository.
Supabase
- Get Token: Supabase Access Tokens → Generate new token
- Connect: Settings → Services → Supabase → Add token, then create a Supabase project from the Services tab of the project's settings. Claudable adds the Supabase URL and keys to the project's environment variables.
Troubleshooting
- Database migration conflicts: If you upgraded from an older version and hit Prisma schema errors, reset the local SQLite database (back up
data/cc.dbfirst if needed):npm run prisma:reset - Upgrading from a version with Cursor, Qwen, GLM, or MiniMax: Projects and the default agent saved with one of these agents switch to Claude Code. GLM, Qwen, and MiniMax models now run through OpenCode. API keys saved for GLM or MiniMax stay in
data/global-settings.jsonbut are no longer used, so connect those providers with Connect on the OpenCode card in Settings → AI Agents instead. Ifnpm run prisma:pushwarns that it will drop theactive_cursor_session_idcolumn, runnpx prisma db push --accept-data-loss; that column only stored Cursor session IDs. - Port already in use: Claudable automatically detects free ports on startup; check
.env/.env.localfor assigned ports. - Disable Turbopack for a project preview: Set
CLAUDABLE_DISABLE_TURBOPACK=1in your environment if a custom Next.js plugin requires webpack dev mode. - Claude Code permission issues (Windows / WSL): Do not run Claude Code as
rootor withsudo. Ensure directory ownership belongs to your user:sudo chown -R $(whoami):$(whoami) ~/Claudable npm install -g @anthropic-ai/claude-code --unsafe-perm=false
Roadmap
- Native MCP Server Management UI — Configure and attach Model Context Protocol tools per project
- Website Cloning — Bootstrap a new project from a reference URL
- Multi-Agent Workflows — Parallel specialized subagents for design, backend, and QA
License
Star History
Explore projetos relacionados
Carregando…