[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"pack-detail-self-hosted-productivity-zh":3,"seo:pack:self-hosted-productivity:zh":76},{"code":4,"message":5,"data":6},200,"操作成功",{"pack":7},{"slug":8,"icon":9,"tone":10,"status":11,"status_label":12,"title":13,"description":14,"items":15,"install_cmd":75},"self-hosted-productivity","🗂","#0F766E","stable","稳定","自建办公套件","Nextcloud \u002F BookStack \u002F AFFiNE \u002F Outline \u002F Stirling PDF — 在自己服务器跑一套 Notion+Google Docs+Acrobat 替代方案。",[16,28,37,47,54,61,68],{"id":17,"uuid":18,"slug":19,"title":20,"description":21,"author_name":22,"view_count":23,"vote_count":24,"lang_type":25,"type":26,"type_label":27},910,"e8506b82-34a9-11f1-9bc6-00163e2b0d79","nextcloud-self-hosted-cloud-platform-files-calendar-more-e8506b82","Nextcloud — Self-Hosted Cloud Platform for Files, Calendar & More","Nextcloud is the leading open-source cloud platform for file sync, sharing, calendar, contacts, email, video calls, and office collaboration — a Google Workspace alternative.","AI Open Source",279,0,"en","skill","Skill",{"id":29,"uuid":30,"slug":31,"title":32,"description":33,"author_name":22,"view_count":34,"vote_count":24,"lang_type":25,"type":35,"type_label":36},953,"590e1c8e-34e1-11f1-9bc6-00163e2b0d79","bookstack-simple-self-hosted-documentation-wiki-platform-590e1c8e","BookStack — Simple Self-Hosted Documentation & Wiki Platform","BookStack is a simple, self-hosted documentation platform organized by Shelves, Books, Chapters, and Pages. WYSIWYG\u002FMarkdown editor, LDAP, and powerful search.",383,"config","Config",{"id":38,"uuid":39,"slug":40,"title":41,"description":42,"author_name":43,"view_count":44,"vote_count":24,"lang_type":25,"type":45,"type_label":46},887,"d505e49b-349d-11f1-9bc6-00163e2b0d79","docmost-open-source-collaborative-wiki-documentation-d505e49b","Docmost — Open Source Collaborative Wiki & Documentation","Docmost is an open-source Confluence and Notion alternative for team wikis and documentation, featuring real-time collaboration, rich editor, and permission management.","Script Depot",445,"script","Script",{"id":48,"uuid":49,"slug":50,"title":51,"description":52,"author_name":43,"view_count":53,"vote_count":24,"lang_type":25,"type":45,"type_label":46},952,"58efab21-34e1-11f1-9bc6-00163e2b0d79","outline-fast-knowledge-base-growing-teams-58efab21","Outline — Fast Knowledge Base for Growing Teams","Outline is a beautiful, real-time collaborative knowledge base and wiki. Markdown editor, nested documents, integrations with Slack and Figma, and full-text search.",438,{"id":55,"uuid":56,"slug":57,"title":58,"description":59,"author_name":43,"view_count":60,"vote_count":24,"lang_type":25,"type":26,"type_label":27},905,"fc325975-349f-11f1-9bc6-00163e2b0d79","stirling-pdf-self-hosted-pdf-editor-toolkit-fc325975","Stirling PDF — Self-Hosted PDF Editor & Toolkit","Stirling PDF is the #1 open-source PDF tool on GitHub. Merge, split, convert, compress, OCR, sign, and edit PDFs — all self-hosted with no data leaving your server.",353,{"id":62,"uuid":63,"slug":64,"title":65,"description":66,"author_name":22,"view_count":67,"vote_count":24,"lang_type":25,"type":26,"type_label":27},875,"f8e25455-3474-11f1-9bc6-00163e2b0d79","documenso-open-source-document-signing-platform-f8e25455","Documenso — Open Source Document Signing Platform","Documenso is an open-source DocuSign alternative for self-hosted document signing with PDF e-signatures, audit trails, and Next.js stack.",337,{"id":69,"uuid":70,"slug":71,"title":72,"description":73,"author_name":22,"view_count":74,"vote_count":24,"lang_type":25,"type":26,"type_label":27},466,"a517c512-e1ff-4814-98f6-65dd2757616d","affine-open-source-notion-alternative-a517c512","AFFiNE — Open-Source Notion Alternative","Docs, whiteboards, and databases in one privacy-first workspace. Local-first with real-time collaboration. 66K+ GitHub stars.",272,"tokrepo install pack\u002Fself-hosted-productivity",{"pageType":77,"pageKey":8,"locale":78,"title":79,"metaDescription":80,"h1":13,"tldr":81,"bodyMarkdown":82,"faq":83,"schema":99,"internalLinks":109,"citations":122,"wordCount":135,"generatedAt":136},"pack","zh","自建办公套件：Nextcloud + AFFiNE + Outline · TokRepo","Notion + Google Docs + Acrobat 自托管全替代 —— Nextcloud \u002F BookStack \u002F AFFiNE \u002F Outline \u002F Stirling PDF，TokRepo 一条命令装齐整套。","七个自托管生产力工具 —— Nextcloud \u002F BookStack \u002F AFFiNE \u002F Outline \u002F Stirling PDF + 两个辅助 —— 一起替代 Notion \u002F Google Docs \u002F Acrobat，全部在你掌控的硬件上。TokRepo 一条命令通过 Docker Compose 起整个套件。","## 这个 pack 装了什么\n\n这个 pack 收齐了 **七个可自托管的办公应用**，组合起来覆盖 Notion + Google Docs + Acrobat 的全部范围 —— 但跑在你掌控的硬件上。每一个都开源、有活跃维护者、有官方 Docker 镜像。\n\n| # | 应用 | 替代 |\n|---|---|---|\n| 1 | Nextcloud | Google Drive + 日历 + 通讯录 |\n| 2 | AFFiNE | Notion（文档 + 白板 + DB） |\n| 3 | Outline | Confluence \u002F Notion wiki |\n| 4 | BookStack | GitBook \u002F 结构化文档 |\n| 5 | Stirling-PDF | Adobe Acrobat |\n| 6 | Logseq | Obsidian \u002F Roam（图谱笔记） |\n| 7 | MarkItDown | 手动文件 → markdown 转换 |\n\n前三个是承重墙。BookStack 和 Logseq 按团队形态二选一。Stirling-PDF 和 MarkItDown 是每次装机都迟早会用到的辅助。\n\n## 为什么自托管办公工具\n\n卖点不是 「省钱」 —— 五十人以下团队把自己运维时间算上之后省不了多少。真正的赢点：\n\n- **数据驻地**。内容从不离开你掌控的网络边界。受监管行业、GDPR、中国大陆部署、或客户问「数据在哪」的场景必须\n- **供应商独立**。Notion 三年涨价三次。Google Workspace 每次续费涨价。自托管应用不会涨价，因为没有定价\n- **AI 接入不用走第三方网关**。doc 存储在你网络里，本地 LLM 就能读。Notion API 限流和 AFFiNE 没限流不是同一个东西\n- **可定制**。AFFiNE 有插件 API。Outline 允许硬 fork。Nextcloud 有 200+ 官方应用。Notion 给你「导入 \u002F 导出」\n\n不自托管的论据是运维成本。你会跑 Docker、Postgres、S3 兼容对象存储、备份流水线。零运维容量就别下来。\n\n## 一条命令装齐\n\n```bash\n# 装整个 pack（7 个的 Docker Compose）\ntokrepo install pack\u002Fself-hosted-productivity\n\n# 或单装\ntokrepo install nextcloud\ntokrepo install affine\ntokrepo install outline\n```\n\nTokRepo manifest 给你一份 Docker Compose 文件，Postgres \u002F Redis \u002F MinIO \u002F 反向代理配置全接好。你加个域名，跑 `docker compose up -d`，套件就出来了。SSL 走 Caddy 自动 Let's Encrypt。\n\n## 常见踩坑\n\n- **备份不是可选项**。七个应用都把状态存在 Postgres + 对象存储里。两边都要备份。每晚 `pg_dump` + rclone 桶是最低标准。每季度演练恢复\n- **Outline 上规模要 SSO**。20 人以上用 Outline 邮箱密码模式很痛。第一天就接 Authelia 或 Authentik\n- **AFFiNE 本地优先意味着部分同步冲突**。两台笔记本离线编辑后合并可能丢块。把云端 workspace 当真理来源，本地副本当缓存\n- **Stirling-PDF 本地跑 OCR**。扫一份 200 页 PDF 能把一个 CPU 核打满几分钟。同一台机器还跑用户应用就单独起容器并设 CPU 限\n- **Nextcloud 客户端同步吃带宽**。每个客户端默认 30 秒轮询一次。远程团队会把上行打满。按客户端调轮询间隔\n\n## 这个 pack 单独不够时\n\n团队主要需求是 *AI 接知识*，这个 pack 是存储层 —— 配 **AI 第二大脑** 当上层检索 \u002F 图谱。需求是 *对外内容 API*，**AI 友好 Headless CMS** pack 更合适。还想从浏览器层删追踪器，**反追踪 Web** pack 是配套前端栈。",[84,87,90,93,96],{"q":85,"a":86},"这个栈真的免费吗？","七个应用全部按宽松或 copyleft 许可证开源。成本是硬件和运维时间。一台中等 VPS（4 vCPU \u002F 16GB \u002F 200GB SSD）月费约 30 美元能跑下整个套件，支撑 20 人团队。更大团队要 Postgres 和对象存储独立。没有按席位收费、没有 SaaS 账单、没有 API 配额。",{"q":88,"a":89},"跟 Notion 比怎么样？","Notion 是一个打磨好的产品；这个 pack 是七个专长应用。AFFiNE 是最接近的单替代（文档 + 白板 + DB 视图），但模板生态还不如 Notion。Outline 在结构化 wiki 上比 Notion 强。Nextcloud 把 Notion 的文件存储缺口补上。50 人组织，整套 pack 比 Notion Team 便宜（前提是你已有一台服务器）。",{"q":91,"a":92},"Claude Code 或 Cursor 能读这个栈里的文档吗？","能。Nextcloud 有 WebDAV API。AFFiNE 暴露 GraphQL API。Outline 有公开 REST API。这个 pack 配我们的 MCP Server Stack pack + 对应 MCP server，agent 就能直接读 \u002F 写 \u002F 搜你的知识库。",{"q":94,"a":95},"跟 Confluence + Google Workspace 比？","Confluence 和 Google Workspace 是 SaaS —— 接受第三方数据驻地就行。这个 pack 给那种不能或不想接受的团队。纯论功能，Confluence 结构化权限更强；AFFiNE 实时协作更强；Outline 每次开页面都比 Confluence 快。",{"q":97,"a":98},"运维上的坑？","存储增长。Nextcloud 相册、AFFiNE 白板导出、Stirling OCR 缓存都会随时间膨胀。Nextcloud 设每用户配额（默认无限），AFFiNE 的 `\u002Ftmp` 每周清，MinIO 桶上加 lifecycle 策略。不做这些，200GB 盘半年内能干到 95%。",{"@context":100,"@type":101,"name":102,"description":103,"numberOfItems":104,"publisher":105},"https:\u002F\u002Fschema.org","CollectionPage","Self-Hosted Productivity Suite","Nextcloud, BookStack, AFFiNE, Outline, Stirling PDF — a full Notion+Google Docs+Acrobat replacement on your own server.",7,{"@type":106,"name":107,"url":108},"Organization","TokRepo","https:\u002F\u002Ftokrepo.com",[110,114,118],{"url":111,"anchor":112,"reason":113},"\u002Fzh\u002Fpacks\u002Fprivacy-first-web","反追踪 Web","互补的自建阅读 \u002F 搜索栈",{"url":115,"anchor":116,"reason":117},"\u002Fzh\u002Fpacks\u002Fai-second-brain","AI 第二大脑","在这些工具上层的知识图谱",{"url":119,"anchor":120,"reason":121},"\u002Fzh\u002Fpacks\u002Fheadless-cms-for-ai","AI 友好 Headless CMS","需要 API 优先的内容后端而非文档应用时",[123,127,131],{"claim":124,"source_name":125,"source_url":126},"Nextcloud is a fully self-hosted productivity platform with files, calendar, and groupware","Nextcloud GitHub","https:\u002F\u002Fgithub.com\u002Fnextcloud\u002Fserver",{"claim":128,"source_name":129,"source_url":130},"AFFiNE is an open-source workspace combining docs, whiteboards, and databases","AFFiNE GitHub","https:\u002F\u002Fgithub.com\u002Ftoeverything\u002FAFFiNE",{"claim":132,"source_name":133,"source_url":134},"Stirling-PDF runs locally and offers PDF manipulation without cloud uploads","Stirling-PDF GitHub","https:\u002F\u002Fgithub.com\u002FStirling-Tools\u002FStirling-PDF",429,"2026-05-02T15:00:00Z"]