← 返回公开榜单
op

giorgosn/openclaw-crm

The CRM your AI agent already knows how to use. Open-source, self-hosted, with native OpenClaw Bot integration.

本周新增
0 星
近 3 周倍数
—
距上次推送
245 天
距上次发布
—
许可证
MIT

星标增长

每根柱子是这个周期记录下来的 star 增长:优先取逐个 stargazer 到达时间分桶的到达数,还没被 stargazer 扫描覆盖的仓库改用该周期的 star 净增;两个写者都没记录的周期画成虚线空档,而不是当成 0。柱高按各自窗口的峰值归一,两张图不共用坐标轴。指向任意一根柱子, tooltip 里是该周期的九项指标:当前值与周期内的净增。

指向或点击一根柱子,看当天的九项指标。

9/209/229/249/269/289/3010/210/4

2026 年 9 月 22 日 新增 0 个星标; 2026 年 9 月 23 日 新增 0 个星标; 2026 年 9 月 25 日 新增 1 个星标; 2026 年 9 月 26 日 新增 0 个星标; 2026 年 9 月 27 日 新增 0 个星标; 2026 年 10 月 3 日 新增 0 个星标; 2026 年 10 月 4 日 新增 0 个星标

窗口内最高的一天是 2026 年 9 月 25 日,新增 1 个星标。

证据时间轴

这个项目还没有记录到异动、发布或许可证变化。

README
该仓库存储的文档,若已生成中文翻译则一并显示

OpenClaw CRM

The CRM your AI agent already knows how to use.
Open-source. Self-hosted. Connect your OpenClaw Bot in 2 minutes.

MIT License GitHub Stars TypeScript Next.js 15

Live Demo · Docs · API Reference


Why OpenClaw CRM

Most CRMs are closed-source, expensive, and impossible for AI agents to work with natively. OpenClaw CRM is different: it ships with a full REST API, machine-readable docs, and first-class OpenClaw Bot integration. Your AI agent can search contacts, create deals, update records, and manage tasks without any glue code.

Self-host it on your own server. No vendor lock-in, no per-seat pricing, no data leaving your infrastructure.

OpenClaw Bot Integration

OpenClaw CRM plugs directly into your OpenClaw Bot. Generate a SKILL.md and config from Settings > OpenClaw, drop them into your bot's skills folder, and your agent can manage your CRM through natural language.

  • 40+ REST API endpoints your bot can call
  • Bearer token auth with oc_sk_ prefix API keys
  • Machine-readable docs at /llms-api.txt and /openapi.json

Features

Core CRM

  • People & Companies: contacts and organizations with 17 attribute types (text, number, currency, date, select, status, rating, email, phone, domain, location, personal name, record references, and more)
  • Deals & Pipeline: drag-and-drop Kanban boards with customizable stages
  • Table View: sortable, filterable data tables with inline editing
  • Record Detail: full record pages with related records, activity timeline, notes, and tasks
  • Lists: custom filtered collections with list-specific attributes
  • Notes: rich text editor with auto-save, linked to any record
  • Tasks: deadlines, assignees, record linking, completion tracking
  • Search: full-text search across all records with Ctrl+K command palette
  • CSV Import/Export: bulk import with column mapping and type coercion
  • Filtering & Sorting: compound filters (AND/OR) with attribute-type-aware operators
  • Custom Objects: create your own object types beyond People, Companies, and Deals
  • Notifications: in-app notification system
  • Dark & Light Mode: theme support throughout
  • Responsive: mobile-friendly with collapsible sidebar

Built-in AI Chat Agent

Talk to your CRM data in plain English. Powered by OpenRouter with support for Claude, GPT-4o, Llama, Gemini, and more.

  • 8 read tools (auto-execute): search records, list objects, get record details, list tasks, get notes, browse lists
  • 5 write tools (require confirmation): create/update/delete records, create tasks, create notes
  • Streaming responses with token-by-token output
  • Multi-round tool calling (up to 10 rounds per message)
  • Dynamic system prompt built from your workspace schema
  • Configurable model selection per workspace

Tech Stack

LayerTechnology
FrameworkNext.js 15 (App Router)
LanguageTypeScript
DatabasePostgreSQL 16
ORMDrizzle ORM
AuthBetter Auth
UIshadcn/ui + Tailwind CSS v4
TablesTanStack Table v8
Kanbandnd-kit
Rich TextTipTap
AIOpenRouter (multi-model)
MonorepoTurborepo + pnpm

