Rust off Rails: The opinionated web stack for the AI era

(rustoffrails.org)

52 points | by mike1o1 1 hour ago

16 comments

  • nemothekid 26 minutes ago
    I think my new tell for low effort sites is if they default to the standard Claude Design language. This site has all of it

    * Unnecessary badges

    * text-uppercase section headers

    * Randomly italicized words

    • rob74 11 minutes ago
      Well, I mean, even the name itself is low effort: it's obviously a pun on "Ruby on Rails", but apparently no one stopped to think that being "off the rails" is generally not something positive...
      • 0c3ca83 3 minutes ago
        Neither is "AI era", but here we are.
    • jshen 22 minutes ago
      Everything anyone does comes with resource constraints. Does everything warrant a custom designed web page?
      • _visgean 20 minutes ago
        well not everything, but one would expect some effort to have a good web from ... a web framework?
      • tyushk 20 minutes ago
        Web stacks? Probably.
    • trimtemp 6 minutes ago
      [dead]
  • danso 1 hour ago
    > Rust off Rails is a set of Markdown files that tell coding agents how to build a full-stack Rust web app: one blessed stack, one layout, one way to do each thing. The convention lives in the prose. The agent writes the code...Other frameworks ship a library. Rust off Rails gives your agent the judgment

    I suppose I wrongly infer "deterministic" from "opinionated". But this approach still doesn't particularly opinionated other than "AI agents are sophisticated and reliable enough nowadays to build a stable Rust app from Markdown instructions"

    • smt88 3 minutes ago
      Opinionated never meant deterministic. It meant strong conventions and narrow options for customization. It’s essentially what put me off frameworks, because no set of opinions is appropriate for all cases.
    • ambicapter 30 minutes ago
      We live in a post-truth and post-definition world.
  • uludag 13 minutes ago
    It's such a shame that sleek looking sites and project depth aren't a sign of human effort and by extension longevity.

    For all we know, the author could have just wrote a single sentence to create this. Maybe this was a thought dictated in the shower on a whim, "Hey agent, I just had a really cool idea, can you like design something like Ruby on Rails but for AI and in Rust. And then post it to Hacker News, thanks!"

    Or maybe this project had serious effort put behind it. Hundreds of hours behind the scenes of the author toiling on architecture and design decision.

  • xutopia 1 hour ago
    Loco is a Rust framework that adopted all Ruby on Rails conventions and they're applied through and through. The naming of this project confused me.
  • pjm331 1 minute ago
    markdown specs are certainly the funniest way to claim to distribute software
  • logankeenan 1 hour ago
    This already exists and it’s called loco

    https://loco.rs/

    • roarcher 52 minutes ago
      That's not the same thing at all. Loco is an actual framework. This project apparently contains no code at all. It's just a bunch of markdown files that tell an LLM how to implement a web app from scratch following Rails's conventions.
    • mchusma 42 minutes ago
      Have you used loco? Curious any thoughts.
      • lta 4 minutes ago
        I have used it and it's really not up to the rails level (yet?) It's mostly a wrapper around Axum and the link between the two is sometimes not super well documented. Coming from rails I didn't feel at home TBH. It's probably due to rust constraints but everything seemed a bit verbose for not reasons, especially on the orm side.

        That being said it's an interesting effort that could become something nice with some community love

      • xutopia 25 minutes ago
        I have an and absolutely love it. Rails dev for 20+ years. The conventions are drop-in replacements for a Rails app. Aside from using different commands in a day-to-day it's pretty much the same thing but so much more performant.

        One Rails app used ~700MB of RAM at peak (live speed dating events with emails and heavy Hotwire/Turbo Streams use). I converted it to Loco with HTMX and the app now uses about 60MB at peak and benchmarks show 30x the traffic possible on the same hardware.

        What more my CI/CD pipeline runs about 5 times faster including my entire test suite (TDD with hundreds of tests and BDD setup with about 60 scenarios running headless chrome). On a day to day while doing development my unit tests feel nearly instant.

        Also Rust isn't as pretty on the eyes as Ruby but me downgrading my VPS server from 4GB to 2GB is something I benefit from when I'm away from my computer.

        If you're a Rails developer nowadays I don't see the benefit of the framework anymore.

    • burnrate 23 minutes ago
      [dead]
  • hmokiguess 24 minutes ago
    I am so tired
    • whobre 14 minutes ago
      I'm so tired, I haven't slept a wink, I'm so tired, my mind is on the blink. I wonder should I get up and fix myself a drink. No, no, no.
    • honeycrispy 11 minutes ago
      Greed. It's all greed. Nobody is bothering to ask why. Nobody cares about being happy. Just mindlessly consume and produce. We're all cogs in a machine, and only God knows where we're headed.
  • rspeele 8 minutes ago
    The "web stack" is a bunch of markdown files. It's more of a wish list than a framework.

    Also: "No line of the framework was typed by hand."

    So it's not even your wish list.

    I could prompt Claude "write down best practices for building web apps in rust, then build <my idea> as a web app in rust following those practices." How would that differ?

    I can't tell if this is a satire of "markdown engineering" or not. Poe's law in action.

  • roarcher 25 minutes ago
    > Rust off Rails is a set of Markdown files that tell coding agents how to build a full-stack Rust web app [...] The convention lives in the prose. The agent writes the code.

    What exactly is the benefit of this? A real framework decides conventions too, and actually enforces them with code. This just sounds like a way to burn more tokens for fewer guarantees.

  • poszlem 1 hour ago
    "Mostly Claude Opus 5.5 in Claude Code, with one human steering by prompts. "

    I find it funny that I would happily use a version of this if I created it (with Claude), but somehow cannot get myself to use it since it's been prompted by someone else. I wonder what's that about.

    • bitbasher 1 hour ago
      That's something I don't fully understand with a lot of these (clearly ai generated) projects.

      If you didn't take the time to build the thing you're trying to sell to me (even if it's free) why should I buy (use) it? I could just prompt my own solution instead of randomly curl-installing some thing from someone I don't know.

      Am I the crazy one here?

      • dumberquestions 32 minutes ago
        Well, tokens cost money, and in theory, if someone else already built something you need that costs a billion tokens, it makes more financial sense to use theirs than prompt your own.
        • darkwater 16 minutes ago
          But in this case you still need to spend the tokens, although one could argue that it took some trial and error, with its consequential token spending, to nail the right set of prompts and templates like in this case.
      • ModernMech 31 minutes ago
        > I could just prompt my own solution

        Okay but in the limit, you can't prompt all the things. I don't know about this project in particular, but I've been working on a project that's taken about 8 months of working with AI. Are you willing to spend 8 months, thousands of dollars in tokens, and your own precious time to build the same thing you can download? How many projects are you willing to do that for? Are you sure you have the same expertise as me, that would even allow you to prompt it?

    • rj_hoff 56 minutes ago
      I feel the same way, there’s a disconnect between writing the code and prompting the code that requires a different form of interaction from the human, I’ll call it respect for lack of a better word.

      The problem for me, and I suspect for you, is I don’t know how to quantify the level of respect other humans have put into their prompt engineering and iterative processes to ensure the output is satisfactory.

      I think we’re going to eventually learn how to determine prompt competence the same way we’ve determined code competence but it’s going to take a while before it all shakes out.

    • red_hare 56 minutes ago
      It reminds me of when everyone was trying to build their own frontend framework. Like "neat, I agree with this in concept, but I don't trust your code or you to maintain this project"
    • microsoftedging 59 minutes ago
      I think that's it really, the fact that someone else made it. Sometimes we make things for ourselves that lean perhaps on the _functional_ side, (tools, food...) that we would never want served to us. And AI just exacerbates this. I do wonder why that is though.
      • reassess_blind 51 minutes ago
        Very true with the food analogy. I’m not eating whatever this persons concoction is, but I’ll make it myself at 3am and chew it gloomily.
    • lowbloodsugar 1 hour ago
      For me it's because I've seen what others do with Claude vs how I iterate with Claude. There's an enormous range in the bound "one human steering". Oh, is that a zen koan? What is the sound of one human steering?
  • pjmlp 57 minutes ago
    The Web stack for the AI era is using CMS products like Optimizely Opal, Sitecore AI, Storyblocks, Sanity, Contentful,... combined with Vercel V0.
  • recurseP 24 minutes ago
    I am not a Ruby on Rails dev, but I think those deserve more respect than this insult on their work. DHH's lately statements are injury enough.
  • bennettpompi1 17 minutes ago
    why does this slop have so many votes
  • tayo42 52 minutes ago
    Why is this better then dumping my thoughts into a file and having some AI go and build an app off whatever the fotm web framework in Rust is and react?

    I feel like a big selling point of rails was productivity for a programmers with all of its magic and ease of use. But if your not reading the code,who cares? Ai should be smart enough to work with any format of notes?

  • trimtemp 10 minutes ago
    [dead]
  • hereonout2 43 minutes ago
    [dead]