{"slug": "hanami", "name": "Hanami", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 4, "commenters": 6, "warners": 0, "score": 3.941, "rising": -1.31, "first": "2025-11-08", "latest": "2026-07-10", "why": "Hanami remains a bright spark as an alternative growing Ruby app framework to Rails.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 4, "neutral": 1, "compare": 1, "warn": 0}, "spark": [1, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "Hanami remains a bright spark as an alternative growing Ruby app framework to Rails.", "kind": "", "icon": false, "domain": "hanamirb.org", "github_repo": null, "official_url": "https://hanamirb.org", "pricing": "", "aliases": ["Hanami"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 781747218, "item_id": 48859201, "url": "https://news.ycombinator.com/item?id=48859201", "by": "throwatdem12311", "date": "2026-07-10", "version": null, "stance": "recommend", "quote": "Hanami is decent.", "excerpt": "We work with Rails but there is more to programming (and Ruby) than work. Sinatra micro services were a thing for a while. Hanami is decent. But the reason we use Rails is pretty simple\u2026it\u2019s great, it\u2019s battle tested and has a massive ecosystem. I don\u2019t even care that DHH is a Nazi because you know what I can use it for non-Nazi stuff and there\u2019s nothing he can do about it. I get his labour for free. He\u2019s like my lit", "context": "", "use_case": "", "switched_from": "", "story": "How to Start a Ruby Meetup"}, {"id": 780345344, "item_id": 48771584, "url": "https://news.ycombinator.com/item?id=48771584", "by": "rahil627", "date": "2026-07-02", "version": null, "stance": "recommend", "quote": "i'm glad it's built from little composable gems (unlike rails)", "excerpt": "wow, ai told me this was for enterprise-size apps, \"symfony of the ruby world\" (dependency injection, data mapping..), to which i nearly puked, and avoided since.. it's really interesting to see people try to design things in a clearer way (explicit, modular, functional/immutable, less cpu indirection/execution, etc.) in ruby. I'm new to this language, but i think it's cool that for one big framework go all in on the", "context": "new to Ruby", "use_case": "", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 780072448, "item_id": 48754528, "url": "https://news.ycombinator.com/item?id=48754528", "by": "cllns_ruby", "date": "2026-07-01", "version": null, "stance": "recommend", "quote": "I found Hanami (then called Lotus) shortly after and I never looked back.", "excerpt": "Taking a workshop at Rocky Mountain Ruby on \"Component Based Rails Applications\" with Stephan Hagemann (the author of that book) was my introduction to all of this stuff! I found Hanami (then called Lotus) shortly after and I never looked back. I tried out Rails Engines on a couple projects, with such high hopes and ran into issue after issue. Sure it's theoretically possible to build whatever you want with Rails, bu", "context": "", "use_case": "", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 742426016, "item_id": 46401626, "url": "https://news.ycombinator.com/item?id=46401626", "by": "evolve2k", "date": "2025-12-27", "version": null, "stance": "recommend", "quote": "Hanami remains a bright spark as an alternative growing Ruby app framework to Rails.", "excerpt": "Hanami remains a bright spark as an alternative growing Ruby app framework to Rails. The project is under active development, I\u2019ve met the core dev and they are lovely and much more humble than DHH and the project aims to stick much closer to the Ruby ways of doing things as opposed to the rails way. Sure the project just can\u2019t be as mature as Rails but it deserves a look and we need to get behind projects like this ", "context": "", "use_case": "Ruby web framework", "switched_from": "", "story": "Mruby: Ruby for Embedded Systems"}, {"id": 733725091, "item_id": 45857818, "url": "https://news.ycombinator.com/item?id=45857818", "by": "jaredcwhite", "date": "2025-11-08", "version": null, "stance": "recommend", "quote": "I use other Ruby frameworks like Bridgetown, Roda, and Hanami", "excerpt": "1.method(:day).source_location <= your friend was wrong shrug Look, I'm not a big fan of all of Rails' monkeypatching. That's why I don't use Rails anymore, I use other Ruby frameworks like Bridgetown, Roda, and Hanami. But there's definitely a way to dive into the \"magic\" and find out what's going on.", "context": "", "use_case": "", "switched_from": "Rails", "story": "Friendly attributes pattern in Ruby"}]}], "caveats": [], "who": [{"by": "rahil627", "context": "new to Ruby", "url": "https://news.ycombinator.com/item?id=48771584", "date": "2026-07-02"}], "tags": [], "use_cases": ["ruby web framework"], "compared": [{"slug": "ruby-on-rails", "name": "Ruby on Rails", "co": 8, "switched_from": 1, "switched_to": 0}, {"slug": "roda", "name": "Roda", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [{"id": 780066240, "item_id": 48754140, "url": "https://news.ycombinator.com/item?id=48754140", "by": "cllns_ruby", "date": "2026-07-01", "version": null, "stance": "recommend", "quote": "our view layer (and assets layer) is very flexible", "excerpt": "Thanks! Hanami doesn't have any specific Inertia or Svelte specific integrations, but our view layer (and assets layer) is very flexible so it's certainly possible. It's worth investigating. If you try it out, let us know what you learn on our forum https://discourse.hanakai.org/", "context": "", "use_case": "Ruby web framework", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 780060080, "item_id": 48753755, "url": "https://news.ycombinator.com/item?id=48753755", "by": "cllns_ruby", "date": "2026-07-01", "version": null, "stance": "recommend", "quote": "I did most of this work", "excerpt": "Completely agree! I did most of this work and I wanted to add before-and-after benchmarking but I got busy. I have an in-progress (private for now) implementation of the Medium clone RealWorld [1] project. I want to make that public with some benchmarks, then write up a modern implementation in Rails so we can compare performance. It will also help people compare our code side-by-side, to translate concepts they know", "context": "", "use_case": "", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 780059568, "item_id": 48753723, "url": "https://news.ycombinator.com/item?id=48753723", "by": "cllns_ruby", "date": "2026-07-01", "version": null, "stance": "recommend", "quote": "Hanami core team-member here", "excerpt": "Hanami core team-member here :) We re-did our homepage recently, and we should make these things clearer. They're legitimate concerns and questions. We agree you don't have to write bad code in Rails, and we don't pretend that we can prevent bad code in Hanami. Instead we give application builders the tools to architect their applications in the way they desire. Really what we're doing is building an *option* for bui", "context": "", "use_case": "Ruby web framework", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}], "threads": [{"url": "https://news.ycombinator.com/item?id=48750527", "title": "Hanami 3.0: In Full Bloom", "mentions": 7}, {"url": "https://news.ycombinator.com/item?id=48850372", "title": "How to Start a Ruby Meetup", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46351457", "title": "Mruby: Ruby for Embedded Systems", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=45792555", "title": "Friendly attributes pattern in Ruby", "mentions": 1}], "sentiment_by_month": {"2025-11": {"recommend": 1}, "2025-12": {"recommend": 1}, "2026-01": {}, "2026-02": {}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {"neutral": 1, "compare": 1, "recommend": 2}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "versions": [], "version_unnamed": 0, "family_ref": null, "runs_on": null, "lines": [], "quotes": [{"id": 781747218, "item_id": 48859201, "url": "https://news.ycombinator.com/item?id=48859201", "by": "throwatdem12311", "date": "2026-07-10", "version": null, "stance": "recommend", "quote": "Hanami is decent.", "excerpt": "We work with Rails but there is more to programming (and Ruby) than work. Sinatra micro services were a thing for a while. Hanami is decent. But the reason we use Rails is pretty simple\u2026it\u2019s great, it\u2019s battle tested and has a massive ecosystem. I don\u2019t even care that DHH is a Nazi because you know what I can use it for non-Nazi stuff and there\u2019s nothing he can do about it. I get his labour for free. He\u2019s like my lit", "context": "", "use_case": "", "switched_from": "", "story": "How to Start a Ruby Meetup"}, {"id": 780345344, "item_id": 48771584, "url": "https://news.ycombinator.com/item?id=48771584", "by": "rahil627", "date": "2026-07-02", "version": null, "stance": "recommend", "quote": "i'm glad it's built from little composable gems (unlike rails)", "excerpt": "wow, ai told me this was for enterprise-size apps, \"symfony of the ruby world\" (dependency injection, data mapping..), to which i nearly puked, and avoided since.. it's really interesting to see people try to design things in a clearer way (explicit, modular, functional/immutable, less cpu indirection/execution, etc.) in ruby. I'm new to this language, but i think it's cool that for one big framework go all in on the", "context": "new to Ruby", "use_case": "", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 780072848, "item_id": 48754553, "url": "https://news.ycombinator.com/item?id=48754553", "by": "nine_k", "date": "2026-07-01", "version": null, "stance": "compare", "quote": "they show approximate parity, with Hanami being slightly faster", "excerpt": "Is this still the case? I was able to find only one fresh comparison, and in it they show approximate parity, with Hanami being slightly faster. https://web-frameworks-benchmark.netlify.app/result?asc=0&f=hanami,rails&order_by=level64", "context": "", "use_case": "", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 780072448, "item_id": 48754528, "url": "https://news.ycombinator.com/item?id=48754528", "by": "cllns_ruby", "date": "2026-07-01", "version": null, "stance": "recommend", "quote": "I found Hanami (then called Lotus) shortly after and I never looked back.", "excerpt": "Taking a workshop at Rocky Mountain Ruby on \"Component Based Rails Applications\" with Stephan Hagemann (the author of that book) was my introduction to all of this stuff! I found Hanami (then called Lotus) shortly after and I never looked back. I tried out Rails Engines on a couple projects, with such high hopes and ran into issue after issue. Sure it's theoretically possible to build whatever you want with Rails, bu", "context": "", "use_case": "", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 780064769, "item_id": 48754048, "url": "https://news.ycombinator.com/item?id=48754048", "by": "JustSkyfall", "date": "2026-07-01", "version": null, "stance": "neutral", "quote": "the Hanakai ecosystem looks really, really interesting", "excerpt": "Big congrats on the release! I have been using Rails 8 for the past few months on a work project, but the Hanakai ecosystem looks really, really interesting. My one question would be whether or not Hanakai supports Inertia or Svelte views - we've been moving away from ERB recently, which has made it much easier to write interactive code due to the ecosystem, and I'd rather not throw that DX away!", "context": "", "use_case": "", "switched_from": "", "story": "Hanami 3.0: In Full Bloom"}, {"id": 742426016, "item_id": 46401626, "url": "https://news.ycombinator.com/item?id=46401626", "by": "evolve2k", "date": "2025-12-27", "version": null, "stance": "recommend", "quote": "Hanami remains a bright spark as an alternative growing Ruby app framework to Rails.", "excerpt": "Hanami remains a bright spark as an alternative growing Ruby app framework to Rails. The project is under active development, I\u2019ve met the core dev and they are lovely and much more humble than DHH and the project aims to stick much closer to the Ruby ways of doing things as opposed to the rails way. Sure the project just can\u2019t be as mature as Rails but it deserves a look and we need to get behind projects like this ", "context": "", "use_case": "Ruby web framework", "switched_from": "", "story": "Mruby: Ruby for Embedded Systems"}, {"id": 733725091, "item_id": 45857818, "url": "https://news.ycombinator.com/item?id=45857818", "by": "jaredcwhite", "date": "2025-11-08", "version": null, "stance": "recommend", "quote": "I use other Ruby frameworks like Bridgetown, Roda, and Hanami", "excerpt": "1.method(:day).source_location <= your friend was wrong shrug Look, I'm not a big fan of all of Rails' monkeypatching. That's why I don't use Rails anymore, I use other Ruby frameworks like Bridgetown, Roda, and Hanami. But there's definitely a way to dive into the \"magic\" and find out what's going on.", "context": "", "use_case": "", "switched_from": "Rails", "story": "Friendly attributes pattern in Ruby"}]}