Skip to content
RustPress

0.1.5 Pages stay cached on Tailwind themes. Update in one click

WordPress, reforged in Rust.

One program runs your whole site, on the WordPress database you already have. No PHP, no web server, no database server to babysit. Plugins in any language, AI agents that ask before they touch anything, and updates that never drop a request.

curl -fsSL https://raw.githubusercontent.com/Witsberry/RustPress/main/install.sh | sh

Linux and macOS. The installer checks the checksum and the release signature. Read install.sh Downloads for Linux, macOS and Windows

The stack tax

WordPress is five programs to keep alive. RustPress is one.

WordPress is good software. Running it means keeping PHP, a web server and a database server patched and talking to each other, and hoping no plugin takes the whole page down with it.

A typical WordPress install

  1. PluginsIn the same process: one fatal error breaks the page
  2. WordPressCore, themes and updates
  3. PHPThe right version, with the right extensions
  4. Web serverApache or nginx, configured to pass requests to PHP
  5. Database serverMySQL or MariaDB, running and backed up

RustPress

rp

  • One program with its own web server. Nothing else to install
  • SQLite built in; MySQL, MariaDB or PostgreSQL when you want them
  • Plugins run outside the core: a crash fails only that plugin's part of the page
  • Scheduled posts, email and background jobs run inside it. No cron job
  • Signed self-updates that switch over without dropping a request

Coming from WordPress

Bring your site. Keep the way back.

Point RustPress at your WordPress database and it runs on it as it is, users and passwords included. PHP WordPress can keep reading the same tables, so trying it costs nothing.

Moving from WordPress

  • The same database

    On MySQL and MariaDB the tables use WordPress's own layout, so an existing WordPress database runs as it is.

  • Users and passwords

    WordPress password hashes verify ($wp$ bcrypt, phpass and md5), so everyone logs in as before.

  • Works both ways

    Settings are written back in PHP's serialized format, so PHP WordPress keeps reading the database.

  • Content, menus and media

    Or import a WordPress export file in the background: posts, pages, custom types, comments, menus, featured images and authors. Media lands in the library.

  • Themes

    Block themes convert fully on upload. Classic themes keep their stylesheet and assets, and an agent can rebuild the rest.

  • Links and API clients

    /wp-json/ answers with WordPress's shapes, and old /wp-admin and /wp-content links still resolve.

How it works

Three commands to a running site.

Your first site runs on SQLite, so there is nothing else to install or configure.

  1. 01

    Install rp

    One command on Linux or macOS. It checks the download's checksum and the release signature first.

    curl -fsSL https://raw.githubusercontent.com/Witsberry/RustPress/main/install.sh | sh
  2. 02

    Start a site

    It prints a setup address with a one-time key, so nobody else can claim your site. Pick a database and create your account.

    rp serve --root mysite
  3. 03

    Bring your content

    Import a WordPress export from the admin or the shell. It runs in the background, and running it again skips what is already there.

    rp import export.xml

Plugins in any language

One protocol. Every language.

JavaScript and WebAssembly run sandboxed inside the core with nothing to install. PHP plugins work the classic way. Python, Node, Ruby or any HTTP service speak the same JSON protocol, and a broken plugin only breaks its own part of the page.

Plugin docs API reference

New in 0.1.4Everything a WordPress plugin needs

  • Custom fields and meta boxes
  • Roles and capabilities
  • Rewrite rules and query variables
  • Admin menus and settings pages
  • Editor blocks with their own editing UI
  • WP_Query with meta and taxonomy queries
  • $wpdb and dbDelta for ported plugins
  • Dependencies between plugins, with versions
  • Background jobs with retries
  • Private files and paid downloads
  • Calls to other websites, host by host
  • Dashboard and sidebar widgets
plugin.js · sandboxed, nothing to install
const wp = require('rustpress')();

wp.addShortcode('twice', (atts) => String(Number(atts.n || 0) * 2));

wp.addFilter('the_content', async (html) =>
  html + '<p>' + wp.esc(await wp.getOption('blogname')) + '</p>');

wp.registerAiTool('latest_posts', { description: 'Titles of the latest posts', risk: 'read' },
  async () => (await wp.api('GET', '/wp/v2/posts?per_page=5'))
    .map((p) => p.title.rendered));

wp.run();

AI-native, human-approved

Agents propose. You approve.

