NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust (github.com)
bovermyer 13 hours ago [-]
I'm curious, why do a drop-in replacement instead of something that has a migration tool?

A lot of WordPress sites rely on plugins for core functionality, and I don't see a pathway for those to work with this. Not in a drop-in fashion, anyway. How would that work?

pampa 11 hours ago [-]
A drop in replacement has the advantage of not needing a migration. It looks the same for users, it acts the same and you can't tell it is running a different codebase. The users don't have to relearn.

I built two drop in replacements with the help of AI for old school php-5 era codebases (50k loc each, no frameworks), in house db management/data entry/reporting systems.

You treat the old system as a black box, fuzz the user facing part -walk all links, hit all buttons, submit all forms. Record side effects - changes to the database, fs and network calls etc, map the test cases against code paths, measure line coverage. Then build the new system in rust against this parity harness. It's not 100% foolproof, but it gets you 90% there. The rest you fix from user feedback.

But I do not think this can be productized. As you said, WP relies heavily on plugins. And also a lot of installations are customized, especially old sites that would benefit most. There is no size fits all.

stingraycharles 11 hours ago [-]
> A drop in replacement has the advantage of not needing a migration. It looks the same for users, it acts the same and you can't tell it is running a different codebase.

So that means that all the Wordpress plugins - which, as the grandparent notes, is the whole reason Wordpress is so popular - work out of the box?

Otherwise it’s not a drop in replacement and adoption will not happen.

ftchd 10 hours ago [-]
This sounds like "Isn't the point of a drop in replacement to be a drop in replacement?" Well... yes

and to answer the question that comes naturally: it doesn't support Wordpress plugins yet. this is because they are aiming to sandbox them (1) and it currently doesn't run PHP (2).

no idea why/how/when but that's what the README says.

rustyhancock 11 hours ago [-]
If you're vibe coding (not to say this is), the output is typically much better in the medium term atleast if it's structured to a standard.

WordPress being FOSS means your agent has the spec, and an implementation and a gold standard for most decisions around function.

Couple that with Rust and you get surprisingly good output with agents. Rust brings its static/compile time rigidity that hopefully stops a LLM half arsing something without it being obvious.

In the short term a vibe coded app might produce something nice and ergonomic without realising its not scalable, longer term you've tied yourself to the project you're replacings fundementally bad choices. If they didnt make bad choices why are you replacing them?

But in the medium term it works well.

johnofthesea 10 hours ago [-]
> (not to say this is)

There are few MD files...

illright 11 hours ago [-]
I'm surprised no one has mentioned EmDash, and that it's not mentioned in the readme as well. It made some noise a few months ago, and I was unimpressed then, but the Cloudflare team kept going at it, and now I am a lot less skeptical.

EmDash is basically the something that has a migration tool [1], and that future looks brighter to me. Also, I have more trust in software made by people on payroll rather than an upstart hobby project

[1]: https://docs.emdashcms.com/migration/from-wordpress/

computerdork 9 hours ago [-]
Hadn't come across this. It does seem like a great idea. Although Cloudflares involvement seems like a mixed bag. Looked it up online (with AI), you can deploy it as a standalone site, but if you ever need to scale it up, emDash is tied to cloudflare's scaling services.

Still, for a huge majority of sites, this isn't a problem, they'll never need to scale up. And, as you mentioned, paid devs are going to do a really good job at maintaining it. Will have to keep an eye on it too.

illright 8 hours ago [-]
Is scaling tied to Cloudflare? Their docs on standalone deployment with Node seem pretty comprehensive, do correct me if I'm wrong though: https://docs.emdashcms.com/deployment/nodejs/

Sure, they've got some features that rub you towards Cloudflare's services, but as far as I remember, it is still always optional. I'd have a lot less confidence in EmDash if it was indeed unscaleable without Cloudflare

