{"id":31406664,"url":"https://github.com/mbobin/hanami-octicons","last_synced_at":"2026-05-18T03:11:53.997Z","repository":{"id":56875767,"uuid":"120106412","full_name":"mbobin/hanami-octicons","owner":"mbobin","description":"Hanami wrapper for GitHub's Octicons","archived":false,"fork":false,"pushed_at":"2018-02-03T21:22:03.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T13:21:46.284Z","etag":null,"topics":["hanami","octicons","ruby","ruby-gem","svg-icons"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbobin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-03T16:06:27.000Z","updated_at":"2018-02-03T19:18:13.000Z","dependencies_parsed_at":"2022-08-20T22:00:44.823Z","dependency_job_id":null,"html_url":"https://github.com/mbobin/hanami-octicons","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mbobin/hanami-octicons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbobin%2Fhanami-octicons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbobin%2Fhanami-octicons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbobin%2Fhanami-octicons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbobin%2Fhanami-octicons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbobin","download_url":"https://codeload.github.com/mbobin/hanami-octicons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbobin%2Fhanami-octicons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33163445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hanami","octicons","ruby","ruby-gem","svg-icons"],"created_at":"2025-09-29T18:31:46.732Z","updated_at":"2026-05-18T03:11:53.992Z","avatar_url":"https://github.com/mbobin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hanami::Octicons\n\n[![Build Status](https://travis-ci.org/mbobin/hanami-octicons.svg?branch=master)](https://travis-ci.org/mbobin/hanami-octicons)\n[![Maintainability](https://api.codeclimate.com/v1/badges/887a929d19279d0b9c30/maintainability)](https://codeclimate.com/github/mbobin/hanami-octicons/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/887a929d19279d0b9c30/test_coverage)](https://codeclimate.com/github/mbobin/hanami-octicons/test_coverage)\n\nA custom helper method around GitHub's [Octicons](https://github.com/primer/octicons) that would be useful in [Hanami](http://hanamirb.org/) projects.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'hanami-octicons'\n```\n\nAnd then execute:\n\n    $ bundle\n\nAs final step, we need to include the module in all the views.\n```ruby\n# apps/web/application.rb\n\nmodule Web\n  class Application \u003c Hanami::Application\n    configure do\n      # ...\n\n      view.prepare do\n        # ...\n        include Hanami::Octicons::Helper\n        # ...\n      end\n    end\n  end\nend\n```\n\nSee [View's Share Code](http://hanamirb.org/guides/1.1/views/share-code/) section for low level details on Hanami guides website.\n\n## Usage\n\n```ruby\n\u003c%= octicon(:book) %\u003e\n\u003c%= octicon(:book, height: 32, fill: \"currentcolor\", class: \"mr-3\") %\u003e\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/mbobin/hanami-octicons. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Hanami::Octicons project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/mbobin/hanami-octicons/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbobin%2Fhanami-octicons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbobin%2Fhanami-octicons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbobin%2Fhanami-octicons/lists"}