Strapi
CMS & BloggingStrapi 是一个开源的无头 CMS,可对内容 API 提供完全控制。部署到您自己的带有 HTTPS 的服务器上,以避免席位限制和高昂的 SaaS 费用...
部署 Strapi 你会得到什么
我们为它租用的服务器、费用,以及安装时会问你什么。
- 服务器
- CX23 · 2 vCPU · 4 GB RAM
- 起价
- $9/月
- 安装
- 无需配置
每次部署都包含
- 独立服务器,一台一应用
- 自动签发 HTTPS 证书
- 免费子域名,可选自定义域名
- 重启、扩容、快照与恢复
一键部署 Strapi
在你自己的服务器上,数据归你。无需终端、无需 Docker 命令、无需配置证书。
Strapi能力
探索Automatio能为此用例做什么
Content Type Builder
无需编写代码即可可视化设计数据模型。您可以直接在管理面板中定义字段、关系和验证规则,以创建实时更新数据库的复杂 schema。
- 1支持文本、媒体、JSON 和 UID 类型
- 2用于灵活页面布局的动态区域
- 3集合之间的深度关联链接
- 4基于组件的可复用字段组
Strapi能力
- Content Type Builder
无需编写代码即可可视化设计数据模型。您可以直接在管理面板中定义字段、关系和验证规则,以创建实时更新数据库的复杂 schema。
- 支持文本、媒体、JSON 和 UID 类型
- 用于灵活页面布局的动态区域
- 集合之间的深度关联链接
- 基于组件的可复用字段组
- REST 和 GraphQL API
为创建的每个 content type 自动生成有文档记录的端点。系统内置支持复杂的过滤、排序和深度嵌套,可将内容交付给任何设备或框架。
- 支持自文档化的 Swagger/OpenAPI
- 强大的过滤和排序参数
- 用于复杂数据树的深度嵌套
- 包含 JWT 和 API token 身份验证
- 媒体资源库
在一个集中的中心管理所有数字资产,并内置图像优化工具。它支持大文件上传,并允许基于文件夹的组织,使项目资源易于管理。
- 自动图像调整大小和格式转换
- 支持本地存储或云服务商
- 基于文件夹的资源组织
- Alt 文本和元数据管理字段
- 精细的 RBAC
为团队成员定义精确的管理角色以维护安全性。您可以精确控制谁可以查看、编辑或发布特定的内容条目,精确到单个字段级别。
- 从头开始创建自定义用户角色
- 字段级权限设置
- API 端点访问控制级别
- 草稿和发布工作流状态
content.selfHosted.whyTitle
content.selfHosted.tradeoffsTitle
comparisonTable.self-hosted.title
comparisonTable.self-hosted.description
| 方面 | comparisonTable.self-hosted.managedSaas | comparisonTable.self-hosted.diy | comparisonTable.self-hosted.automatio |
|---|---|---|---|
| 每月成本 | 高(基于用量和席位) | 低(VPS 成本) | 低(VPS 成本) |
| 管理员席位 | 受套餐严格限制 | 无限 | 无限 |
| 插件支持 | 仅限应用商店 | 完全的文件系统访问权限 | 完全的文件系统访问权限 |
| 维护 | 零(自动化) | 高(手动打补丁) | 低(托管环境) |
每月成本
管理员席位
插件支持
维护
这适合谁
真正在自己服务器上运行 Strapi 的人,以及这样做带来的改变。
独立开发者
厌倦了臃肿的传统 CMS 工具,但需要一个真正的控制面板。
提供现代化的 API 优先后端和专业的界面,无需额外的许可证费用。
- 为作品集定义自定义 schema
- 将 Next.js 前端连接到 REST API
- 在 GraphQL playground 中测试查询
数字机构负责人
每个小型客户网站都有高昂的每月 SaaS 成本。
允许为客户托管强大的 CMS 实例,而无需支付循环的按席位许可证费用。
- 为客户编辑创建自定义角色
- 设置多语言落地页
- 将带有品牌标识的管理面板交付给客户
初创公司创始人
需要快速行动,而不想构建自定义的管理界面。
自动化后端和数据库工作,使团队能够完全专注于核心产品体验。
- 存储产品功能和定价数据
- 上传应用的营销素材
- 管理用户生成的内容权限
什么是这个提示词?
了解此提示词的功能以及它如何帮助您获得更好的效果。
无头内容引擎
Strapi 填补了需要结构化数据的开发者与需要可视化界面的内容团队之间的鸿沟。自发布以来,它已成为基于 Node.js 的内容管理的标准。与 WordPress 或其他单体 CMS 工具不同,它不提供前端。相反,它通过标准 API 提供 JSON,让您可以使用 React、Next.js 或移动应用来展示数据。
用真实代码进行可视化建模
Strapi 的核心能力是 Content-Type Builder。您可以可视化地定义 schema,包括字符串字段、与其他集合的关系,或是用于灵活布局的动态区域。保存后,Strapi 会在您的项目中生成实际的代码。这意味着您的数据结构是您代码库的一部分,而不仅仅是专有数据库中的隐藏条目。这种方法遵循了 Strapi v5 文档中关于可扩展应用架构的指导。
第一小时:从安装到 API
完成自动化部署后,您将创建一个初始管理员账号。您的第一个任务通常是创建一个 Collection Type,例如文章或产品。添加几个条目后,您可以在设置面板中切换权限以使数据公开。您可以立即查询服务器并看到结构化的 JSON 响应。添加 GraphQL plugin 后,您可以使用完整的 playground 来立即测试复杂的查询。这种易用性经常在 Hacker News 上被讨论,这也是它被广泛采用的主要原因。
基础设施与定位
Strapi 与 Contentful 或 Sanity 等 SaaS 厂商竞争。虽然这些厂商提供更快的启动速度,但它们通常对管理员席位或 content type 施加严格限制,从而迫使昂贵的升级。自托管社区版消除了这些人为的障碍。它比基于 PHP 的替代方案需要更多的系统内存,因此在至少拥有 4GB RAM 的服务器上运行它是必要的,以防止管理面板构建过程失败。在讨论 SSO 要求时,专业人士经常将其与 Directus 等替代方案进行比较。

