Sandbox
@anymorph-ai/Claudable

Web builder for local CLI agents and deploys

Claudable is a Next.js web app that connects a CLI agent to a browser-based builder. You describe what you want, the agent writes the app, and Claudable shows a live preview and can send it to Vercel and Supabase.

4,050 stars616 forksTypeScriptUpdated 5mo ago
Who it's for

Builders who want to turn an app idea into a working web product with Claude Code, Codex, Cursor, Gemini CLI, or Qwen Code.

What it delivers

You can go from a plain-language app idea to a previewed and deployable web app in one place.

What it does

Multi-agent support

Works with Claude Code, Codex CLI, Cursor CLI, Qwen Code, and Z.AI GLM-4.6.

Natural language app building

You describe the app you want and Claudable generates Next.js code for it.

Live preview

Shows the app as it changes with hot reload while the agent works.

Vercel deployment

Connects to Vercel so you can publish the app with a single click.

Supabase setup

Connects a production PostgreSQL database and auth through Supabase.

Desktop app

Ships as an Electron app for macOS, Windows, and Linux.

How to get it

  1. 1Run
    # Clean all dependencies and retry
    npm run clean
    npm install

README

Claudable

Claudable

Connect CLI Agent • Build what you want • Deploy instantly

Mentioned in Awesome Claude Code Follow Aaron Join Discord Community GitHub Stars GitHub Forks License

What is Claudable?

Claudable is a powerful Next.js-based web app builder that combines Claude Code's (Cursor CLI also supported!) advanced AI agent capabilities with Lovable's simple and intuitive app building experience. Just describe your app idea - "I want a task management app with dark mode" - and watch as Claudable instantly generates the code and shows you a live preview of your working app. You can deploy your app to Vercel and integrate database with Supabase for free.

This open-source project empowers you to build and deploy professional web applications easily for free.

How to start? Simply login to Claude Code (or Cursor CLI), start Claudable, and describe what you want to build. That's it. There is no additional subscription cost for app builder.

Features

Claudable Demo

  • Powerful Agent Performance: Leverage the full power of Claude Code and Cursor CLI Agent capabilities
  • Natural Language to Code: Simply describe what you want to build, and Claudable generates production-ready Next.js code
  • Instant Preview: See your changes immediately with hot-reload as AI builds your app
  • Zero Setup, Instant Launch: No complex sandboxes, no API key, no database headaches - just start building immediately
  • Beautiful UI: Generate beautiful UI with Tailwind CSS and shadcn/ui
  • Deploy to Vercel: Push your app live with a single click, no configuration needed
  • GitHub Integration: Automatic version control and continuous deployment setup
  • Supabase Database: Connect production PostgreSQL with authentication ready to use
  • Desktop App: Available as Electron desktop application for Mac, Windows, and Linux

Demo Examples

Codex CLI Example

Codex CLI Demo

Qwen Code Example

Qwen Code Demo

Supported AI Coding Agents

Claudable supports multiple AI coding agents, giving you the flexibility to choose the best tool for your needs:

  • Claude Code - Anthropic's advanced AI coding agent
  • Codex CLI - OpenAI's powerful coding agent
  • Cursor CLI - Powerful multi-model AI agent
  • Qwen Code - Alibaba's open-source coding CLI
  • Z.AI GLM-4.6 - Zhipu AI's coding agent

Claude Code (Recommended)

Claude Code - Anthropic's advanced AI coding agent with Claude Opus 4.6

  • Features: Deep codebase awareness, Unix philosophy, direct terminal integration
  • Context: Native 200k tokens
  • Pricing: Included with Claude Pro/Max/Team/Enterprise plans, or Anthropic API key
  • Installation:
    npm install -g @anthropic-ai/claude-code
    claude  # then > /login
    

Codex CLI

Codex CLI - OpenAI's powerful coding agent with GPT-5 support

  • Features: High reasoning capabilities, local execution, multiple operating modes (interactive, auto-edit, full-auto)
  • Context: Varies by model
  • Pricing: Included with ChatGPT Plus/Pro/Business/Edu/Enterprise plans (from $20/month)
  • Installation:
    npm install -g @openai/codex
    codex  # login with ChatGPT account
    

Cursor CLI

Cursor CLI - Powerful AI agent with access to cutting-edge models

  • Features: Multi-model support (Anthropic, OpenAI), AGENTS.md support
  • Context: Model dependent
  • Pricing: Free tier available, Pro from $20/month (credit-based system)
  • Installation:
    curl https://cursor.com/install -fsS | bash
    cursor-agent login
    

Qwen Code

Qwen Code - Alibaba's open-source CLI for Qwen3-Coder models

  • Features: 256K-1M token context, multiple model sizes (0.5B to 480B), Apache 2.0 license
  • Context: 256K native, 1M with extrapolation
  • Pricing: Completely free and open-source
  • Installation:
    npm install -g @qwen-code/qwen-code@latest
    qwen --version
    

Z.AI GLM-4.6

Z.AI GLM-4.6 - Zhipu AI's coding agent powered by GLM-4.6

  • Features: Strong reasoning capabilities and cost-efficient, code generation and understanding
  • Context: 200K tokens
  • Pricing: Starting from $3/month (GLM Coding Lite) to $30/month (GLM Coding Max), with 50% off first month
  • Installation: See Quick Start Guide

Technology Stack

