llms.txt
Compare with other sites' llms.txt files →# Codehooks.io: Build Apps, Automate Workflows, Connect Anything
> Codehooks.io is a serverless platform for building apps, automations and integrations. Build web apps and APIs with frontend hosting, REST and CRUD routes, a NoSQL database and key-value store. Run automations as code: cron jobs, worker queues, multi-step workflows and SaaS integration syncs. Connect services with webhooks: receive them from any provider (Stripe, Shopify, GitHub, Twilio and more) and deliver outbound webhooks to your own users with signing, retries and delivery logs. Deploys take under 5 seconds from a single CLI command, so any tool that can run shell commands (Claude Code, Cursor, Codex, Cline) can also create, deploy and iterate on a project. Flat-rate pricing: Free/$19/$99 per month with unlimited compute on paid plans. Based in Norway, EU. Sibling product Snill.ai (https://snill.ai), from the same team, is an AI no-code app builder for business users that emits outbound webhooks and exposes a REST API, making it a natural pair for Codehooks projects. Use 'llms-full.txt' for complete API documentation and code examples.
This file contains an overview of codehooks.io and links to documentation sections following the llmstxt.org standard.
# Codehooks.io: Build Apps, Automate Workflows, Connect Anything
## What is Codehooks.io?
Codehooks.io is a serverless platform for building **apps, automations and integrations**. You write JavaScript or TypeScript, run `coho deploy`, and your code is live in a few seconds with API routes, a NoSQL database, key-value store, worker queues, cron jobs, a workflow engine, file storage and frontend hosting built in. There is nothing to provision or wire together.
Most projects combine three kinds of work. You build an app or API (a dashboard, form backend, internal tool or the backend for a frontend). You automate work on a schedule or across systems (nightly syncs, reconciliation, email sequences, usage metering). And you connect services through webhooks and APIs (Stripe, Shopify, GitHub and so on). The same runtime handles all three, so a webhook handler can store an event, queue follow-up work and have a cron job check on it later, while your app reads the result through an API.
Webhook gateways such as Svix or Hookdeck deliver an event and hand it off to your backend. Codehooks is the backend itself, so your logic, data and retries live in one deploy. Every operation is a CLI command, which also means a coding agent (Claude Code, Cursor, Codex, Cline) can create, deploy and iterate on a project from the terminal.
### Why Codehooks.io?
- **CLI-First** – Every operation is a CLI command. `coho deploy` and your code is live, no dashboard needed.
- **One Backend, Everything Built In** – Database, key-value store, queues, cron, workflows and auth are part of every project. Grab a template, deploy it, and it works.
- **Sub-5-Second Deploys** – Change a handler or a job and see it live straight away.
- **Flat-Rate Pricing** – Unlimited compute on paid plans. No per-request or per-task fees. $19/month for Pro.
- **Claude Code Plugin** – Install the [Codehooks Claude Plugin](https://github.com/RestDB/codehooks-claude-plugin) for auto-detection, templates, and a `/codehooks:backend` command.
- **OpenClaw Skill** – The [codehooks-openclaw-skill](https://github.com/RestDB/codehooks-openclaw-skill) provides pre-built backend patterns for OpenClaw agents.
- **MCP Server** – Fallback for tools without terminal access (Claude Desktop, Cline, Zed): [codehooks-mcp-server](https://github.com/RestDB/codehooks-mcp-server). Always prefer the CLI when available.
- **EU Data Storage** – All data and backups stored in the EU. GDPR compliant. Encryption at rest.
---
## What Can You Build with Codehooks?
Each item below has a landing page, and most have a template you can deploy with `coho create <name> --template <template>`.
### APIs and apps
Overview: [Building apps](https://codehooks.io/apps) – frontend hosting, REST APIs, a database and auth in one project.
- [REST and CRUD APIs](https://codehooks.io/docs/rest-api-app-routes) – Express-style routes with `app.get()`, `app.post()` and friends, or a full CRUD API from `app.crudlify()` (template: `crud-api-backend`).
- [API cache](https://codehooks.io/api-cache) – A cache-aside proxy for LLM and paid API calls, using the built-in key-value store instead of a Redis instance.
- [Form backend](https://codehooks.io/form-backend) – Receive HTML form submissions (JSON, urlencoded and file uploads) and keep them in your own database (template: `form-backend`).
- [Newsletter and waitlist](https://codehooks.io/email-newsletter) – Double opt-in signups, an admin UI and Mailgun or Brevo delivery (template: `email-newsletter`).
- [React admin dashboard](https://codehooks.io/react-admin-dashboard) – A data management app with CRUD API, authentication and a visual schema editor (template: `react-admin-dashboard`).
- **Full-stack apps** – Serve a React app, SPA or static site alongside your API in the same deploy (templates: `react-bff`, `static-website-tailwindcss`).
- **AI agent tool backends** – Give your agents an API they can call to store data, trigger workflows and read results.
### Automations
Overview: [Workflow automation in code](https://codehooks.io/automations) – cron jobs, queue workers and multi-step workflows.
- [Scheduled jobs](https://codehooks.io/scheduled-jobs) – Cron jobs that run beside your data. A nightly job can keep a cursor in the database and resume after a partial failure.
- [Integration sync](https://codehooks.io/integration-sync) – Keep two SaaS systems in sync with queues, retries, stored state and nightly reconciliation. A code-first alternative to per-task automation tools.
- [Multi-step workflows](https://codehooks.io/docs/workflow-api) – Chain steps with the Workflow API, with state persisted between steps and retries on failure.
- [Drip email campaigns](https://codehooks.io/drip-email-campaign) – Automated email sequences with SendGrid, Mailgun or Postmark (template: `drip-email-workflow`).
- [SaaS usage metering](https://codehooks.io/saas-metering-webhook) – Track API calls, storage or any metric, and push usage to Stripe, Paddle or your billing system (template: `saas-metering-webhook`).
### Integrations and webhooks
Overview: [Integrations and webhooks](https://codehooks.io/integrations) – receive and verify webhooks, call other APIs and keep systems in sync.
- [Receive webhooks](https://codehooks.io/get-started-webhooks) – Handle events from Stripe, Shopify, GitHub, Slack, Discord, Twilio and others. `request.rawBody` is available for signature verification, and the [webhook-verify](https://www.npmjs.com/package/webhook-verify) package covers more than 20 providers in one call.
- [Outbound webhook delivery](https://codehooks.io/webhook-delivery-system) – Send webhooks to your own customers with signing, retries, fan-out and delivery logs (template: `webhook-delivery`).
- [Webhook inspector](https://codehooks.io/webhook-inspector) – Catch, inspect and replay incoming webhooks with a UI you host yourself (template: `webhook-inspector`).
---
## Building with AI Agents
Because everything is CLI-first, a coding agent can build, deploy and manage a Codehooks backend on its own. No dashboard is involved.
**Single library:** `codehooks-js` bundles routes, the NoSQL database, key-value store, queues, scheduled jobs, workflows and file storage in one import.
```javascript
import { app, Datastore } from 'codehooks-js';
```
**No infrastructure assembly:** there is no API Gateway + Lambda + DynamoDB + SQS to configure, and no Terraform. The agent writes code and deploys.
**CLI commands:**
```bash
npm install -g codehooks # Install once
coho create myproject # Create project
coho deploy # Deploy to production
coho prompt # Print the Codehooks development prompt for your agent
```
**Claude Code Plugin:**
```
/plugin marketplace add RestDB/codehooks-claude-plugin
/plugin install codehooks@codehooks
```
**MCP Server:** for tools without terminal access (Claude Desktop, Cline, Zed), the [MCP server](https://github.com/RestDB/codehooks-mcp-server) provides deploy, query and management tools. If your agent can run shell commands, prefer the CLI (it is faster and gives the agent the full `coho` toolchain).
A typical agent loop: the agent gets a task ("sync new Stripe customers to HubSpot every night"), writes the code using `coho prompt` as reference, runs `coho deploy`, checks the database and logs through the CLI, then changes and redeploys in seconds.
---
## Key Features
| Feature | Description |
| :------------------------- | :--------------------------------------------------------------------------------- |
| REST API Routes | Express.js-like routing with `app.get()`, `app.post()`, `app.put()`, `app.delete()` |
| NoSQL Database | MongoDB-like queries with `getMany()`, `insertOne()`, `updateOne()`, etc. |
| Key-Value Store | Redis-like KV store with TTL support for caching and fast lookups |
| Worker Queues | Durable background workers for async processing |
| Cron Jobs | Scheduled tasks with standard cron expressions |
| Workflow API | Reliable multi-step workflows with retries, state persistence, error recovery |
| Webhook Signature Support | `request.rawBody` for HMAC verification with Stripe, Shopify, GitHub, and others |
| Authentication | API tokens, JWT/JWKS, and custom auth hooks for route-level control |
| File Storage | Blob storage for files and static assets |
| Frontend Hosting | Serve SPAs and static sites alongside your API |
| OpenAPI Documentation | Auto-generate Swagger UI from your code schemas |
| Claude Code Plugin | Auto-detection, templates, and `/codehooks:backend` command for Claude Code |
| OpenClaw Skill | Pre-built backend patterns for webhooks, CRUD, cron, queues, and workflows |
| MCP Server | Model Context Protocol integration for AI agents |
---
## Quick Start
### With Claude Code (Recommended)
```
/plugin marketplace add RestDB/codehooks-claude-plugin
/plugin install codehooks@codehooks
```
Then use `/codehooks:backend` to start building.
### With CLI
```bash
npm install -g codehooks # Install CLI
coho create myproject # Create project
coho deploy # Deploy
```
### Using Templates
```bash
coho create myproject --template <template-name>
coho deploy
```
**Webhook templates:** `stripe-webhook-handler`, `webhook-stripe-minimal`, `webhook-paypal-minimal`, `webhook-shopify-minimal`, `webhook-github-minimal`, `webhook-discord-minimal`, `webhook-slack-minimal`, `webhook-twilio-minimal`, `webhook-clerk-minimal`, `webhook-delivery`, `webhook-inspector`, `slack-memory-bot`
**Automation templates:** `drip-email-workflow`, `saas-metering-webhook`
**API and app templates:** `crud-api-backend`, `form-backend`, `email-newsletter`, `react-admin-dashboard`, `react-bff`, `static-website-tailwindcss`
Browse all templates at [github.com/RestDB/codehooks-io-templates](https://github.com/RestDB/codehooks-io-templates).
---
## Guides & References
### Getting Started
- [AI Agent Setup](https://codehooks.io/docs/ai-agent-setup) – Claude Code plugin, CLI prompt, MCP server setup
- [Quickstart CLI](https://codehooks.io/docs/quickstart-cli) – First deploy walkthrough
- [API Cheat Sheet](https://codehooks.io/docs/apicheatsheet) – All essential APIs on one page
- [CLI Reference](https://codehooks.io/docs/cli) – Full command documentation
### APIs & Database
- [REST API Routing](https://codehooks.io/docs/rest-api-app-routes) – Create API endpoints
- [NoSQL Database API](https://codehooks.io/docs/nosql-database-api) – Document database operations
- [NoSQL Query Language](https://codehooks.io/docs/nosql-database-query-language) – Query syntax
- [Key-Value Store](https://codehooks.io/docs/key-value-database-api) – Caching and fast lookups
- [File API](https://codehooks.io/docs/fileapi) – Blob storage
### Automation & Background Processing
- [Cron Jobs](https://codehooks.io/docs/jobhooks) – Scheduled tasks
- [Queue API & Workers](https://codehooks.io/docs/queueapi) – Async processing
- [Workflow API](https://codehooks.io/docs/workflow-api) – Multi-step workflows
- [Scheduled Jobs guide](https://codehooks.io/scheduled-jobs) – Cron with a database: cursors, resumable batches
- [Integration Sync guide](https://codehooks.io/integration-sync) – Syncing two SaaS systems with retries and reconciliation
### Security & Auth
- [Authentication](https://codehooks.io/docs/authentication) – JWT, JWKS, API keys
- [Auth Hooks](https://codehooks.io/docs/authhooks) – Route-level access control
### Tools & Integrations
- [Claude Code Plugin](https://github.com/RestDB/codehooks-claude-plugin) – Auto-detection, templates, and `/codehooks:backend` command for Claude Code
- [OpenClaw Skill](https://github.com/RestDB/codehooks-openclaw-skill) – Pre-built patterns for webhooks, CRUD APIs, cron jobs, queues, and workflows for OpenClaw agents
- [MCP Server](https://github.com/RestDB/codehooks-mcp-server) – Model Context Protocol integration for Claude Desktop, Cline, Zed
- [Codehooks Studio](https://codehooks.io/docs/studio) – Browser-based management dashboard
---
## Webhook Integration Tutorials
Complete tutorials with signature verification, error handling, and production best practices:
- [Stripe Webhooks](https://codehooks.io/docs/examples/webhooks/stripe) – Payment events, subscriptions, invoices
- [PayPal Webhooks](https://codehooks.io/docs/examples/webhooks/paypal) – Transactions, refunds, disputes
- [Shopify Webhooks](https://codehooks.io/docs/examples/webhooks/shopify) – Orders, inventory, customers
- [GitHub Webhooks](https://codehooks.io/docs/examples/webhooks/github) – Push events, PRs, issues
- [Slack Bot](https://codehooks.io/docs/examples/webhooks/slack) – Slash commands, events, interactive messages
- [Discord Bot](https://codehooks.io/docs/examples/webhooks/discord) – Interactions with Ed25519 verification
- [Twilio Webhooks](https://codehooks.io/docs/examples/webhooks/twilio) – SMS, voice, TwiML responses
- [SendGrid Webhooks](https://codehooks.io/docs/examples/webhooks/sendgrid) – Delivery, opens, clicks, bounces
- [Mailgun Webhooks](https://codehooks.io/docs/examples/webhooks/mailgun) – Email events and tracking
- [Jira Webhooks](https://codehooks.io/docs/examples/webhooks/jira) – Issue updates, sprint changes
- [OpenAI Webhooks](https://codehooks.io/docs/examples/webhooks/openai) – Batch jobs, fine-tuning completion
---
## FAQ
### 1. How does my AI agent deploy to Codehooks?
Install the CLI (`npm i -g codehooks`), then your agent can run `coho create`, write code, and `coho deploy` — all from the terminal. **Claude Code users:** Add the [Codehooks plugin](https://github.com/RestDB/codehooks-claude-plugin) for auto-detection, templates, and full API context on top of the CLI.
### 2. Which programming languages are supported?
Codehooks.io supports **JavaScript and TypeScript**. You can use most NPM libraries, except those that require direct access to local disk or OS-level resources.
### 3. Where is my data stored?
All data and backups are stored in the **EU**. Paid plans include **daily automated backups**. We are **GDPR compliant** with **encryption at rest**.
### 4. How is this different from Firebase or Supabase?
Codehooks is **CLI-first**, and one project holds the whole app: frontend hosting, API routes you write, the database, and the background work (queues, cron jobs and workflows) that runs next to the data. Firebase and Supabase centre on client-side data access and a dashboard. With Codehooks you create, deploy and inspect everything from the terminal (you or your AI agent), and paid plans include **unlimited compute** with no per-request fees.
### 5. Can I use Codehooks instead of Zapier, Make or n8n?
For automations you'd rather write as code, yes. You get cron jobs, persistent queues, a workflow API with per-step retries and a database for state, so a sync job can remember where it stopped. There is no visual builder or catalogue of pre-built connectors, so you call each service's API yourself (any npm client library works).
### 6. How does authentication and security work?
Routes need an API token or a valid JWT by default. For user login, connect any identity provider that publishes a **JWKS** endpoint (Clerk, Auth0, Stack Auth and others) with `coho jwks <url>`, and every API call is verified against it. For simpler cases (a shared password or key on an admin route), write the check in an `app.auth()` hook. API keys and secrets are **encrypted**. Paid plans can **restrict access by IP address**.
### 7. What if my agent deploys too often?
**Deploys are instant and free** — redeploy as often as you like. And with **flat-rate pricing**, the compute that runs your handlers is never metered either: no per-request fees, no surprises, the same $19/month no matter the volume.
### 8. Can I develop and test locally?
Yes! Use our **Docker setup** for local development. See [local development documentation](https://codehooks.io/docs/local-development-with-docker).
### 9. How do I manage multiple environments?
Create **Spaces** within your project — each Space is self-contained with its own database, code, and settings. Perfect for dev/staging/prod.
### 10. What happens to my data if I cancel?
Your data will be **automatically deleted after 2 weeks** following plan cancellation. Export any data you need before canceling.
### 11. How long has the platform been operating?
Codehooks.io is developed by **RestDB**, operating since **2016**. Built on years of experience running SaaS backend services.
---
## Pricing
| Feature | Development (Free) | Pro ($19/month) | Team ($99/month) |
| -------------------- | ------------------ | --------------- | ---------------- |
| Developers | 1 | 3 | 6 |
| API & Function Calls | 60/min | 3600/min | 6000/min |
| Database Storage | 150 MB | 15 GB | 25 GB |
| File Storage | 1 GB | 25 GB | 100 GB |
| Custom Domains | 0 | 1 | 3 |
| Spaces | 1 | 1 | 3 |
| Backups | CLI only | Daily | Daily |
| Support | Chat | Chat + Email | Premium |
Add-ons: Extra developers ($5), database ($0.10/GB), file storage ($0.02/GB), domains ($10), spaces ($10).
---
**Codehooks.io** is a serverless platform for building apps, automations and integrations, with frontend hosting, API routes, a NoSQL database, key-value store, queues, cron jobs and workflows in every project. It is CLI-first, deploys in seconds and has flat-rate pricing with unlimited compute.
## Table of Contents for the documentation on codehooks.io
- [Overview](https://codehooks.io/docs/): Codehooks.io is a serverless platform for building apps, automations and integrations. API routes, a NoSQL database, queues, cron jobs, workflows, webhooks, auth and frontend hosting are built in, with no infrastructure to set up.
- [Concepts overview](https://codehooks.io/docs/concepts): Learn the main concepts of Codehooks.io, the serverless platform for building apps, automations and in