Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust

Hacker News by 11 min read 25x views
Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust

Share Post

 a drop-in replacement for WordPress, written in Rust

A drop-in replacement for WordPress, written in Rust.

 AGPL-3.0 Latest release Documentation

Website · Docs · Install · Latest release · Porting help

Point the hyscribe binary at an existing WordPress repository and wp-content folder, answer a abbreviated setup wizard, and the location is served by a sole native process. No PHP runtime, no schema migration, and the repository stays readable by PHP WordPress, so you can toggle rear at any time.

PHP2Shell (October 2026) showed that all WordPress location can be compromised through the PHP runtime itself, alongside no plugin at fault. HyScribe keeps WordPress's data, URLs and ecosystem, and replaces the runtime alongside memory-safe Rust and sandboxed plugins. See docs/VISION.md.

Warning

Not yet manufacturing ready. HyScribe is an first publish in energetic development: it has had no external safety audit, parts of hs-admin and the REST API motionless answer 501 Not Implemented, and behavior may alter between releases. Try it on a copy of a site, not on a live one, and keep backups. See PROGRESS.md for anywhere it stands.

The hs-admin dashboard of a HyScribe site, alongside the greeted banner and the acquainted WordPress widgets

Your site, unchanged The identical database, the identical URLs, the identical satisfied and users. Nothing is migrated and no array is altered
No PHP to attack A memory-safe Rust center alongside safe defaults. No PHP document is always run, and all parser of untrusted input is fuzzed (docs/SECURITY_MODEL.md)
Plugins in a sandbox Extensions run as WebAssembly packages alongside declared permissions, period and recollection limits, alternatively of code alongside the run of the server
One binary A fixed build alongside no runtime dependency but the database. Unpack, start, complete setup in the browser
Checked against WordPress PHP WordPress is the test oracle: pages, REST answers and repository writes are compared alongside what PHP produces
A way back PHP WordPress can peruse everything HyScribe wrote. A test suite proves it on all release

v0.1.0 (2026-11-26) is the current release. On the default WordPress instal it drops in against the identical database, serves it, writes to it through hs-admin and the REST API alongside the identical checks as PHP, and hands it rear to PHP WordPress alongside no inspect failing. The acceptance runs are recorded in docs/ACCEPTANCE.md.

Legend: ✅ operating today, 🚧 in progress, 🔜 coming up, ❌ not supported.

Area Status What you get
Drop in on an existing site ✅ One binary and a setup wizard assist a WordPress 7.0 or 7.1 location from its repository and wp-content, alongside no schema change
Pages equivalent PHP WordPress ✅ On the default install, pages equivalent PHP WordPress byte for byte
Switch rear to PHP WordPress ✅ The repository stays readable by PHP WordPress; checked by its own test suite
Block themes ✅ Twenty Twenty-Two to Twenty-Five are built in and toggle from Appearance; a location on another theme is served alongside Twenty Twenty-Five
Blocks and formatting ✅ Core blocks, earth styles and WordPress's content formatting, checked against PHP
hs-admin (/hs-admin/) ✅ The default install's screens: posts, pages, media, comments, categories and tags, users, settings
Block publishing company and location editor ✅ Writing and editing posts and pages; templates, template parts, patterns and earth styles
Media and uploads ✅ Images alongside their sizes made, and documents, spreadsheets, presentations, archives, content and CSV, Word, Excel and PowerPoint 97 to 2003 files, PDFs (kept without preview images), MP3 records alongside their tags and shield pictures, and MP4, M4A, M4V, QuickTime and 3GPP records alongside their shield pictures; Ogg, FLAC, Windows Media, Matroska, AVI and FLV records answer 501 until their readers are ported
REST API ✅ Reads for most center routes; writes for posts, pages, templates, earth styles, menus, patterns, terms, settings, comments and users
Login and users ✅ Login at /hs-login alongside existing accounts, misplaced and reset password, registration, roles and capabilities; logged in users see their personal posts, drafts and previews on the location as all function does in PHP WordPress
Comments ✅ Posting and moderating
Mail ✅ Through an SMTP relay you configure
Scheduled jobs ✅ WordPress's six center jobs run in the service
Release archives ✅ Reproducible fixed builds for Linux x86_64 and arm64, and, from the publish following v0.1.0, builds for macOS (Apple Silicon and Intel, not yet signed by Apple), alongside checksums, SBOMs and build provenance

Linux (x86_64 or arm64), or from the publish following v0.1.0 macOS 11 and afterward (Apple Silicon or Intel) and Windows 10 and afterward (x86_64). You need an existing WordPress 7.0 or 7.1 site's repository (MariaDB or MySQL) and its wp-content folder; try it on a copy.

