Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust (opens external site)

92 points by Sid_Lmao 1 day ago github.com 79 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (21)

  1. 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?

    Replies (5)
    1. It does not support plugins, so its not a drop-in replacement.
    2. 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.
      Replies (3)
      1. 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.
        Replies (1)
        1. Agents of-course!
          Replies (1)
          1. Why not have the site just accept Wordpress plugins natively and translate it after upload instead of maintaining a library?
            Replies (1)
            1. 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.
      2. What's the business model?
      3. Most WP sites run on shared hosting. I wonder how can one drop-in custom binary there.
        Replies (1)
        1. 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.
          Replies (1)
          1. which most shared hosts don't let you do.
    3. 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.

      Replies (1)
      1. > (not to say this is)

        There are few MD files...

    4. 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/

      Replies (2)
      1. 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.

        Replies (1)
        1. 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

      2. Or Hatamoto cms
    5. 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.

      Replies (1)
      1. > 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.

        Replies (1)
        1. 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.

          Replies (1)
          1. Seems like an incredibly difficult project in itself, more complicated than the actual Wordpress engine port.