{"id":31737485,"url":"https://github.com/sylvance/hadron","last_synced_at":"2025-10-09T09:22:35.221Z","repository":{"id":64367515,"uuid":"575274101","full_name":"Sylvance/hadron","owner":"Sylvance","description":"Ruby framework called Hadron that allows you to work with gRPC Ruby output easily.","archived":false,"fork":false,"pushed_at":"2022-12-31T07:02:46.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T20:22:28.089Z","etag":null,"topics":["framework","grpc","ruby"],"latest_commit_sha":null,"homepage":"https://github.com/Sylvance/hadron","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sylvance.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-07T06:16:40.000Z","updated_at":"2023-11-23T22:25:49.000Z","dependencies_parsed_at":"2023-01-15T14:00:52.661Z","dependency_job_id":null,"html_url":"https://github.com/Sylvance/hadron","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Sylvance/hadron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sylvance%2Fhadron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sylvance%2Fhadron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sylvance%2Fhadron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sylvance%2Fhadron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sylvance","download_url":"https://codeload.github.com/Sylvance/hadron/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sylvance%2Fhadron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001122,"owners_count":26083021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":["framework","grpc","ruby"],"created_at":"2025-10-09T09:22:30.979Z","updated_at":"2025-10-09T09:22:35.216Z","avatar_url":"https://github.com/Sylvance.png","language":"HTML","readme":"# Hadron\n\nRuby framework called Hadron that allows you to work with gRPC Ruby output easily.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add hadron\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install hadron\n\n## Usage\n\nOnce you have installed the gem, you can use it to create a new Ruby project by running the following command:\n\n    $ hadron create my_project\n\nThis will create a new Ruby project called my_project that uses the Hadron framework. You can then add gRPC support to your project by including the grpc gem in your project's Gemfile and running bundle install to install the gem.\n\nFor example, your Gemfile might look like this:\n\n```ruby\nsource 'https://rubygems.org'\n\ngem 'hadron'\ngem 'grpc'\n```\n\nOnce you have added the grpc gem to your project, you can use it to work with gRPC output easily in your Ruby code. For example, you might use it to define a gRPC service and implement its methods, as shown in the following code snippet:\n\n```ruby\nclass MyService \u003c Hadron::Service\n  rpc :say_hello, HelloRequest, HelloResponse\n\n  def say_hello(request, _call)\n    HelloResponse.new(message: \"Hello, #{request.name}!\")\n  end\nend\n```\n\nThis code defines a gRPC service called `MyService` that has a single method called `say_hello`. This method takes a `HelloRequest` and returns a `HelloResponse` containing a greeting message.\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 the created tag, 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/Sylvance/hadron. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/Sylvance/hadron/blob/main/CODE_OF_CONDUCT.md).\n\n## Code of Conduct\n\nEveryone interacting in the Hadron project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Sylvance/hadron/blob/main/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylvance%2Fhadron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsylvance%2Fhadron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylvance%2Fhadron/lists"}