A team of AI agents lives in the admin and builds themes, plugins and pages for your site. Nothing reaches the live site until you have seen the complete diff and said yes, and every change can be rolled back.

  1. Ask in plain words

    Chat in the admin. The Product Owner agent asks the questions that matter first.

  2. Built in a workspace

    Agents write only in their own project folder. Nothing on the live site changes.

  3. Checked and reviewed

    Linting, a security scan and an OWASP Top 10 review before an install can be proposed.

  4. You see the full diff

    The project freezes when proposed, so what you approve is exactly what gets installed.

  5. Live, with a way back

    A snapshot is kept, and the change rolls itself back if pages start failing.

  • Workspace only

    Agents write text files in their own workspace. There is no tool for configuration, raw SQL, users or secrets.

  • Never more rights than you

    Only administrators run agents, and an agent never has more rights than the person using it.

  • Reviewed before install

    Code is scanned, and reviewer agents go through the OWASP Top 10, before an install can be proposed.

  • Previews in a sandbox

    Unapproved themes are previewed privately, in a sandbox where their scripts can't act as you.

  • Audited and capped

    Every tool call goes to an audit log, and a daily token limit stops runaway agents.

  • Content is data

    Uploaded files, posts, comments and logs are treated as data, never as instructions.

Your model, your choice. Local ones too.

  • Claude
  • OpenAI
  • Gemini
  • OpenRouter
  • Groq
  • Ollama
  • LM Studio
  • Claude Code

How the agents work

Open to every AI

Your site speaks MCP, both ways.

The same guarded tools the agents use are an MCP server, so Claude Desktop, Claude Code or your own AI app can work on your site. And your agents can use other services' MCP tools, each call approved by you.

MCP and AI tools

What's inside

Built for the people who keep the site running.

Runs where you run

From a small VPS to shared hosting.

1 CPU and 512 MB of memory run a typical site comfortably. Docker images, ready-made platform configs and FastCGI for shared hosts are all included.

Hosting guide

  • Your own server or a VPS

    systemd, HTTPS with Caddy or nginx

    Everything

  • Docker anywhere

    Everything lives in one /data volume

    Everything

  • Render, Railway, Fly.io

    Ready-made configs in deploy/, with a disk

    Everything

  • Shared hosting (Hostinger, cPanel…)

    FastCGI or CGI, set up by rp cgi-setup

    With limits

  • Platforms without a disk

    Outside database and media storage

    With limits

  • Windows and macOS

    As a service, with updates from the admin

    Everything

  • AWS Lambda, Cloud Run

    No background work between requests

    Partly

  • Cloudflare Workers, Vercel functions

    Put Cloudflare in front instead

    Not for the site

If something goes wrong

Built to fail safely.

Every live change is watched. Plugins can't take the site down, and there is always a way back.

  • Automatic rollback

    If a page fails after a change, or server errors repeat three times in 15 minutes, the change rolls itself back.

  • Contained plugins

    A crash, exception or hang fails only that plugin's part of the page. Memory is capped and leaking services are restarted.

  • Safe mode

    Turn plugins off and use the default theme for yourself only, or for everyone with rp serve --safe-mode.

  • A way back

    Run on a WordPress database and PHP WordPress can still read it. Leaving is as easy as arriving.

Questions

What WordPress people ask first.

Will my existing site and data work?

Yes. RustPress uses WordPress's database layout, so an existing MySQL or MariaDB WordPress database runs as it is, users and passwords included. PHP WordPress can keep using the same database.

Will my plugins run?

Classic PHP plugins that use common WordPress features run through the PHP SDK, and since 0.1.4 that includes meta boxes, roles, rewrite rules, WP_Query, $wpdb and Action Scheduler. Large plugins built deep on WordPress internals, such as WooCommerce, Yoast or Elementor, install but won't activate. An agent can rebuild a plugin natively from its zip.

Isn't an AI changing my site risky?

Agents can't change the live site on their own. Every change is a diff you approve, with a snapshot, an audit log and automatic rollback. You can run them on local models through Ollama or LM Studio.

What if it breaks in production?

If a page fails after a change, or the site errors three times in 15 minutes, the change rolls back by itself. A crashing plugin fails only its own part of the page, and safe mode turns plugins off.

Do I have to manage servers and upgrades?

It is one program for Linux, macOS and Windows, with SQLite by default. Updates are signed and verified, and running sites switch over without dropping a request. Shared hosting works through FastCGI or CGI.

Is it open source?

Yes. RustPress is licensed under the GPL, version 2 or later, like WordPress. The code, release notes and signed downloads are on GitHub.

Honest limits

What it doesn't do yet.

Better to know now than after you move.

Planned next

  • Translations: the admin and themes in other languages
  • The full block editor. Today's editor edits flat blocks and opens nested layouts in the code editor

Not planned for now

  • Multisite
  • XML-RPC, pingbacks and trackbacks
  • Unmodified PHP plugins built deep on WordPress internals, such as WooCommerce or Elementor

Your next site is one command away.

Install rp, start a site on SQLite and import your WordPress content. If it isn't for you, your database still works with WordPress.

curl -fsSL https://raw.githubusercontent.com/Witsberry/RustPress/main/install.sh | sh