Sid_Lmao 12 hours ago [-]
The Idea behind making it a drop-in replacement is that you can switch quickly without a lot of migration work. For plugins we are porting them separately at https://github.com/hyscaler/HyScribe-Extensions/. It’s very early, but the plan is port as many open source plugins as we can.
johnofthesea 10 hours ago [-]
Most WP sites run on shared hosting. I wonder how can one drop-in custom binary there.
Sid_Lmao 9 hours ago [-]
It runs on a single userspace binary with no root needed, so it can work on shared hosts that let you run a process and reverse proxy to it. Classic PHP-only hosting won’t work, though.
reactordev 8 hours ago [-]
which most shared hosts don't let you do.
petra 11 hours ago [-]
What's the business model?
bonki 12 hours ago [-]
Who is going to maintain those rewritten plugins? I don't think this is a viable solution. I wish you luck, but I have my doubts about adoption. Wordpress really just needs to die in favor of something that's actually better with a real community, not just a rewrite in Rust.
Sid_Lmao 12 hours ago [-]
Agents of-course!
basch 11 hours ago [-]
Why not have the site just accept Wordpress plugins natively and translate it after upload instead of maintaining a library?
Sid_Lmao 11 hours ago [-]
Running agents and compiling Rust on every upload takes far more resources than typical shared hosting can provide, so porting once centrally makes more sense.
zsoltkacsandi 12 hours ago [-]
It does not support plugins, so its not a drop-in replacement.
_pdp_ 10 hours ago [-]
I wonder what the motivation was for rewriting it in Rust. It doesn't make sense to me.

Rust doesn't automatically prevent web application bugs caused by unsafe string concatenation or poor input validation. It doesn't prevent bugs in business logic or access controls either.

jhallenworld 10 hours ago [-]
Because Rust is very strongly statically typed, code that compiles is less likely to be broken. I would certainly trust it more than JS/Python/PHP without a test suite that checks every path. I don't really mean security problems- just that it doesn't crash.
freetonik 10 hours ago [-]
Perhaps to get the single binary? Rust specifically is not necessary, of course, and perhaps Go wouldv'be been a nicer fit.
Imustaskforhelp 10 hours ago [-]
It prevents php bugs themselves to affect all wordpress sites while being faster and with less memory consumption and memory safety.

> Rust doesn't automatically prevent web application bugs caused by unsafe string concatenation or poor input validation. It doesn't prevent bugs in business logic or access controls either.

of course, but I imagine that in theory and I may be totally wrong here (as I usually am), but it is possible to use verus for formal verification which could perhaps help with some of this stuff or could help in finding these bugs?

Sid_Lmao 8 hours ago [-]
[dead]
8 hours ago [-]
9 hours ago [-]
hexo 10 hours ago [-]
Hipster stuff with zero real value. Destined to die in few months.
superfrank 9 hours ago [-]
I was working at a company that was deciding between porting an old PHP monolith to Go or Java. A few developers started playing with Rust and very quickly that became the front running and the eventual winner for the migration. That was in 2018.

If you want to believe that Rust people only use Rust because of hype, I disagree, but I’m not going to argue. If it is just hype though, that hype cycle has been going on for close to a decade. Believing it’s going to end in the next few months seems pretty silly to me.

pier25 12 hours ago [-]
Probably +80% of WP sites would be a lot better with a static site.
krrrh 11 hours ago [-]
I’ve been converting my freinds’ buggy stale Wordpress and squarespace installs to Astro. In most cases it’s a short single paragraph prompt. I install keystatic which lets them edit the site through a simple GitHub app and login, and GitHub is set up to deploy to a free cloudflare tier on merges to main, and generate preview links before publishing.
curun1r 7 hours ago [-]
I did something similar with my mom’s site recently. Her hosting renewal (~$200/yr) was coming up and she asked me whether there was a cheaper option. Since she already pays for Claude, I took a shot a migrating her over to Cloudflare using Claude Code. The process was remarkably smooth and took less than an hour. Claude even migrated the Wordpress plugin functionality that pertained to her mailing list over to Workers.

So now her hosting is free and she updates the site using natural language rather than struggling with the Wordpress admin interface. As you said, there’s a preview step and a manual approval before it goes live. Claude even watches the build process using a token stored in 1Password so that it can inform her when the change is live and handle any errors, should they occur. As far as she’s concerned, pushing an update just requires her fingerprint. The whole process is documented in Claude.md so she doesn’t have to be aware of any of it.

