We have just released Hanami 2.0! Read the announcement.

Hanami

The web, with simplicity

Install v2.0.0 Getting Started

Released on November 22, 2022

Hanami is a modern web framework for Ruby.


Trusted by




Download, Develop, Deploy in 5 minutes.


% gem install hanami
Successfully installed hanami-2.0.0
1 gem installed

% hanami new bookshelf 22 files successfully created
% cd bookshelf && echo 'ruby "3.1.2"' >> Gemfile && bundle
Bundle complete! 12 Gemfile dependencies, 59 gems now installed.

% git init . && git add . && git commit -m "Initial commit" [main (root-commit) 5cf03f1] Initial commit 21 files changed, 359 insertions(+)
% heroku apps:create
Creating app... done, ⬢ Creating cherry-blossom-1234
https://cherry-blossom-1234.herokuapp.com/ | https://git.heroku.com/cherry-blossom-1234.git

% git push heroku main # ... remote: Verifying deploy... done. To https://git.heroku.com/cherry-blossom-1234.git * [new branch] main -> main
% heroku open Opening cherry-blossom-1234... done
Build your first application now. It will take you only a few minutes to learn how to do it.