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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
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