It’s been really eye opening to me how much easier this setup is than Wordpress or Squarespace for non-tech people. Whereas once my mom avoided website updates because it meant struggling with the Wordpress authoring interface, she now makes updates every couple weeks. This setup has become my new go-to suggestion for my non-technical friends who want a website.

JoshStrobl 10 hours ago [-]
Never heard of keystatic before this comment, so thanks for posting about it. I've been wanting to port some of my wife's sites off WordPress to be static generated, but I appreciate the approachability of a WYSIWYG editor. Thought maybe some self-hosted Keystone (wanted to avoid cloud providers like Sanity) but wanted just simple git integration instead of content storage in a DB and needing to deal with keystone schemas.

Looks like this might do the trick assuming I can have it look at our Forgejo and not GitHub!

Bolwin 6 hours ago [-]
I actually have been asked to help with a WordPress site like this. Are there any recommended places to migrate to?
tonymet 7 hours ago [-]
Static site + small JS personalization would hit the remaining 20%
hk1337 9 hours ago [-]
I had this thought but with Rails instead a couple of years ago but never made anything of it. Anything to get Wordpress off PHP and let PHP advance without dragging Wordpress behind it.

All the various plugins is an issue though, because you'd either still need to handle PHP or recreate all main plugin functionality.

bzmrgonz 10 hours ago [-]
I think what we need is a migration tool, something that can crawl and scrape pages and rebuild them in an ai friendly stack. My brt is on astro with vanilla css and/or htmx. All these stacks and frameworks were built prior to ai to facilitate clumsy human builders. I think we can safely outsource the toilet and time consuming task of writing html(x) to ai now.
emrekayalar 9 hours ago [-]
A Rust drop-in for WordPress is a bold take - curious how it handles themes and plugins.
monkey_monkey 12 hours ago [-]
At some point people are going to realise that WP Core is the smallest part of WP - the plugin ecosystem is what matters.
Sid_Lmao 12 hours ago [-]
The core is still a big piece of work, and porting it is only the first step. We’re working on porting plugins and themes next, starting with open source ones.
zelphirkalt 11 hours ago [-]
Good then, that in order to make use of that ecosystem mostly securely, all one needs to do is to use as few plugins as possible, and to stick to the WP core.
Sid_Lmao 13 hours ago [-]
Please note that this is still an early stage build by me and my team. Would appreciate the viewers to take a jab at this!
anonreplier 12 hours ago [-]
Interesting to describe a claude sub as a team
the__alchemist 10 hours ago [-]
Jesus christ you're right. Psychosis.
Sid_Lmao 11 hours ago [-]
Not just a Claude sub, Gemini too :) Plus a couple of people steering, and some poor SSDs getting hammered by cargo mutants runs.
ramon156 11 hours ago [-]
> a couple of people steering

you mean one extra person in contributions? don't hyperbole, it looks bad

rgbjoy 11 hours ago [-]
Can we all just chill out? Everyone is agentic coding the fuck out of things and it's ok... we're all going to be ok.
bigstrat2003 9 hours ago [-]
It is, in fact, not ok. If you're just vibe coding stuff with an LLM, you haven't actually made anything and it isn't a valuable contribution.
crote 9 hours ago [-]
Exactly: everyone does it, so what makes your three-day Claude binge output so special that it warrants a Show HN? If I was looking for a vibecoded Wordpress replacement, what makes HyScribe different from Hatamoto[0], or probably a dozen others? Heck, what makes it different from Wordpress itself besides "Rust instead of PHP"?

Everyone's 5-year-old kids also make "drawings" at school you stick on your fridge. Everyone has pictures of cute cats on their phone. Everyone poops. And now everyone has vibecoded weekend projects they will likely abandon after a few months. So unless I am your mom, why exactly am I supposed to care about yours?

[0]: https://github.com/Zen-Labs-Corp/hatamoto

