clawnify
v0.5.0
Published
Deploy your apps and website to Clawnify from the terminal with Claude Code, Codex, and Cursor
Readme
Clawnify CLI
Deploy full-stack software with a database to production in seconds. No infrastructure setup, no config files, no Cloudflare account needed.
Build with your AI coding tool, deploy with one command, share a live URL. Once you sign in to Clawnify, your team can access all their software and agents from one place — with managed auth across everything.
npx clawnify init # app or website (asks)
cd my-project
npx clawnify deployApps go live at https://<slug>.apps.clawnify.com with a D1 database, edge hosting, and a global CDN. Websites go live at https://<slug>.myclawnify.com — one public Astro site per org.
Requirements
- Node.js 22+ — required by the bundled Wrangler toolchain
Quick Start
Create a new app
npx clawnify initPick a template (blank or CRUD), and you get a ready-to-deploy project:
my-app/
src/
server/ # Hono API routes + D1 database
client/ # React frontend (Tailwind v4)
clawnify.json # App manifest
wrangler.toml # Local dev configDevelop locally
cd my-app
pnpm install
pnpm devOpens at http://localhost:5173 with a local D1 database. Same code, same database interface — no conversion between local and production.
Deploy
npx clawnify login
npx clawnify deployThat's it. Your app is live with:
- Edge hosting on Cloudflare Workers
- D1 database (SQLite at the edge)
- Global CDN for static assets
- Custom URL at
*.apps.clawnify.com
If an app with the same name already exists in your org, the CLI will prompt you to update it or create a new one with a suggested name. After the first deploy, a .clawnify/project.json file is written — subsequent deploys from the same directory update the existing app automatically.
Install
# Run directly (recommended)
npx clawnify <command>
# Or install globally
npm i -g clawnifyCommands
clawnify init [dir] # Scaffold a new project (asks: app or website)
clawnify init --type website # Skip the prompt, scaffold an Astro site
clawnify login # Authenticate with Clawnify
clawnify deploy [dir] # Deploy to production (app or website, auto-detected from clawnify.json)
clawnify deploy --from owner/repo # Deploy from a GitHub repo (apps only)
clawnify link <app-id> # Re-bind .clawnify/project.json to an existing app
clawnify org list # List orgs you belong to
clawnify org use <slug-or-id> # Switch the active org (global)
clawnify ls # List your deployed apps
clawnify open <slug> # Open app in browser
clawnify logs <app-id> # View build logs
clawnify rm <app-id> # Delete an app
clawnify whoami # Show current userWebsites
clawnify init --type website scaffolds a minimal Astro project:
my-site/
src/
pages/index.astro
layouts/BaseLayout.astro
styles/global.css # Tailwind v4
astro.config.mjs # @astrojs/cloudflare adapter
clawnify.json # { website: { framework: "astro" } }clawnify deploy tars the source, the platform runs astro build, and the site goes live at <slug>.myclawnify.com. Each org has one website — every deploy overwrites it.
Deploy from GitHub
Any repo with a clawnify.json can be deployed:
npx clawnify deploy --from clawnify/open-fieldserviceclawnify.json
Add this to your repo root to make it deployable:
{
"$schema": "https://app.clawnify.com/schema/v1/clawnify.json",
"name": "My App",
"description": "What the app does",
"app": {
"framework": "react+hono",
"database": true
}
}Claude Code / MCP Integration
Use Clawnify as a tool in Claude Code:
claude mcp add clawnify -- npx clawnify --mcpThen Claude Code can deploy apps directly:
> Deploy this app to ClawnifyAvailable MCP tools: deploy, list_apps, get_app, delete_app.
How It Works
Your code → clawnify deploy → tar.gz upload → build on Cloudflare
→ D1 database created
→ Schema applied
→ Vite builds frontend
→ Deployed to Workers for Platforms
→ Live at *.apps.clawnify.comLocal dev uses wrangler dev which runs D1 as local SQLite — identical to production. No conversion, no surprises.
Frameworks
| Framework | Stack |
|-----------|-------|
| react+hono | React 19 + Tailwind v4 frontend + Hono API + D1 (default) |
| preact+hono | Preact frontend + Hono API + D1 |
| vite-preact | Vite + Preact SPA |
| static | Static HTML/CSS/JS |
Links
- Website
- Dashboard
- Deploy Button — one-click deploy for any repo with
clawnify.json - JSON Schema — editor autocomplete for
clawnify.json
