Hanami is a modern Ruby web framework that aims to be lightweight, fast, and modular, in contrast to the monolithic design of Rails. It emphasizes separation of concerns, encouraging developers to structure applications into clear layers of controllers, views, entities, and repositories. Each component—like the router, model layer, or view rendering engine—can be used independently, which gives developers flexibility to build lean applications. Hanami promotes immutability, plain old Ruby objects, and minimized global state, which makes codebases more maintainable and testable. It supports multi-application setups within the same project, making it well-suited for larger service-oriented architectures. The framework is designed to provide Rails-like productivity while encouraging more explicit architecture and performance-conscious choices.

Features

  • Modular structure: routers, controllers, views, models separated clearly, enabling smaller and more maintainable components
  • Support for multiple rendering engines, templating, and view layer flexibility
  • Support for multiple persistence adapters (ORMs) or data layers
  • Middleware stack and configurable application architecture
  • Emphasis on performance, memory efficiency, faster boot times compared to heavier frameworks
  • Support for streaming responses, web sockets, or modern web features as needed (depending on configuration)

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Hanami

Hanami Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Hanami!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Frameworks

Registered

2025-09-17