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
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
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