Database & Deployment:

  • Supabase: Connect production-ready PostgreSQL database directly to your project.
  • Vercel: Publish your work immediately with one-click deployment

There is no additional subscription cost and built just for YOU.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js 18+
  • Claude Code or Cursor CLI (already logged in)
  • Git

Quick Start

Get Claudable running on your local machine in minutes:

# Clone the repository
git clone https://github.com/opactorai/Claudable.git
cd Claudable

# Install all dependencies
npm install

# Start development server
npm run dev

Your application will be available at http://localhost:3000

Note: Ports are automatically detected. If the default port is in use, the next available port will be assigned.

Troubleshooting

  • Database migration conflicts: If you upgraded from a previous Claudable version and run into database errors, reset the Prisma database so it matches the latest schema:
    npm run prisma:reset
    
    The command drops and recreates the local database, so back up any data you need before running it.

Setup

The npm install command automatically handles the complete setup:

  1. Port Configuration: Detects available ports and creates .env files
  2. Dependencies: Installs all required Node.js packages
  3. Database Setup: SQLite database auto-creates at data/cc.db on first run

Desktop App (Electron)

Build and run Claudable as a desktop application:

# Development mode
npm run dev:desktop

# Build desktop app
npm run build:desktop

# Package for specific platforms
npm run package:mac      # macOS
npm run package:win      # Windows
npm run package:linux    # Linux

Additional Commands

npm run db:backup   # Create a backup of your SQLite database
                    # Use when: Before major changes or deployments
                    # Creates: data/backups/cc_backup_[timestamp].db

npm run db:reset    # Reset database to initial state
                    # Use when: Need fresh start or corrupted data
                    # Warning: This will delete all your data!

npm run clean       # Remove all dependencies
                    # Use when: Dependencies conflict or need fresh install
                    # Removes: node_modules/, package-lock.json
                    # After running: npm install to reinstall everything

Usage

Getting Started with Development

  1. Connect Claude Code: Link your Claude Code CLI to enable AI assistance
  2. Describe Your Project: Use natural language to describe what you want to build
  3. AI Generation: Watch as the AI generates your project structure and code
  4. Live Preview: See changes instantly with hot reload functionality
  5. Deploy: Push to production with Vercel integration

Database Operations

Claudable uses SQLite for local development. The database automatically initializes on first run.

Troubleshooting

Port Already in Use

The application automatically finds available ports. Check the .env file to see which ports were assigned.

Installation Failures

# Clean all dependencies and retry
npm run clean
npm install

Claude Code Permission Issues (Windows/WSL)

If you encounter the error: Error output dangerously skip permissions cannot be used which is root sudo privileges for security reasons

Solution:

  1. Do not run Claude Code with sudo or as root user
  2. Ensure proper file ownership in WSL:
    # Check current user
    whoami
    
    # Change ownership of project directory to current user
    sudo chown -R $(whoami):$(whoami) ~/Claudable
    
  3. If using WSL, make sure you're running Claude Code from your user account, not root
  4. Verify Claude Code installation permissions:
    # Reinstall Claude Code without sudo
    npm install -g @anthropic-ai/claude-code --unsafe-perm=false
    

Integration Guide

GitHub

Get Token: GitHub Personal Access Tokens → Generate new token (classic) → Select repo scope

Connect: Settings → Service Integrations → GitHub → Enter token → Create or connect repository

Vercel

Get Token: Vercel Account Settings → Create Token

Connect: Settings → Service Integrations → Vercel → Enter token → Create new project for deployment

Supabase

Get Credentials: Supabase Dashboard → Your Project → Settings → API

  • Project URL: https://xxxxx.supabase.co
  • Anon Key: Public key for client-side
  • Service Role Key: Secret key for server-side

License

MIT License.

Upcoming Features

These features are in development and will be opened soon.

  • Native MCP Support - Model Context Protocol integration for enhanced agent capabilities
  • Checkpoints for Chat - Save and restore conversation/codebase states
  • Enhanced Agent System - Subagents, AGENTS.md integration
  • Website Cloning - You can start a project from a reference URL.
  • Various bug fixes and community PR merges

We're working hard to deliver the features you've been asking for. Stay tuned!

Star History

Star History Chart

Files in the repo

Repository payload26 top-level entries
  • app
  • assets
  • components
  • contexts
  • electron
  • hooks
  • lib
  • pages
  • prisma
  • public
  • scripts
  • stubs
  • styles
  • types
  • .eslintrc.json
  • .gitignore
  • claude_code_zai_env.sh
  • index.js
  • LICENSE
  • next.config.js
  • package-lock.json
  • package.json
  • postcss.config.js
  • README.md
  • tailwind.config.ts
  • tsconfig.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More other

🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.

95k
tinyhumansai/
openhuman

OpenHuman is an open source personal AI for Mac, Windows and Linux — local-first memory, agent orchestration, and deep research.

40k

Your Personal AI Assistant; easy to install, deploy on your own machine or on the cloud; supports multiple chat apps with easily extensible capabilities.

35k

AIPOCH Open-Science is an open-source, local-first, model-agnostic AI research workbench for macOS, Windows, and Linux, with scientific agents, Python/R notebooks, data connectors, and reproducible provenance.

4k

Open-source Claude Design alternative. One-click import your Claude Code / Codex API key. Prompt → prototype / slides / PDF. Multi-model (Claude, GPT, Gemini, Kimi, GLM, Ollama). BYOK, local-first, MIT.

7.9k