Prerequisites

  • Node.js 20+
  • pnpm 9+
  • PostgreSQL 16+ (or use Docker)

Quick Start

1. Clone and install

git clone https://github.com/giorgosn/openclaw-crm.git
cd openclaw-crm
pnpm install

2. Set up environment

cp .env.example apps/web/.env

Edit apps/web/.env with your database credentials and a random BETTER_AUTH_SECRET.

3. Start PostgreSQL

Using Docker (recommended):

docker compose up db -d

Or use an existing PostgreSQL instance and update DATABASE_URL in .env.

4. Push database schema

pnpm db:push

5. Seed default data

Seeds workspace, standard objects (People, Companies, Deals), and deal stages:

pnpm db:seed

6. Start development server

pnpm dev

Open http://localhost:3001 and create an account.

Docker Deployment

Development

docker compose up

This starts PostgreSQL and the Next.js dev server.

Production

# Set required env vars
export BETTER_AUTH_SECRET=$(openssl rand -base64 32)

# Build and run
docker compose -f docker-compose.prod.yml up --build -d

See .env.example for all configurable environment variables.

AI Chat Setup

  1. Get an API key from OpenRouter
  2. Go to Settings > AI in the app
  3. Enter your OpenRouter API key and select a model
  4. Navigate to /chat and start talking to your data

Project Structure

openclaw-crm/
├── apps/web/                  # Next.js application
│   ├── src/
│   │   ├── app/               # App Router pages & API routes
│   │   │   ├── (auth)/        # Login, Register
│   │   │   ├── (dashboard)/   # All authenticated pages
│   │   │   ├── chat/          # AI chat interface
│   │   │   ├── docs/          # Documentation page
│   │   │   └── api/v1/        # REST API endpoints
│   │   ├── components/        # React components
│   │   ├── db/                # Drizzle schema, migrations, seed
│   │   ├── lib/               # Auth, utils, query builder
│   │   └── services/          # Business logic layer
│   ├── public/                # Static assets, API docs
│   │   ├── llms.txt           # Product overview for LLMs
│   │   ├── llms-api.txt       # Concise API reference
│   │   ├── llms-full.txt      # Full product + API docs
│   │   └── openapi.json       # OpenAPI specification
│   └── e2e/                   # Playwright E2E tests
├── packages/shared/           # Shared types & constants
├── docker-compose.yml         # Dev Docker config
├── docker-compose.prod.yml    # Production Docker config
└── Dockerfile                 # Multi-stage production build

API

REST API at /api/v1/ with Bearer token authentication.

EndpointMethodsDescription
/api/v1/objectsGET, POSTList/create objects
/api/v1/objects/:slugGET, PATCH, DELETEObject CRUD
/api/v1/objects/:slug/attributesGET, POSTManage attributes
/api/v1/objects/:slug/recordsGET, POSTList/create records
/api/v1/objects/:slug/records/queryPOSTFilter/sort records
/api/v1/objects/:slug/records/:idGET, PATCH, DELETERecord CRUD
/api/v1/objects/:slug/records/importPOSTBulk CSV import
/api/v1/listsGET, POSTList/create lists
/api/v1/lists/:idGET, PATCH, DELETEList CRUD
/api/v1/lists/:id/entriesGET, POSTList entries
/api/v1/notesGET, POSTNotes
/api/v1/tasksGET, POSTTasks
/api/v1/searchGETFull-text search
/api/v1/workspaceGET, PATCHWorkspace settings
/api/v1/workspace-membersGET, POSTMember management
/api/v1/notificationsGETNotifications
/api/v1/api-keysGET, POSTAPI key management
/api/v1/chat/completionsPOSTAI chat (SSE stream)
/api/v1/chat/conversationsGET, POSTChat conversations
/api/v1/chat/tool-confirmPOSTApprove/reject AI writes

Full API documentation at /llms-api.txt and /openapi.json.

Database Schema

Uses a Typed EAV (Entity-Attribute-Value) pattern where record_values has typed columns (text_value, number_value, date_value, timestamp_value, boolean_value, json_value, referenced_record_id) enabling native SQL filtering and indexing on each type.

Running Tests

cd apps/web

# Run E2E tests
pnpm test:e2e

# Run E2E tests with UI
pnpm test:e2e:ui

Contributing

Contributions are welcome. See CONTRIBUTING.md for setup instructions and guidelines.

License

MIT

页面上的每个数字都来自记录下来的 stargazer 到达时间,没有评分公式,也没有 AI 判定。 任何结论都可以用 /api/v1/repos/{id}/stats 里的原始增量自己重算。