人们对 Strapi 的评价
看看社区对 Strapi 的看法
“作为一个简单的 CMS 非常棒……开源、可自托管,对管理员和最终用户都有 RBAC 支持。”
“Strapi(没能通过 SSO 税测试, , 除了本地化的实现方式之外,基本上比 Directus 还要差)”
“在 GCP 上自托管 2 个 CPU 和 4GB RAM 的配置更便宜,背后的逻辑是什么?以前要 19 美元,我是漏掉了什么吗?”
“部署在 Strapi Cloud 上的 Strapi 应用极其迟钝,有时会无缘无故宕机,而且一次上传多张图片时……”
“为了防止过度获取(overfetching),strapi 要求你准确告知你想从 API 返回哪些条目。”
“我们的 strapi 应用已经创建好了,我们甚至没有写任何代码,只是使用了简单的 Docker 文件”
关于 Strapi 的视频
观看关于 Strapi 的教程、评测和讨论
“we'll be using the docker version... engine X so that we directly don't expose our file”
“we'll be using the docker version... engine X so that we directly don't expose our file”
“we'll be using the docker version... engine X so that we directly don't expose our file”
“our strappy app has been created and we didn't even code anything”
“To prevent overfetching, strapi requires that you tell exactly the items you want to return from the API”
“In strappy, we first need to create the data structure for our content that we want to manage”
Strapi专业提示
专家提示助您充分利用Strapi。
建议使用至少 4GB RAM
虽然 Strapi 可以在较小的实例上运行,但管理面板的构建过程在 RAM 小于 4GB 的服务器上经常会崩溃。建议选择 CX23 或更高规格的实例。
生产环境建议使用 PostgreSQL
避免在生产环境中使用 SQLite。对于有真实流量的网站,PostgreSQL 数据库可以提供更好的并发性能和数据完整性。
只读 API token
在管理面板中为前端创建专门的只读 token。避免使用完全访问权限的 token,以最大程度减少 token 泄露时的安全风险。
用户评价
用户怎么说
加入数千名已改变工作流程的满意用户
Jonathan Kogan
Co-Founder/CEO, rpatools.io
Automatio is one of the most used for RPA Tools both internally and externally. It saves us countless hours of work and we realized this could do the same for other startups and so we choose Automatio for most of our automation needs.
Mohammed Ibrahim
CEO, qannas.pro
I have used many tools over the past 5 years, Automatio is the Jack of All trades.. !! it could be your scraping bot in the morning and then it becomes your VA by the noon and in the evening it does your automations.. its amazing!
Ben Bressington
CTO, AiChatSolutions
Automatio is fantastic and simple to use to extract data from any website. This allowed me to replace a developer and do tasks myself as they only take a few minutes to setup and forget about it. Automatio is a game changer!
Sarah Chen
Head of Growth, ScaleUp Labs
We've tried dozens of automation tools, but Automatio stands out for its flexibility and ease of use. Our team productivity increased by 40% within the first month of adoption.
David Park
Founder, DataDriven.io
The AI-powered features in Automatio are incredible. It understands context and adapts to changes in websites automatically. No more broken scrapers!
Emily Rodriguez
Marketing Director, GrowthMetrics
Automatio transformed our lead generation process. What used to take our team days now happens automatically in minutes. The ROI is incredible.
Jonathan Kogan
Co-Founder/CEO, rpatools.io
Automatio is one of the most used for RPA Tools both internally and externally. It saves us countless hours of work and we realized this could do the same for other startups and so we choose Automatio for most of our automation needs.
Mohammed Ibrahim
CEO, qannas.pro
I have used many tools over the past 5 years, Automatio is the Jack of All trades.. !! it could be your scraping bot in the morning and then it becomes your VA by the noon and in the evening it does your automations.. its amazing!
Ben Bressington
CTO, AiChatSolutions
Automatio is fantastic and simple to use to extract data from any website. This allowed me to replace a developer and do tasks myself as they only take a few minutes to setup and forget about it. Automatio is a game changer!
Sarah Chen
Head of Growth, ScaleUp Labs
We've tried dozens of automation tools, but Automatio stands out for its flexibility and ease of use. Our team productivity increased by 40% within the first month of adoption.
David Park
Founder, DataDriven.io
The AI-powered features in Automatio are incredible. It understands context and adapts to changes in websites automatically. No more broken scrapers!
Emily Rodriguez
Marketing Director, GrowthMetrics
Automatio transformed our lead generation process. What used to take our team days now happens automatically in minutes. The ROI is incredible.
相关 Self-Hosted Apps
WordPress
from $9/mo
The world's most popular CMS. Bring your blog, business site, or membership community.
Outline
from $9/mo
Outline is a self-hosted knowledge base and documentation platform that allows you to build and manage your own knowledge base applications.
Ghost
from $9/mo
Modern publishing platform — fast, headless-capable, with a clean editor.
Directus
from $9/mo
Directus is an open source headless CMS that provides an API-first solution for building custom backends.
关于Strapi的常见问题
查找关于Strapi的常见问题答案