bigstrat2003 9 hours ago [-]
It's even worse than that. The 5 year old who does a drawing hasn't made anything interesting to someone outside his parents, but at least he actually made something. Vibe coders haven't even made anything, they are just LARPing at making stuff.
rfgplk 8 hours ago [-]
I've added management experience to my CV mainly due to managing swarms of agents. Never literally managed people (too much work), but something clicked in my head that since I'm sifting through a few ~dozen agents per workstation (and I'm running three separate machines), it's kinda sorta tantamount to managing three separate teams. Although to give credit to a random person from reddit, they were one of the first ones to suggest adding "AI Management" as legitimate experience to LinkedIn. So, I yoinked it from them.
dmd 12 hours ago [-]
It makes no sense. Nobody - NOBODY - uses WP without plugins. Plugins are the whole point.
scottydelta 10 hours ago [-]
Once HyScribe is stable, I will add it to https://tarvis.io catalog and it will be available as a one click install and run
mathfailure 10 hours ago [-]
That's a shitty self-insert. At least explain what that catalog is about.
scottydelta 8 hours ago [-]
On the contrary, I didn't want to promote my product here. I only wanted to drop it here for the author, but since you asked: Tarvis is a private managed cloud for running apps and agents. It has a catalog of over 700 open-source apps that you can install and run with a single click, with installation, domain management, SSL, security, and backups built in.

Right now, I have Wordpress in the catalog, which is used by one agency to run their clients' Wordpress setups. I think having an open-source alternative to WordPress is good for the ecosystem.

baalimago 12 hours ago [-]
Does it support psql?
Sid_Lmao 12 hours ago [-]
Not yet but PostgreSQL support is on the roadmap. It just wouldn’t be drop-in anymore. On MySQL you can switch back to wordpress on the same database at any time, and once your data is on Postgres that easy way back is gone.
zenincognito 29 minutes ago [-]
[dead]
shipvibed 9 hours ago [-]
[dead]
siteredraft 11 hours ago [-]
[dead]
KimiCat 10 hours ago [-]
[dead]
h0rhay 9 hours ago [-]
[dead]
yurigokoryan 12 hours ago [-]
[dead]
hadi77ir 12 hours ago [-]
Rust + LLM = I have no idea what I am doing.
misiek08 10 hours ago [-]
And "everything is on the roadmap"
SidLais 12 hours ago [-]
so php plugins just don't run? readme says they need porting to their wasm runtime and no popular one is ported yet, and anything not on a default block theme gets served with twenty twenty-five. calling that drop-in is a stretch https://github.com/hyscaler/HyScribe#readme
Sid_Lmao 9 hours ago [-]
[dead]
dofm 11 hours ago [-]
First I think this is a pretty silly implementation. As much as I owe some of my career to WP, it is time to move on from some of its implementation decisions, and improve on others. Though I fully endorse the idea that a scripting language is an unacceptable security risk for a public facing website.

But I want to ask: when did it become OK to slavishly replicate someone’s UI work like this? It’s such an uncool thing to do.

It’s not WordPress.

1) Why steal the UI to the extent that you will confuse people. It can’t be identical in function so it shouldn’t be identical in look.

2) Given your evident use of the universal thinking machine, why not get it to do a really innovative UI?

Sid_Lmao 9 hours ago [-]
[dead]
librasteve 11 hours ago [-]
I am not surprised that this has been done (it’s something I have considered doing myself in a vague way). My conclusion is that this is an interim step to 100% vibe coded static sites, with the possible (but unlikely) exception of actual blog sites (where the WP architecture is most aligned). Possibly something more useful to do with your tokens would be some kind of down to earth CMS with well known patterns for product listings, tagging, blogging and so on. Oh, maybe that’s Rust Laravel ;-)
wagarwaliw 10 hours ago [-]
“No php file is ever run” cool, there goes the plugin ecosystem, 99.95% of the reason why people use Wordpress in the first place.

What’s the use case here? “Likes blogging but likes CGI more than php” is a bit of a crowded space at the moment

11 hours ago [-]
benxh 13 hours ago [-]
>Written in Rust

Really makes you think, what is the reason you need memory safety FOR THIS

flakeoil 12 hours ago [-]
The main benefit is maybe not memory safety, but performance. Laravel just released Laravel Rust. Apparently they see around 18x performance improvements, and use 1/4 of the memory. You can save a lot on your servers. That is one benefit.

But why would memory safety not be a thing for a web app?