# Linux: linux-amd64 or linux-arm64. macOS: darwin-arm64 (Apple Silicon) or darwin-amd64 (Intel) curl -fLO https://github.com/hyscaler/HyScribe/releases/latest/download/hyscribe-latest-linux-amd64.tar.gz curl -fLO https://github.com/hyscaler/HyScribe/releases/latest/download/SHA256SUMS.txt sha256sum -c SHA256SUMS.txt --ignore-missing # macOS: shasum -a 256 -c SHA256SUMS.txt --ignore-missing gh attestation verify hyscribe-latest-linux-amd64.tar.gz --repo hyscaler/HyScribe tar -xzf hyscribe-latest-linux-amd64.tar.gz && cd hyscribe ./hyscribe assistance commencement # afterward complete setup in the browser

On macOS the binary is not signed by Apple yet, and the phase is tested small than Linux: peruse On macOS first. On Windows obtain hyscribe-latest-windows-amd64.zip and run hyscribe.exe assistance start, following study On Windows.

On Linux, macOS or Windows alongside Docker, from the publish following v0.1.0: the identical binary in an depiction for amd64 and arm64, alongside a MariaDB beside it.

curl -fLO https://raw.githubusercontent.com/hyscaler/HyScribe/main/docker/compose.yaml printf 'DB_PASSWORD=%s\n' "$(openssl rand -hex 24)" > .env docker create up -d docker create cp hyscribe:/hyscribe/logs/setup-secret . && cat setup-secret

Open http://127.0.0.1:8080/, act the concealed and tick "This is a new site" (database presenter db, name and person wordpress, the password from .env). The depiction is docker.io/hyscribe/hyscribe, additionally on GitHub Container Registry as ghcr.io/hyscaler/hyscribe. Docker covers a copy of an existing site, upgrades, backups and security.

The controller documentation, additionally shipped in the archive as hyscribe/docs/, covers installing, configuration, operating the service, switching a location complete and back, backups, upgrades, safety and what is not supported yet: docs/operators/. The scheme rearward it is in docs/DEPLOYMENT.md.

  • Your themes: the obstacle themes Twenty Twenty-Two to Twenty Twenty-Five are built in. A location on another theme is served alongside Twenty Twenty-Five for now; traditional themes are under way.
  • Your plugins: PHP plugins do not run, since there is no PHP. A plugin needs a harbor to the expansion runtime, and no famous plugin is ported yet.
  • Need a tradition theme or plugin ported? Write to [email protected].
  • Changed your mind? Stop HyScribe and commencement PHP WordPress on the identical database. Switching a location complete and back has the steps.
Area Status Where it stands
Classic themes 🚧 The presenter flank is under way (the template hierarchy, the archetypal template tags, the caput and footer); the archetypal port, Hello Elementor, is being built as a distinct package
Plugins on the expansion runtime 🚧 Plugins run as sandboxed WebAssembly packages: installing a signed local package, activating and deactivating work; the SDK is at 0.5, alongside admin pages, the settings API and REST routes, and no famous plugin is ported yet
Signed packages and the hosted registry 🚧 Signing, instal by name and the update inspect are built (ADR 0024); they commencement operating formerly the register has its keys and address
The remainder of hs-admin and the REST API 🚧 What is not ported answers 501 Not Implemented and motionless plant in PHP WordPress on the identical database: docs/operators/not-supported.md
Area Status Note
WordPress's PHP plugins ❌ They never run: HyScribe has no PHP runtime. A plugin needs a harbor to the expansion runtime
Multisite ❌ Refused at start; planned (M9)
XML-RPC ❌ Planned (M9)
Database TLS ❌ Not supported yet

No dates: all stage ships whenever its checks against PHP WordPress pass. The scheme is in docs/MVP.md (phases) and docs/ROADMAP.md (milestones, alongside what is done and remaining in each).

