twentyhq / twenty

twentyhq / twenty

The #1 Open-Source CRM 排名第一的开源 CRM

Website · Documentation · Roadmap · Discord · Figma 网站 · 文档 · 路线图 · Discord · Figma

Why Twenty 为什么选择 Twenty

Twenty gives technical teams the building blocks for a custom CRM that meets complex business needs and quickly adapts as the business evolves. Twenty is the CRM you build, ship, and version like the rest of your stack. Learn more about why we built Twenty. Twenty 为技术团队提供了构建自定义 CRM 的基础模块,能够满足复杂的业务需求,并随着业务的发展快速调整。Twenty 是一个你可以像管理其他技术栈一样去构建、发布和进行版本控制的 CRM。了解更多关于我们为何构建 Twenty 的信息。

Installation 安装

Cloud 云端版

The fastest way to get started. Sign up at twenty.com and spin up a workspace in under a minute, with no infrastructure to manage and always up to date. 这是最快的入门方式。在 twenty.com 注册,不到一分钟即可启动工作区,无需管理基础设施,且始终保持最新状态。

Build an app 构建应用

Scaffold a new app with the Twenty CLI: 使用 Twenty CLI 快速搭建新应用: npx create-twenty-app my-app

Define objects, fields, and views as code: 以代码形式定义对象、字段和视图:

import { defineObject, FieldType } from 'twenty-sdk/define';

export default defineObject({
  nameSingular: 'deal',
  namePlural: 'deals',
  labelSingular: 'Deal',
  labelPlural: 'Deals',
  fields: [
    { name: 'name', label: 'Name', type: FieldType.TEXT },
    { name: 'amount', label: 'Amount', type: FieldType.CURRENCY },
    { name: 'closeDate', label: 'Close Date', type: FieldType.DATE_TIME },
  ],
});

Then ship it to your workspace: 然后将其发布到你的工作区: npx twenty app:publish --private

See the app development guide for objects, views, agents, and logic functions. 查看应用开发指南,了解关于对象、视图、代理和逻辑函数的更多信息。

Self-hosting 自托管

Run Twenty on your own infrastructure with Docker Compose, or contribute locally via the local setup guide. 使用 Docker Compose 在你自己的基础设施上运行 Twenty,或通过本地设置指南进行本地贡献。

Everything you need 你需要的一切

Twenty gives you the building blocks of a modern CRM (objects, views, workflows, and agents) and lets you extend them as code. Here’s a tour of what’s in the box. Want to go deeper? Read the User Guide for product walkthroughs, or the Documentation for developer reference. Twenty 为你提供了现代 CRM 的基础模块(对象、视图、工作流和代理),并允许你以代码形式对其进行扩展。以下是内置功能的概览。想要深入了解?请阅读《用户指南》获取产品演示,或查阅《文档》获取开发者参考。

Learn more about apps in doc · Learn more about version control in doc · Learn more about primitives in doc · Learn more about layouts in doc · Learn more about AI in doc · Learn more about CRM features in doc 在文档中了解更多关于应用的信息 · 在文档中了解更多关于版本控制的信息 · 在文档中了解更多关于原语的信息 · 在文档中了解更多关于布局的信息 · 在文档中了解更多关于 AI 的信息 · 在文档中了解更多关于 CRM 功能的信息

Stack 技术栈

TypeScript, Nx, NestJS (with BullMQ, PostgreSQL, Redis), React (with Jotai, Linaria and Lingui). TypeScript, Nx, NestJS(配合 BullMQ, PostgreSQL, Redis), React(配合 Jotai, Linaria 和 Lingui)。

Thanks 致谢

Thanks to these amazing services that we use and recommend for UI testing (Chromatic), code review (Greptile), catching bugs (Sentry) and translating (Crowdin). 感谢这些我们正在使用并推荐的优秀服务:UI 测试 (Chromatic)、代码审查 (Greptile)、错误捕获 (Sentry) 以及翻译 (Crowdin)。

Join the Community 加入社区

Star the repo · Discord · Feature requests · Releases · X · LinkedIn · Crowdin · Contribute 为仓库点赞 · Discord · 功能请求 · 版本发布 · X · LinkedIn · Crowdin · 贡献代码