pier25 12 hours ago [-]
For performance just use a CDN or, even better, a static site.
the__alchemist 10 hours ago [-]
Rust is a very nice overall language. It is unfortunate it has been cast as a memory safe language; I find its strength is a combination of design choices which make it easy to work with. From my observations, the "Memory safe language" trope was (Surprising to me) propagated from within the rust common unity.
savolai 12 hours ago [-]
” PHP2Shell (October 2026) showed that every WordPress site can be compromised through the PHP runtime itself, with no plugin at fault. HyScribe keeps WordPress's data, URLs and ecosystem, and replaces the runtime with memory-safe Rust and sandboxed plugins. See docs/VISION.md.”

Because underlying php vulns were memory management issues.

” PHP versions as early as 5.4 (released in 2012)[9] were affected by these vulnerabilities, and while concerns around memory safety bugs had been raised decades before, no action was taken at the time because it was not thought that developing a working exploit could be feasible.[10][6.2] A PHP core developer discovered the out-of-memory error behind one of the vulnerabilities during an audit in 2024, but the bug was never fixed; the development team could not reach consensus on how to do so, and a specific exploit had not yet been discovered, so the issue was not prioritized.[11][12]” https://en.wikipedia.org/wiki/PHP2Shell

llm_nerd 12 hours ago [-]
I am not trying to be snarky, but are you asking why you need memory safety for a project serving dynamic content to the public web? Because that seems eminently self-evident. Or is the premise "if your wordpress host gets wrecked, so what?"

Mind you, 99.9999% of WP sites are effectively static content, and having a dynamic generator is a massive waste of time, and an unnecessary exposure. Solutions like Astro are better replacements.

EDIT: I've been bizarrely downvoted, but still haven't received an answer. Asking why you would benefit from memory safety for a public facing, internet exposed service is a legitimately insane question

mynameisash 6 hours ago [-]
I think memory safety is a bad way to look at it. PHP, C#, Java, Python, etc., are all memory safe, but they do it via GC. Rarely do we cast these languages as memory safe (at least as far as why we choose them).

IMHO, the strictness of rustc and the excellent compiler error and warning messages are very helpful to agentic coding, and the idea that "if it compiles, it's probably correct" is incredibly beneficial.

Performance, low-memory usage, and memory safety (without a GC) are nice, but not necessarily the primary drivers for selecting Rust.

savolai 10 hours ago [-]
I can only imagine, but I suppose they might have thought PHP is already memory managed so what's the difference.

Or that websites are not critical systems in the same sense as automation systems or cars or aeroplanes, so that may make the issue less critical in their mind.

"Legitimately insane question" was a new one for me. It seems like your points of view just differ.

Sid_Lmao 9 hours ago [-]
Agreed on memory safety. On static sites, you’re right that many WP sites could be static, but people stay on WordPress for the editing experience, not the rendering. We want to keep that experience and shrink what’s exposed to attackers.
beaconamber98 12 hours ago [-]
agreed, our docs site is basically four plugins and a theme wearing a wordpress costume
misiek08 10 hours ago [-]
The project doesn't work yet, everything is in progress, so just next AI slop attention gathering publication mentioning least important thing in title, but being standard for the community it comes from - Rust.

Please, stop spamming not even unfinished, but almost not started projects... These day having making such things is one or two days for completely unaware starter.

zsoltkacsandi 13 hours ago [-]
Wordpress became popular because of its plugin and theme ecosystem. It's kind of sad to see that some people try to ride the popularity of other software, written by LLM and built in Rust™, instead of coming up with new, original ideas that solve real problems.
Sid_Lmao 12 hours ago [-]
[dead]
tonymet 7 hours ago [-]
So much marketing about rust, very little about performance.

What are the gains? QPS? Memory? Security improvements?

Unless it’s cheaper, faster, more secure – why bother?

green-salt 8 hours ago [-]
Vibe coded slop.
the__alchemist 10 hours ago [-]
The README opens with a volley of slop. Pass.
fusionway25 10 hours ago [-]
[dead]
codynaut 9 hours ago [-]
[dead]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 01:36:13 GMT+0000 (Coordinated Universal Time) with Vercel.