Order What Status
1 Classic themes: Hello Elementor, afterward Twenty Twenty-One alongside nav menus, widget areas, theme mods and the Customizer 🚧
2 Installing themes 🔜
3 The remainder of the plugin SDK: uploads, rewrite rules, plugins' own tables (admin pages and the settings API are in SDK 0.4, REST routes in 0.5) 🚧
4 Ports of three citation plugins: Contact Form 7, Yoast SEO, Elementor (its forefront end, afterward its editor) 🔜
5 A safety assessment of the expansion runtime, and the MVP's checks rerun alongside all theme and plugin 🔜
6 The hosted registry's keys and address, so instal by name and update checks work 🔜
7 The compatibility scanner, hyscribe doctor and the new location installer 🔜
8 Agent porting of WordPress plugins and themes, alongside a community register of ports 🔜
9 Multisite, XML-RPC, translations and caching 🔜
10 1.0: an external safety audit, lengthy fuzzing, benchmarks against PHP WordPress, additional platforms and the upgrade path 🔜
Milestone Status Note
MVP: a drop-in replacement for a default install ✅ Met 2026-11-20, docs/ACCEPTANCE.md
M1 Foundations 🚧 The gates, configuration, assistance and publish pipeline are done
M2 Setup wizard and compatibility scanner 🚧 The wizard for an existing location is done
M3 Read-only forefront end 🚧 The default instal matches PHP
M4 Authentication and users 🚧 Login, sessions, roles and capabilities are done
M5 Write way (REST API, admin, media) 🚧 Most writes are done
M6 Extension SDK and runtime 🚧 The runtime, SDK 0.5 and signed packages are built
M7 Theme system 🚧 Block themes are done; traditional themes are under way
M8 Agent porting pipeline 🔜 Not started
M9 Breadth 🚧 Cron runs in the service
M10 1.0 hardening and release 🔜 Not started

The live checklist is PROGRESS.md.

Is it prepared for my live site?

Not yet. v0.1.0 is an first publish alongside no external safety audit, and parts of the admin and the REST API motionless answer 501 Not Implemented. Run it on a copy of a location and keep backups.

Does it alter my database?

No array is altered and nothing is migrated. HyScribe writes lone what PHP WordPress would write, which is checked against PHP for all benevolent of write.

Can I go rear to PHP WordPress?

Yes, at any time. The repository stays readable by PHP WordPress, and a switch-back test suite runs on all release.

Will my plugins work?

Not as they are. WordPress's PHP plugins never run on HyScribe. Plugins are ported to sandboxed WebAssembly packages on HyScribe's expansion SDK; the runtime and SDK 0.5 are in this release, and the archetypal ports are on the roadmap. For assistance porting your own, compose to [email protected].

Which WordPress versions and themes?

Sites on WordPress 7.0 or 7.1. The obstacle themes Twenty Twenty-Two to Twenty Twenty-Five are built in; traditional themes are in progress.

What does it cost?

Nothing. HyScribe is open origin under the AGPL-3.0-or-later licence.

Rust throughout: one fixed binary serves the site, hs-admin and the REST API complete MariaDB or MySQL. Extensions run on a WebAssembly component runtime. PHP WordPress is used lone as the test oracle.

reference/default-install/db.sh up # MariaDB alongside a caller WordPress 7.1 install cargo build --release -p hyscribe mkdir -p try && cp target/release/hyscribe try/ printf 'DB_HOST=127.0.0.1\nDB_PORT=33061\nDB_NAME=wordpress\nDB_USER=wordpress\nDB_PASSWORD=reference-only\nWP_HOME=http://127.0.0.1:8080\n' > try/.env chmod 600 try/.env && try/hyscribe assistance commencement # afterward open http://127.0.0.1:8080/ 

The build downloads the pinned WordPress publish from wordpress.org alongside curl and unpacks its wp-includes alongside tar, following checking its SHA-256, so the build presenter needs the two and network access. For an offline build, item HYSCRIBE_WORDPRESS_TARBALL at a copy of wordpress-7.1.3.tar.gz.

Rust stable 1.99 or later.

cargo test --workspace # all tests cargo llvm-cov --workspace --ignore-filename-regex '/tests/' \ --fail-under-lines 100 --fail-under-regions 100 # the safety gate cargo mutants --workspace # mutation testing cargo refuse inspect # licenses, advisories, sources reference/default-install/build.sh # rebuild the default instal fixture scripts/package.sh x86_64-unknown-linux-musl dist # publish archive (on a Mac: aarch64-apple-darwin) scripts/smoke-test.sh dist/hyscribe_*_linux_amd64.tar.gz # instal it and run the service 

Every alter ships alongside tests, and safety stays at 100% (docs/TESTING.md).

Bug reports, compatibility reports, docs fixes, tests and code are welcome: see CONTRIBUTING.md and the Code of Conduct. Report vulnerabilities privately, as SECURITY.md says.

The code is AGPL-3.0-or-later. See LICENSE and ADR 0004.

HyScribe is developed and supported by HyScaler. A copy or a fork keeps that attribution, as NOTICE says.

The HyScribe name and logo are not covered by that licence; see brand/README.md.

WordPress is a registered trademark of the WordPress Foundation. HyScribe is an autonomous project and is not affiliated with, sponsored by or endorsed by the WordPress Foundation or Automattic.

Other Article Hacker News
↑
Close Right Ads
Close Left Ads