←新闻详情

DevClass更新于 10月21日 22:36

Cloudflare 预览 EmDash:用 TypeScript 和 AI 重写 WordPress

Cloudflare previews 'EmDash' – an AI-driven rebuild of WordPress in TypeScript

AI 导读

Cloudflare 发布 EmDash 0.1,这是用 TypeScript 而非 PHP 重写的 WordPress CMS,基于其今年 1 月收购的 Astro 框架,以 MIT 许可在 GitHub 开源。项目内置 MCP 服务器和 Agent Skills 配置文件,用于借助智能体转换 WordPress 主题和插件,插件运行在沙箱中并带权限定义,默认使用 Passkeys 认证。其迁移工具目前只能导入内容,主题和插件仍需重新编码。

推荐理由

AI 评分 54

Cloudflare 用 AI 重写 WordPress 并开源,读者可据此观察 AI 参与软件重写的实际边界与迁移成本。

主题

标签

正文

当前显示原文,中文全文译文尚未就绪。

Serverless

The world's most popular CMS has been remade with the help of AI. Cloudflare has released EmDash version 0.1, described as a rebuild of the WordPress CMS (content management system) but using TypeScript rather than PHP.

In contrast to the one week claimed for recreating Next.js using agentic AI, Cloudflare's product manager Matt Taylor and software engineer Matt Kane said that it took all of two months to create EmDash. Further, the code for EmDash is based on Astro, an open source JavaScript framework acquired by Cloudflare in January this year, so is not altogether newly generated by AI. Technically EmDash is an Astro integration.

"I'm the main engineer on this. I've also been on the Astro core team for two years, so I do think I understand real open source software and community. As the post implies, I did use a lot of agent time on this, but this isn't a vibe-coded weekend project. I've been working full time on this since mid-January," said Kane on Hacker News.

According to the introductory post, "while EmDash aims to be compatible with WordPress functionality, no WordPress code was used to create EmDash." The new project is open source on GitHub under the MIT license.

"The effort needed to be certain it was safe to MIT license EmDash really drove home why it was important to MIT license it. For a lot of enterprises, GPL software is free only if your lawyers are free," said Kane.

WordPress is used by 42.5 percent of all websites and 59.8 percent of all CMS systems based on stats from w3techs. That makes it a huge target market, with Cloudflare's goal being to get some of those sites to migrate to run on its Workers platform. Cloudflare Workers are based on V8 isolates, where V8 is the JavaScript engine used by Google's Chrome web browser. An isolate is a sandboxed instance of V8 and is lightweight.

This means that, unlike WordPress, EmDash is serverless and scales to zero if there are no requests, or scales up to millions of instances when busy.

"Name is a joke but the project is real," said Kane, in answer to a query about whether this project was an April fool, since it was announced on April 1st. Perhaps it will be renamed soon; but 'EmDash' may be playing on the notion that use of the em dash is a sign of AI authorship. This is not normally something to be proud of, but we note that the company describes EmDash as AI native, with a built-in MCP (model context protocol) server, with full admin access, and Agent Skills configuration files for tasks such as converting WordPress themes.

Skills are configured to make it easier to convert plugins and themes with agentic AI - Click to enlarge

The rationale for EmDash, aside from being a marketing pitch for Workers, is that along with AI integration, it is more secure and more easily scaled than WordPress. WordPress plugins and themes are vulnerable to security issues since they are generally not isolated. EmDash plugins run in a sandbox and have defined permissions, such as "read:content" and "email:send" in the case of an email plugin.

EmDash authentication uses Passkeys by default, with a fallback to emailed magic links, and no support for passwords. This is a step up from simple username/password, though we encountered problems with the early code as our local setup on Linux did not work with the passkey and the magic link returned "page not found." No doubt this will be fixed soon.

The project includes a WordPress migration tool but this only imports content. Most WordPress sites make extensive use of plugins and themes, coded in PHP. This means that replicating an existing site in EmDash will not be easy, requiring re-coding of themes and plugins perhaps with AI assistance as mentioned above.

It is also possible that existing plugins and themes will be converted by others. Joost de Valk, who created the Yoast SEO plugin for WordPress, is an early enthusiast for EmDash. According to De Valk, "every architectural decision in EmDash seems to have been made with the same question: what if an AI agent needs to do this?"

One of the consequences is that if an AI agent is asked to build a new website using EmDash, it will have an easier time thanks to the AI-friendly design, such as documentation "structured for machine consumption," said De Valk.

Points against EmDash are that is has no plugin ecosystem yet, no community, and that Cloudflare integration introduces friction for those who prefer to self-host or host elsewhere. The EmDash readme states that "It runs best on Cloudflare, but it's not locked to it." When self-hosting, there is currently no support for sandboxed plugins.

Despite the above, De Valk stated that he plans to develop "on and with EmDash."

Regardless of its future, EmDash is a project that raises key questions, first about how AI is reshaping software design, and second about the notion that one can migrate from one application to another by instructing AI to replicate the bits of it that are needed. ®

When you just need to build a tiny desktop app: TinyJS

October 13, 2026

Valen creator drives 'Golden Spike' to connect new languages with Rust

September 26, 2026

Microsoft agentically ports Copilot runtime to Rust for $120K

September 19, 2026

Apple iPhone Duo makes developers think in folds

September 16, 2026

JavaScript installer pnpm recast in Rust because ECMAScript can't keep up

September 5, 2026

Kubernetes cleans house, bins legacy kube-dns, IPVS, and cgroup v1

August 27, 2026

How Cursor beat Git's scalability shortcomings

August 24, 2026

Go updates may delight diehard gophers but displease AI overlords

August 21, 2026

SvelteKit 3 puts heat on Next.js with radical approach to RPCs

August 20, 2026

Almost nobody pays attention to web standards anymore

August 18, 2026

ChainDrop worm crawls into npm supply chain, evades standard defenses

August 16, 2026

Node.js creator liberates Durable Objects from Cloudflare

August 13, 2026

AI titans to tidy agent frontier with plugin prescription

August 8, 2026

Platform Engineering 2.0: your platform was built for a different era. AI just exposed it

August 6, 2026

Next.js 16.3 aims to reduce dreaded FATAL ERROR messages

August 5, 2026

Dev who gave HashiCorp its name returns with a faster terminal multiplexer

August 1, 2026

How AI drove Shopify back to clean code

Turns out, agents just want the same things as humans: easily-readable code, explicit contracts, and helpful feedback

July 26, 2026

Zig creator calls Bun's Claude Rust rewrite 'unreviewed slop'

July 15, 2026

HTTP gets a QUERY method so complex searches can stop pretending to be POST

July 14, 2026

Speedier type checks in TypeScript 7.0 as first stable Go release ships

July 10, 2026

GitHub cuts short offer to burn repos on CD after mockery ensues

A purported jab of Sony's physical media phase-out blows up on GitHub itself

July 7, 2026

.NET's long term support is not long term enough, dev complains

June 30, 2026

来源

DevClass