{"slug":"emdash","title":"EmDash，拉完了","description":"昨晚看到有群U说什么能部署在CF的WordPress，我看看怎么个事！","coverImage":"https://b.acofork.com/img/emdash-index.webp","coverWidth":1470,"coverHeight":1230,"date":"2026-07-03","tags":["开发"],"pinned":false,"wordCount":375,"html":"<h2 id=\"这是什么\">这是什么？</h2><p>一句话说，这是一个支持 <strong>完全部署在 Cloudflare 边缘</strong> 上的 <strong>类 WordPress CMS</strong> 。但实际上，若想在CF上部署EmDash，你必须 <a href=\"https://www.cloudflare-cn.com/plans/developer-platform-pricing/\" target=\"_blank\" rel=\"noopener noreferrer\">订阅 Workers Paid</a> 。所以，大部分用户应该只能降级到Nodejs来部署EmDash</p>\n<h2 id=\"它的优点-缺点\">它的优点/缺点？</h2><table>\n<thead>\n<tr>\n<th>优点</th>\n<th>缺点</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>核心WordPress功能全都有</td>\n<td>少外围功能，如插件，主题</td>\n</tr>\n<tr>\n<td>支持从WordPress导入文章</td>\n<td>只能导入文章</td>\n</tr>\n<tr>\n<td>支持在CF边缘部署</td>\n<td>免费用户玩不了</td>\n</tr>\n<tr>\n<td>基于 Astro 6 驱动，有完美的SEO</td>\n<td>设置可配SEO的地方太少了</td>\n</tr>\n<tr>\n<td>所有账户无密码登录，使用通行密钥代替</td>\n<td>普通用户连创建管理员账号都做不到</td>\n</tr>\n<tr>\n<td>框架先进，UI对齐 <a href=\"http://dash.cloudflare.com\" target=\"_blank\" rel=\"noopener noreferrer\">dash.cloudflare.com</a> ，未来可期</td>\n<td>现阶段毛坯房</td>\n</tr>\n</tbody></table>\n<h2 id=\"简单的部署流程\">简单的部署流程？</h2><ol>\n<li>创建项目： <code>npm create emdash@latest</code></li>\n<li>启动开发服务器： <code>npx emdash dev</code></li>\n<li>创建反向代理指向端口 <code>4321</code></li>\n<li>访问EmDash，创建管理员账号</li>\n</ol>\n<h2 id=\"一些槽点\">一些槽点</h2><ol>\n<li>令人难绷的文章封面图<img src=\"https://b.acofork.com/img/emdash-index-2.webp\" alt=\"\" width=\"2560\" height=\"1380\" loading=\"eager\" decoding=\"async\" /></li>\n<li>评论只有 提交 → 审核 → 展示。高级功能要自己写代码<img src=\"https://b.acofork.com/img/emdash-index-3.webp\" alt=\"\" width=\"1270\" height=\"485\" loading=\"lazy\" decoding=\"async\" /></li>\n<li>最大亮点就是边缘化，但是部署到CF要钱<img src=\"https://b.acofork.com/img/emdash-index-5.webp\" alt=\"\" width=\"1483\" height=\"762\" loading=\"lazy\" decoding=\"async\" /></li>\n<li>CV粘贴图片只粘贴到了前端导致这篇文章没图😅 → 去这看吧 <a href=\"https://2x.nz/posts/emdash\" target=\"_blank\" rel=\"noopener noreferrer\">https://2x.nz/posts/emdash</a></li>\n</ol>\n","toc":[{"id":"这是什么","text":"这是什么？","depth":2},{"id":"它的优点-缺点","text":"它的优点/缺点？","depth":2},{"id":"简单的部署流程","text":"简单的部署流程？","depth":2},{"id":"一些槽点","text":"一些槽点","depth":2}]}