[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-2e682fa8":3,"seo:featured-workflow:2e682fa8-4db9-11f1-9bc6-00163e2b0d79:es":84,"workflow-related-asset-2e682fa8-2e682fa8-4db9-11f1-9bc6-00163e2b0d79":85},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":13,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":15,"tags":22,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":29,"asset_kind":30,"target_tools":31,"install_mode":35,"entrypoint":19,"risk_profile":36,"dependencies":38,"verification":43,"agent_metadata":46,"agent_fit":59,"trust":71,"provenance":80,"created_at":82,"updated_at":83},3211,"2e682fa8-4db9-11f1-9bc6-00163e2b0d79","asset-2e682fa8","Hanami — Lightweight Full-Stack Ruby Web Framework","Hanami is a modern Ruby web framework designed around clean architecture principles, offering a modular alternative to Rails with explicit dependency management and persistence separation.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot","",0,6,"en",[16],{"id":17,"step_order":18,"title":19,"description":11,"prompt_template":20,"variables":11,"depends_on":21,"expected_output":11},3774,1,"Hanami Overview","# Hanami — Lightweight Full-Stack Ruby Web Framework\n\n## Quick Use\n```bash\ngem install hanami\nhanami new myapp\ncd myapp && bundle exec hanami server\n```\n\n## Introduction\nHanami is a full-stack Ruby web framework that takes a different approach from Rails. It favors explicit over implicit behavior, separates persistence from domain logic, and organizes code into self-contained slices. Hanami 2.x is built on top of dry-rb libraries, making it a strong choice for Ruby developers who want clean architecture without leaving the Ruby ecosystem.\n\n## What Hanami Does\n- Scaffolds full-stack Ruby web applications with a modular slice architecture\n- Separates actions, views, and persistence into distinct layers\n- Uses dry-rb ecosystem (dry-validation, dry-types) for type-safe parameter handling\n- Provides a ROM-based persistence layer decoupled from the web framework\n- Supports asset compilation and template rendering with ERB or Haml\n\n## Architecture Overview\nHanami 2.x is built on a dependency injection container powered by dry-system. Applications are divided into slices — self-contained modules that encapsulate routes, actions, and business logic. Each HTTP request hits a router that dispatches to an action class. Actions receive validated parameters and return a response, with no implicit global state. Persistence uses ROM (Ruby Object Mapper) with repositories and relations, keeping SQL concerns separate from domain objects.\n\n## Self-Hosting & Configuration\n- Install with `gem install hanami` (Ruby 3.1+)\n- Generate a new project with `hanami new myapp --database=postgres`\n- Configure database connections in `config\u002Fsettings.rb`\n- Run migrations with `bundle exec hanami db migrate`\n- Deploy with Puma behind Nginx, similar to any Rack-based Ruby application\n\n## Key Features\n- Slice-based architecture for modular monoliths and bounded contexts\n- Action classes with explicit input validation using dry-validation\n- ROM persistence layer that avoids Active Record pattern pitfalls\n- Thread-safe by default with no mutable global state\n- Strong type system integration via dry-types\n\n## Comparison with Similar Tools\n- **Ruby on Rails** — convention-over-configuration with Active Record, larger ecosystem, more implicit behavior\n- **Sinatra** — minimal DSL for simple apps, no built-in persistence or architecture patterns\n- **Roda** — routing-tree based micro framework, extremely fast, less opinionated about structure\n- **Grape** — REST API framework for Ruby, often mounted inside Rails, API-focused only\n\n## FAQ\n**Q: Should I choose Hanami over Rails for a new project?**\nA: Hanami suits teams that value explicit architecture and want to avoid the implicit coupling common in large Rails applications. Rails remains better for rapid prototyping and access to its vast gem ecosystem.\n\n**Q: Does Hanami support WebSockets?**\nA: Not natively in the core framework. You can integrate Action Cable or use a standalone WebSocket library alongside Hanami.\n\n**Q: Can I use ActiveRecord with Hanami?**\nA: Hanami is designed around ROM, but technically you can bring in ActiveRecord as a gem. The framework encourages using its own persistence layer for consistency.\n\n**Q: How mature is Hanami 2.x?**\nA: Hanami 2.x is production-ready with stable releases. The community is smaller than Rails but active, with documentation and guides available.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fhanami\u002Fhanami\n- https:\u002F\u002Fhanamirb.org","0",[23],{"id":24,"name":25,"slug":26,"icon":27},11,"Scripts","script","📜",false,"faf0f3de66b7543b9cccf905241e5211691a1b3524a48e2d3b6d682ebd722b71","skill",[32,33,34],"claude_code","codex","gemini_cli","single",{"executes_code":28,"modifies_global_config":28,"requires_secrets":37,"uses_absolute_paths":28,"network_access":28},[],{"npm":39,"pip":40,"brew":41,"system":42},[],[],[],[],{"commands":44,"expected_files":45},[],[19],{"asset_kind":30,"target_tools":47,"install_mode":35,"entrypoint":19,"risk_profile":48,"dependencies":50,"content_hash":29,"verification":55,"inferred":58},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":49,"uses_absolute_paths":28,"network_access":28},[],{"npm":51,"pip":52,"brew":53,"system":54},[],[],[],[],{"commands":56,"expected_files":57},[],[19],true,{"target":33,"score":60,"status":61,"policy":62,"why":63,"asset_kind":30,"install_mode":35},98,"native","allow",[64,65,66,67,68,69,70],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":29,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":74,"review_status":75,"signals":76},"established","hash_only",[],"unreviewed",[77,78,79],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":81,"content_hash":29,"visibility":18,"created_at":82,"updated_at":83},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-2e682fa8","2026-05-12 12:15:16","2026-05-12 12:19:45",null,[86,139,192,239],{"id":87,"uuid":88,"slug":89,"title":90,"description":91,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":92,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":93,"tags":94,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":96,"asset_kind":30,"target_tools":97,"install_mode":35,"entrypoint":98,"risk_profile":99,"dependencies":101,"verification":106,"agent_metadata":109,"agent_fit":121,"trust":123,"provenance":127,"created_at":129,"updated_at":130,"__relatedScore":131,"__relatedReasons":132,"__sharedTags":137},2300,"f34ab900-42fe-11f1-9bc6-00163e2b0d79","feathers-lightweight-real-time-api-framework-node-js-f34ab900","Feathers — Lightweight Real-Time API Framework for Node.js","Feathers is a lightweight web framework for building real-time applications and REST APIs with Node.js. It provides a service-oriented architecture that works with Express, Koa, or its own HTTP transport.",153,[],[95],{"id":24,"name":25,"slug":26,"icon":27},"b4722982610e0e5dd2dfa06cfd8c19c94b16c5d68656da48ff339bd105f4abd4",[32,33,34],"Feathers Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":100,"uses_absolute_paths":28,"network_access":28},[],{"npm":102,"pip":103,"brew":104,"system":105},[],[],[],[],{"commands":107,"expected_files":108},[],[98],{"asset_kind":30,"target_tools":110,"install_mode":35,"entrypoint":98,"risk_profile":111,"dependencies":113,"content_hash":96,"verification":118},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":112,"uses_absolute_paths":28,"network_access":28},[],{"npm":114,"pip":115,"brew":116,"system":117},[],[],[],[],{"commands":119,"expected_files":120},[],[98],{"target":33,"score":60,"status":61,"policy":62,"why":122,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":96,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":124,"review_status":75,"signals":125},[],[126,77,78,79],"asset has usage views",{"owner_uuid":9,"owner_name":10,"source_url":128,"content_hash":96,"visibility":18,"created_at":129,"updated_at":130},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Ffeathers-lightweight-real-time-api-framework-node-js-f34ab900","2026-04-28 20:36:59","2026-05-12 12:06:33",115.28128108125469,[133,134,135,136],"topic-match","same-kind","same-target","same-author",[26,138],"scripts",{"id":140,"uuid":141,"slug":142,"title":143,"description":144,"author_id":145,"author_name":146,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":147,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":148,"tags":149,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":155,"asset_kind":30,"target_tools":156,"install_mode":35,"entrypoint":157,"risk_profile":158,"dependencies":160,"verification":165,"agent_metadata":168,"agent_fit":180,"trust":182,"provenance":185,"created_at":187,"updated_at":188,"__relatedScore":189,"__relatedReasons":190,"__sharedTags":191},2401,"2d8c7349-446d-11f1-9bc6-00163e2b0d79","sinatra-lightweight-ruby-web-framework-2d8c7349","Sinatra — Lightweight Ruby Web Framework","A DSL for quickly creating web applications in Ruby with minimal effort and elegant syntax.","8a911193-3180-11f1-9bc6-00163e2b0d79","AI Open Source",78,[],[150],{"id":151,"name":152,"slug":153,"icon":154},12,"Configs","config","⚙️","b3aa656bd0e2a1b593d5d9051662de62936bc1e2cd14e5e86b5901822ae4e433",[32,33,34],"Sinatra Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":159,"uses_absolute_paths":28,"network_access":28},[],{"npm":161,"pip":162,"brew":163,"system":164},[],[],[],[],{"commands":166,"expected_files":167},[],[157],{"asset_kind":30,"target_tools":169,"install_mode":35,"entrypoint":157,"risk_profile":170,"dependencies":172,"content_hash":155,"verification":177},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":171,"uses_absolute_paths":28,"network_access":28},[],{"npm":173,"pip":174,"brew":175,"system":176},[],[],[],[],{"commands":178,"expected_files":179},[],[157],{"target":33,"score":60,"status":61,"policy":62,"why":181,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":155,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":183,"review_status":75,"signals":184},[],[77,78,79],{"owner_uuid":145,"owner_name":146,"source_url":186,"content_hash":155,"visibility":18,"created_at":187,"updated_at":188},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fsinatra-lightweight-ruby-web-framework-2d8c7349","2026-04-30 16:18:33","2026-05-12 10:48:22",106.84644063693567,[133,134,135],[],{"id":193,"uuid":194,"slug":195,"title":196,"description":197,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":198,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":199,"tags":200,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":202,"asset_kind":30,"target_tools":203,"install_mode":35,"entrypoint":204,"risk_profile":205,"dependencies":207,"verification":212,"agent_metadata":215,"agent_fit":227,"trust":229,"provenance":232,"created_at":234,"updated_at":235,"__relatedScore":236,"__relatedReasons":237,"__sharedTags":238},2412,"669124d3-4492-11f1-9bc6-00163e2b0d79","micronaut-lightweight-jvm-framework-microservices-669124d3","Micronaut — Lightweight JVM Framework for Microservices","Micronaut is a modern JVM framework for building modular, testable microservices and serverless applications with ahead-of-time compilation and minimal startup time.",108,[],[201],{"id":24,"name":25,"slug":26,"icon":27},"c190feb201d7db5720112f7a67e5311032c01f6e06c23a242f5ffa84adf9c65a",[32,33,34],"Micronaut Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":206,"uses_absolute_paths":28,"network_access":28},[],{"npm":208,"pip":209,"brew":210,"system":211},[],[],[],[],{"commands":213,"expected_files":214},[],[204],{"asset_kind":30,"target_tools":216,"install_mode":35,"entrypoint":204,"risk_profile":217,"dependencies":219,"content_hash":202,"verification":224},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":218,"uses_absolute_paths":28,"network_access":28},[],{"npm":220,"pip":221,"brew":222,"system":223},[],[],[],[],{"commands":225,"expected_files":226},[],[204],{"target":33,"score":60,"status":61,"policy":62,"why":228,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":202,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":230,"review_status":75,"signals":231},[],[126,77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":233,"content_hash":202,"visibility":18,"created_at":234,"updated_at":235},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fmicronaut-lightweight-jvm-framework-microservices-669124d3","2026-04-30 20:45:00","2026-05-12 10:56:14",103.05613974691093,[133,134,135,136],[26,138],{"id":240,"uuid":241,"slug":242,"title":243,"description":244,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":245,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":246,"tags":247,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":249,"asset_kind":30,"target_tools":250,"install_mode":35,"entrypoint":251,"risk_profile":252,"dependencies":254,"verification":259,"agent_metadata":262,"agent_fit":274,"trust":276,"provenance":279,"created_at":281,"updated_at":282,"__relatedScore":283,"__relatedReasons":284,"__sharedTags":285},1473,"362bc634-3929-11f1-9bc6-00163e2b0d79","metrics-server-lightweight-core-metrics-kubernetes-362bc634","Metrics Server — Lightweight Core Metrics for Kubernetes Autoscaling","Kubernetes Metrics Server is the lightweight cluster-wide CPU and memory metrics pipeline that powers kubectl top, HorizontalPodAutoscaler, and VerticalPodAutoscaler without requiring a full monitoring stack.",74,[],[248],{"id":24,"name":25,"slug":26,"icon":27},"b8a9c99b5cb88050445aacc6242711e3aadd2b91e990cdbd4d2efae4b98ac09c",[32,33,34],"Metrics Server for K8s autoscaling",{"executes_code":28,"modifies_global_config":28,"requires_secrets":253,"uses_absolute_paths":28,"network_access":28},[],{"npm":255,"pip":256,"brew":257,"system":258},[],[],[],[],{"commands":260,"expected_files":261},[],[251],{"asset_kind":30,"target_tools":263,"install_mode":35,"entrypoint":251,"risk_profile":264,"dependencies":266,"content_hash":249,"verification":271},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":265,"uses_absolute_paths":28,"network_access":28},[],{"npm":267,"pip":268,"brew":269,"system":270},[],[],[],[],{"commands":272,"expected_files":273},[],[251],{"target":33,"score":60,"status":61,"policy":62,"why":275,"asset_kind":30,"install_mode":35},[64,65,66,67,68,69,70],{"author_trust_level":72,"verified_publisher":28,"asset_signed_hash":249,"signature_status":73,"install_count":12,"report_count":12,"dangerous_capability_badges":277,"review_status":75,"signals":278},[],[77,78,79],{"owner_uuid":9,"owner_name":10,"source_url":280,"content_hash":249,"visibility":18,"created_at":281,"updated_at":282},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fmetrics-server-lightweight-core-metrics-kubernetes-362bc634","2026-04-16 08:14:19","2026-05-12 14:41:25",100.81259189508755,[133,134,135,136],[26,138]]