WordPress, rewritten in Go.
The admin you already know, on one binary and PostgreSQL, with 18 plugins built in and no PHP anywhere.
WordPress runs a huge slice of the web.
Since 2003: PHP and MySQL, a plugin for everything, and an admin millions of people already know. That familiarity is the asset worth keeping. The runtime underneath is the part worth replacing.
(W3Techs)
Share figure: W3Techs web technology survey, 2025–26, rounded. Globe: the highlighted share of dots is illustrative, not a map.
PHP rebuilds the world on every request. Go boots once.
Left: a PHP-FPM worker runs wp-config, wp-settings, the autoloaded options, every active plugin and the theme's functions.php, then the query and the template, then throws it all away. OPcache keeps compiled bytecode between requests; objects, hooks and plugin state are rebuilt each time. Right: the Pursae process parses templates, opens its pgx pool and compiles Wasm modules at start, then serves each request on a goroutine.
Everything in one binary.
A static Go build (CGO_ENABLED=0) with the WordPress-style admin, both editors, the bundled themes, the 18 built-in plugins and 115 SQL migrations embedded. No PHP, no FPM, no extensions to match.
- HTTP on gin, PostgreSQL through pgx, plugins in wazero.
- Also a CLI:
pursae post list, WP-CLI style.
Sizes: repository benchmark, bench/results/2026-11-09 (Pursae 0.1.9 vs WordPress 7.1.4 + PHP 8.3, same machine).
A request flies through eleven rings.
Each layer is a plain Go http.Handler in one process. Feature layers only act when their plugin is on.
- Page-cache hit (green): answered from memory. The router never runs.
- Miss: gin middleware, then admin, REST, MCP or the theme renderer.
- The CSP nonce writer swaps a fresh nonce into every response, cached ones too.
Order as wired in Server.Handler(): ops → gzip → CSP nonce → firewall → Security → Maintenance → CDN → Headless → page cache → gin → routes.
PostgreSQL, typed. Not a key-value attic.
- PostgreSQL 16 or 17; CI tests both. One pgx connection pool.
- 115 embedded, forward-only migrations run at start-up.
- Dedicated tables for Commerce orders, Analytics, Pixel and more; JSONB where the shape varies.
- Page-cache purges sync between instances over
LISTEN / NOTIFY.
WordPress keeps settings in wp_options and loads every autoloaded row on each request. Custom fields land in the postmeta key/value table.
Same home page. 139 queries against 16.
WordPress with WooCommerce, Yoast SEO, Polylang, ACF, Elementor and Contact Form 7, against Pursae with the six built-ins that cover them. First request after a restart: 125.5 ms against 17.1 ms.
bench/results/2026-11-09: WordPress 7.1.4 + PHP 8.3 OPcache + 6 plugins vs Pursae 0.1.9 + 6 built-ins, 1000 posts, 200 products, Twenty Twenty-Five, Apple M2 Pro, Docker.
About 8× stock WordPress. About 13× with plugins.
Requests per second, k6, 10 virtual users, median of three 20 s runs, no page cache. Source: bench/results/2026-11-09 in the repository (make bench reruns it).
Where Pursae doesn't win.
- Cached pages tie. WP Super Cache + nginx and Pursae Cache both answer in ≈0.1 ms: 31,414 vs 34,128 req/s, both limited by the load generator.
- Search isn't page-cached in Pursae: 119 req/s, against 5,724 for cached WordPress search. Uncached, it's still 2.5× stock (119 vs 48).
- Cold start is the same: ≈3 s for either whole stack. Docker and the database dominate.
- The database is bigger: 30 MB / 92 tables vs 16 MB / 59, because built-in plugins' tables exist even when they're off.
All from the "Where Pursae does not win" section of docs/developer/benchmarks.md (2026-11-09 run).
Less to run, less to ship.
Idle memory covers all containers: web server, app and database. Under load the Pursae stack peaks at 184–202 MiB; WordPress at 276–489 MiB.
WP 233
WP 389
WP 342
Stock configurations, bench/results/2026-11-09. Liquid levels are scaled per pair.
Plugins live in a sandbox, not in your process.
- Go compiled to WebAssembly, run by wazero: no cgo, no extra runtime.
- No filesystem, no network, no env. Only the host imports whose permission the admin granted.
- 64 MiB of memory · 2 s per call (10 s REST, 30 s cron).
- 5 failures in a row: the plugin is switched off, its hooks removed, the admin e-mailed.
- Risky permissions (
content:html,admin:scripts) start unticked.
A WordPress plugin is PHP running inside the request with the same rights as core: database, filesystem, network.
Nothing installs unsigned.
- Core updates are signed by the Hub with a key endorsed by the release root key built into your binary. Anything else is refused.
- Wasm plugins: Ed25519 over manifest + module; assets covered by hashes in the manifest. Only keys the site trusts.
- Unsigned plugins need both an admin option and
PURSAE_ALLOW_UNSIGNED_PLUGINS=1. - Library themes are checked against their SHA-256.
Secure by default, in core.
- argon2id passwords; server-side sessions; HttpOnly, SameSite cookies.
- Login throttling: 5 failures per address per 15 min, 20 per user name, counted before the password check.
- Security headers and a CSP on every response, plus per-response script nonces (report-only by default, one switch to enforce).
- Uploads are data: served with a sandboxing CSP, so an uploaded SVG can't run script.
- A fresh install is locked by a setup token.
WordPress core sends no Content-Security-Policy and has no login throttling; sites add both with plugins. Source: docs/developer/operations/security.md.
18 plugins. Zero to install.
Native features, compiled in, switched on with one click under Plugins. A fresh site has only Pursae Cache and Classic Editor on; the rest wait until you need them.
Several are functional clones of the plugins people already use: ACF PRO, Polylang Pro, Contact Form 7, WP Mail SMTP, Yoast + Rank Math, bbPress.
A whole store, compiled in.
- Products, cart, checkout, tax, shipping, coupons, orders, payment gateways.
- Keeps WooCommerce's markup and classes;
woocommerce_*shortcodes still work. wc/v3REST for existing tooling; orders in dedicated tables.- 14 modules, all off by default: Bookings to Quick View.
Pursae + built-ins
WP + WooCommerce stack
Product page, uncached, bench/results/2026-11-09.
Visual building. Static output.
- Build from sections with desktop, tablet and mobile views; drafts autosave.
- Theme Builder designs header, footer and templates.
- Google Fonts are downloaded once and served from your own site.
- Visitors never load the editor: a published page is a static HTML/CSS snapshot.
Pursae
stock
+ plugin stack
Lighthouse, home page, mobile: bench/results/2026-11-09.
Your site, agent-ready.
- A built-in MCP server at
/wp-json/pursae/v1/mcpwith 100+ tools: content, Web Builder, Commerce, SEO, cache, backups. - Sign in with OAuth 2.1 or a scoped Application Password.
- Every tool runs as a REST request with the caller's own capabilities.
- Every write is logged for 90 days.
pursae mcpbridges stdio-only clients.
Where Pursae sits.
| CMS | Runtime | Database | Extensions | Shape |
|---|---|---|---|---|
| WordPress | PHP | MySQL / MariaDB | PHP plugins, in-process, full trust | Site + admin |
| Drupal | PHP (Symfony) | MySQL/MariaDB, PostgreSQL, SQLite | PHP modules, in-process | Site + admin |
| Ghost | Node.js | MySQL 8 | No plugins; themes, API, webhooks | Publishing + newsletters |
| Strapi | Node.js | PostgreSQL, MySQL/MariaDB, SQLite | npm plugins, in-process | Headless only |
| Payload | Node.js / Next.js | MongoDB, PostgreSQL, SQLite | Code-level plugins | Headless + admin |
| Hugo | Go | Markdown files | None (build time) | Static generator, no admin |
| Pursae | Go, one binary | PostgreSQL 16 / 17 | 18 built in + signed, sandboxed Wasm | Site + admin + headless, speaking WordPress: admin 1:1, wp/v2, wc/v3, WXR |
Move a WordPress site in one go.
Install WP to Pursae on the WordPress site and click Move to Pursae. Users keep their passwords. Content, media, menus, settings and the whole WooCommerce store come along: products, orders with refunds, customers, coupons.
Content only? WXR export and import works too. PHP plugins and themes never move; Pursae runs no PHP.
What it won't do.
- Full Site Editing and the Site Editor: use Web Builder's Theme Builder for header, footer and templates.
- Multisite, XML-RPC, incoming pingbacks and trackbacks.
- PHP plugins and themes: themes are Go templates with a
theme.json; plugins are Wasm.
Compatible means the admin, the REST API, the markup and the data, not the PHP.
Shipping fast, in the open.
27 Oct 2026
v0.1.1 → v0.6.0
incl. tests
CI on PG 16 + 17
Every release is a signed binary with a changelog; security fixes go out in core, on by default.
From git in this repository on 2026-11-27. The helix: one point per commit, rings at each tagged release.
One binary. No PHP. The admin you know.
$ cp .env.example .env && docker compose up -d --build
"WordPress" is a trademark of its owner; Pursae is not affiliated with it.