PURSAE · LOADING SCENES
A WordPress-compatible CMS · written in Go · v0.6.0

WordPress, rewritten in Go.

The admin you already know, on one binary and PostgreSQL, with 18 plugins built in and no PHP anywhere.

→ / SPACE to fly22 SCENESEVERY NUMBER SOURCED
01 · The incumbent

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.

≈43%
of all websites
(W3Techs)
2003
first release
PHP
+ MySQL / MariaDB

Share figure: W3Techs web technology survey, 2025–26, rounded. Globe: the highlighted share of dots is illustrative, not a map.

02 · The request model

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.

03 · Shape

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.

171MB
Docker image · WordPress stack 389 MB
139MB
install on disk · WordPress 342 MB
  • 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).

04 · Inside a request

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.

05 · Data

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.

06 · The plugin tax

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.

07 · Throughput, uncached

About 8× stock WordPress. About 13× with plugins.

WordPress 7.1.4Pursae

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).

08 · Honesty

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).

09 · Footprint

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.

95
MiB idle
WP 233
171
MB image
WP 389
139
MB on disk
WP 342

Stock configurations, bench/results/2026-11-09. Liquid levels are scaled per pair.

10 · Extensions

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.

11 · Supply chain

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.
12 · Defaults

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.

13 · Batteries

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.

14 · Commerce

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/v3 REST for existing tooling; orders in dedicated tables.
  • 14 modules, all off by default: Bookings to Quick View.
194
req/s product page
Pursae + built-ins
16
req/s product page
WP + WooCommerce stack

Product page, uncached, bench/results/2026-11-09.

15 · Pages

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.
100
Lighthouse mobile
Pursae
96
WordPress
stock
67
WordPress
+ plugin stack

Lighthouse, home page, mobile: bench/results/2026-11-09.

16 · Agents

Your site, agent-ready.

  • A built-in MCP server at /wp-json/pursae/v1/mcp with 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 mcp bridges stdio-only clients.
MCP · LIVE (SIMULATED)
17 · The landscape

Where Pursae sits.

CMSRuntimeDatabaseExtensionsShape
WordPressPHPMySQL / MariaDBPHP plugins, in-process, full trustSite + admin
DrupalPHP (Symfony)MySQL/MariaDB, PostgreSQL, SQLitePHP modules, in-processSite + admin
GhostNode.jsMySQL 8No plugins; themes, API, webhooksPublishing + newsletters
StrapiNode.jsPostgreSQL, MySQL/MariaDB, SQLitenpm plugins, in-processHeadless only
PayloadNode.js / Next.jsMongoDB, PostgreSQL, SQLiteCode-level pluginsHeadless + admin
HugoGoMarkdown filesNone (build time)Static generator, no admin
PursaeGo, one binaryPostgreSQL 16 / 1718 built in + signed, sandboxed WasmSite + admin + headless, speaking WordPress: admin 1:1, wp/v2, wc/v3, WXR
18 · Moving in

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.

19 · Not supported

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.

20 · Velocity

Shipping fast, in the open.

1,461
commits since
27 Oct 2026
34
tagged releases
v0.1.1 → v0.6.0
452k
lines of Go
incl. tests
605
Go test files
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.

Fin

One binary. No PHP. The admin you know.

$ git clone https://github.com/pursae/pursae.git && cd pursae
$ cp .env.example .env && docker compose up -d --build

"WordPress" is a trademark of its owner; Pursae is not affiliated with it.

PURSAE / IN DEPTH
ENTR
←→ space · click · swipe · M sound
01 / 22