toeverything/AFFiNE

GitHub: toeverything/AFFiNE

一个开源且本地优先的下一代知识库,融合了 Notion 的文档管理与 Miro 的白板绘图能力,支持自托管和 AI 辅助创作。

Stars: 64452 | Forks: 4514

AFFiNE.Pro
Write, Draw and Plan All at Once

affine logo

A privacy-focused, local-first, open-source, and ready-to-use alternative for Notion & Miro.
One hyper-fused platform for wildly creative minds.



AFFiNE - One app for all - Where Notion meets Miro | Product Hunt

主页 | Discord | 在线演示 | 博客 | 文档

[![Releases](https://img.shields.io/github/downloads/toeverything/AFFiNE/total)](https://github.com/toeverything/AFFiNE/releases/latest) [![All Contributors](https://img.shields.io/github/contributors/toeverything/AFFiNE)](#contributors) [![TypeScript-version-icon]](https://www.typescriptlang.org/)

Docs、画布和表格在 AFFiNE 中实现了超级融合 —— 正如单词 affine (əˈfʌɪn | a-fine) 那样。

## 什么是 AFFiNE [AFFiNE](https://affine.pro) 是一个开源的一体化工作区,也是一个用于组装知识库及更多内容(如 wiki、知识管理、演示和数字资产)构建块的操作系统。它是 Notion 和 Miro 的更好替代方案。 ## 功能特性 **真正的无边界画布,支持任何形式的块。文档和白板现已完全融合。** - 许多编辑器应用声称是用于生产力画布,但 AFFiNE 是极少数允许您将任何构建块放在无边画布上的应用之一 —— 富文本、便签、任何嵌入式网页、多视图数据库、链接页面、形状,甚至幻灯片。我们应有尽有。 **多模态 AI 伙伴随时准备介入任何工作** - 撰写专业的工作报告?将大纲转化为富有表现力和可展示的幻灯片?将文章总结为结构良好的思维导图?整理您的工作计划和任务积压?或者……直接通过一个提示词绘制和编写原型应用及网页?[AFFiNE AI](https://affine.pro/ai) 与您同在,将您的创造力推向想象的边缘,就像 [Canvas AI](https://affine.pro/blog/best-canvas-ai) 生成思维导图进行头脑风暴一样。 **本地优先 & 实时协作** - 我们热爱本地优先的理念,即无论云服务如何,您始终拥有磁盘上的数据。此外,AFFiNE 支持 Web 端和跨平台客户端的实时同步与协作。 **自托管 & 塑造您自己的 AFFiNE** - 您拥有管理、自托管、复刻(fork)和构建您自己 AFFiNE 的自由。插件社区和第三方块即将推出。更多动态请关注 [Blocksuite](https://blocksuite.io)。前往查看如何[自托管 AFFiNE](https://docs.affine.pro/self-host-affine)。 ## 致谢 “我们塑造工具,此后工具塑造我们”。许多先驱者一路启发着我们,例如: - Quip & Notion 及其“万物皆块”的伟大概念 - Trello 及其看板 - Airtable & Miro 及其无代码可编程数据表 - Miro & Whimiscal 及其无边界可视化白板 - Remote & Capacities 及其基于对象的标签系统 这些应用的原子“构建块”之间存在大量重叠。它们不是开源的,也没有像 VSCode 那样的插件系统供贡献者定制。我们想要一个包含我们喜爱的所有功能并且更进一步的工具。 感谢您的关注,我们感谢您的兴趣并真诚希望 AFFiNE 能引起您的共鸣!🎵 访问 https://affine.pro/ 获取更多详情。 ## 模板 AFFiNE 现在提供我们团队预构建的[模板](https://affine.pro/templates)。以下是 AFFiNE 用户中最受欢迎的前 10 个模板,如果您想做出贡献,您可以贡献自己的模板,以便其他人也可以使用。 - [愿景板模板](https://affine.pro/templates/category-vision-board-template) - [单页模板](https://affine.pro/templates/category-one-pager-template-free) - [数学教案样本模板](https://affine.pro/templates/sample-lesson-plan-math-template) - [免费 GRR 教案模板](https://affine.pro/templates/grr-lesson-plan-template-free) - [学前班免费可编辑教案模板](https://affine.pro/templates/free-editable-lesson-plan-template-for-pre-k) - [高音符收集计划表](https://affine.pro/templates/high-note-collection-planners) - [数字计划表](https://affine.pro/templates/category-digital-planner) - [ADHD 计划表](https://affine.pro/templates/adhd-planner) - [阅读日志](https://affine.pro/templates/reading-log) - [康奈尔笔记模板](https://affine.pro/templates/category-cornell-notes-template) ## 博客 欢迎来到 AFFiNE 博客版块!在这里,您将找到关于如何最大化利用 AFFiNE 和 AFFiNE AI(领先的用于灵活笔记和创意组织的 Canvas AI 工具)的最新见解、技巧和指南。 - [愿景板模板](https://affine.pro/blog/8-free-printable-vision-board-templates-examples-2023) - [AI 作业助手](https://affine.pro/blog/ai-homework-helper) - [愿景板制作器](https://affine.pro/blog/vision-board-maker) - [行程模板](https://affine.pro/blog/free-customized-travel-itinerary-planner-templates) - [单页模板](https://affine.pro/blog/top-12-one-pager-examples-how-to-create-your-own) - [康奈尔笔记模板](https://affine.pro/blog/the-cornell-notes-template-and-system-learning-tips) - [SWOT 分析图模板](https://affine.pro/blog/top-10-free-editable-swot-analysis-template-examples) - [类似 Luna Task 的应用](https://affine.pro/blog/apps-like-luna-task) - [笔记 AI:从草稿到思维导图](https://affine.pro/blog/dynamic-AI-notes) - [Canvas AI](https://affine.pro/blog/best-canvas-ai) - [单页](https://affine.pro/blog/top-12-one-pager-examples-how-to-create-your-own) - [SOP 模板](https://affine.pro/blog/how-to-write-sop-step-by-step-guide-5-best-free-tools-templates) - [家务表](https://affine.pro/blog/10-best-free-chore-chart-templates-kids-adults) ## 生态系统 | 名称 | | | | ------------------------------------------------ | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | | [@affine/component](packages/frontend/component) | AFFiNE 组件资源 | ![](https://img.shields.io/codecov/c/github/toeverything/affine?style=flat-square) | | [@toeverything/theme](packages/common/theme) | AFFiNE 主题 | [![](https://img.shields.io/npm/dm/@toeverything/theme?style=flat-square&color=eee)](https://www.npmjs.com/package/@toeverything/theme) | ## 上游项目 我们还要感谢那些让 AFFiNE 成为可能的开源项目: - [Blocksuite](https://github.com/toeverything/BlockSuite) - 💠 BlockSuite 是 AFFiNE 背后的开源协作编辑器项目。 - [y-octo](https://github.com/y-crdt/y-octo) - 🐙 y-octo 是一个原生、高性能、线程安全的 YJS CRDT 实现,作为核心引擎使 AFFiNE 客户端/服务器能够实现“本地优先”功能。 - [OctoBase](https://github.com/toeverything/OctoBase) - 🐙 OctoBase 是 AFFiNE 背后的开源数据库,本地优先但支持协作。一个用 Rust 编写的轻量级、可扩展的数据引擎。 - [yjs](https://github.com/yjs/yjs) - 为我们在 Web 上的状态管理和数据同步实现提供 CRDT 的基础支持。 - [electron](https://github.com/electron/electron) - 使用 JavaScript、HTML 和 CSS 构建跨平台桌面应用。 - [React](https://github.com/facebook/react) - 用于 Web 和原生用户界面的库。 - [napi-rs](https://github.com/napi-rs/napi-rs) - 一个通过 Node-API 在 Rust 中构建编译型 Node.js 插件的框架。 - [Jotai](https://github.com/pmndrs/jotai) - 用于 React 的原始且灵活的状态管理。 - [async-call-rpc](https://github.com/Jack-Works/async-call-rpc) - 一个轻量级的 JSON RPC 客户端和服务器。 - [Vite](https://github.com/vitejs/vite) - 下一代前端工具。 - 其他上游[依赖项](https://github.com/toeverything/AFFiNE/network/dependencies)。 非常感谢社区提供如此强大而简单的库,以便我们可以更多地专注于产品逻辑的实现,我们也希望未来我们的项目也能为大家提供一个更易用的知识库。 ## 自托管 从 Docker 开始部署您自己功能丰富且无限制版本的 AFFiNE。我们的团队正在努力更新到最新版本。有关如何自托管 AFFiNE 的更多信息,请参阅我们的[文档](https://docs.affine.pro/self-host-affine)。 [![Run on Sealos](https://sealos.io/Deploy-on-Sealos.svg)](https://sealos.io/products/app-store/affine) [![Run on ClawCloud](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/7d5d1868a7230400.svg)](https://template.run.claw.cloud/?openapp=system-fastdeploy%3FtemplateName%3Daffine) ## 功能请求 有关功能请求,请参阅[讨论](https://github.com/toeverything/AFFiNE/discussions/categories/ideas)。 ## 构建 ### Codespaces 在 GitHub 仓库主页,点击绿色的“Code”按钮并选择“Create codespace on master”。这将打开一个新的 Codespace,其中 AFFiNE 仓库已被(假定自动复刻)克隆、构建并准备就绪。 ### 本地 有关如何从源代码构建 AFFiNE 的说明,请参阅 [BUILDING.md]。 ## 许可证 ### 版本 - AFFiNE Community Edition (CE) 是当前可用的版本,根据 MIT 许可证免费自托管。 - AFFiNE Enterprise Edition (EE) 尚未发布,它将具有更多高级功能和企业级服务,包括但不限于品牌重塑和 SSO、高级管理和审计等,您可以访问 https://affine.pro/pricing 了解更多信息 有关详细信息,请参阅 [LICENSE]。
标签:AFFiNE, Linux 内核安全, Miro替代, Notion替代, Ruby, TypeScript, 区块编辑器, 协同办公, 可视化界面, 团队协作, 安全插件, 待办事项, 文档管理, 本地优先, 生产力工具, 画布, 白板, 看板, 知识库, 知识管理, 笔记软件, 绘图工具, 自动化攻击, 隐私优先, 项目管理