21 comments

  • _pdp_ 39 minutes 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.

    • Imustaskforhelp 10 minutes 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?

  • bovermyer 2 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 1 hour 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 51 minutes 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 38 minutes 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 1 hour 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 28 minutes ago
        > (not to say this is)

        There are few MD files...

    • illright 1 hour 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/

    • Sid_Lmao 2 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 34 minutes ago
        Most WP sites run on shared hosting. I wonder how can one drop-in custom binary there.
      • petra 1 hour ago
        What's the business model?
      • bonki 1 hour 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 1 hour ago
          Agents of-course!
          • basch 1 hour ago
            Why not have the site just accept Wordpress plugins natively and translate it after upload instead of maintaining a library?
            • Sid_Lmao 1 hour 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 2 hours ago
      It does not support plugins, so its not a drop-in replacement.
  • bzmrgonz 26 minutes 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.
  • scottydelta 38 minutes 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 1 minute ago
      That's a shitty self-insert. At least explain what that catalog is about.
  • pier25 2 hours ago
    Probably +80% of WP sites would be a lot better with a static site.
    • krrrh 45 minutes 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.
      • JoshStrobl 30 minutes 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!

  • monkey_monkey 2 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 1 hour 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 1 hour 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 3 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 2 hours ago
      Interesting to describe a claude sub as a team
      • the__alchemist 34 minutes ago
        Jesus christ you're right. Psychosis.
      • Sid_Lmao 1 hour 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 1 hour ago
          > a couple of people steering

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

          • rgbjoy 51 minutes 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.
    • dmd 1 hour ago
      It makes no sense. Nobody - NOBODY - uses WP without plugins. Plugins are the whole point.
  • baalimago 2 hours ago
    Does it support psql?
    • Sid_Lmao 1 hour 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.
  • fusionway25 0 minutes ago
    [dead]
  • siteredraft 1 hour ago
    [dead]
  • yurigokoryan 2 hours ago
    [dead]
  • dofm 55 minutes 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?

  • wagarwaliw 35 minutes 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

  • librasteve 1 hour 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 ;-)
  • hadi77ir 2 hours ago
    Rust + LLM = I have no idea what I am doing.
  • SidLais 2 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
  • benxh 2 hours ago
    >Written in Rust

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

    • the__alchemist 35 minutes 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.
    • flakeoil 2 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 2 hours ago
        For performance just use a CDN or, even better, a static site.
    • savolai 2 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 1 hour 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

      • savolai 15 minutes 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.

  • beaconamber98 2 hours ago
    agreed, our docs site is basically four plugins and a theme wearing a wordpress costume
  • zsoltkacsandi 2 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.
  • the__alchemist 37 minutes ago
    The README opens with a volley of slop. Pass.