{"id":31696691,"url":"https://github.com/xiewenwei/grpc_for_rails","last_synced_at":"2025-10-08T17:13:52.096Z","repository":{"id":56875412,"uuid":"115082743","full_name":"xiewenwei/grpc_for_rails","owner":"xiewenwei","description":"Make grpc server and client easy for rails project.","archived":false,"fork":false,"pushed_at":"2018-01-05T08:39:52.000Z","size":36,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T19:22:05.275Z","etag":null,"topics":["grpc","grpc-ruby","grpc-server","rails"],"latest_commit_sha":null,"homepage":"","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/xiewenwei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-22T06:08:24.000Z","updated_at":"2020-12-03T06:01:09.000Z","dependencies_parsed_at":"2022-08-20T10:11:18.282Z","dependency_job_id":null,"html_url":"https://github.com/xiewenwei/grpc_for_rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xiewenwei/grpc_for_rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiewenwei%2Fgrpc_for_rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiewenwei%2Fgrpc_for_rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiewenwei%2Fgrpc_for_rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiewenwei%2Fgrpc_for_rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiewenwei","download_url":"https://codeload.github.com/xiewenwei/grpc_for_rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiewenwei%2Fgrpc_for_rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278981518,"owners_count":26079640,"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-08T02:00:06.501Z","response_time":56,"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":["grpc","grpc-ruby","grpc-server","rails"],"created_at":"2025-10-08T17:13:50.554Z","updated_at":"2025-10-08T17:13:52.088Z","avatar_url":"https://github.com/xiewenwei.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GrpcForRails\n\nMake grpc server and client easy for rails project.\n\ngrpc_for_rails provides a useful grpc_server wrapper and some flexible generators and rake tasks for rails project.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'grpc_for_rails'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install grpc_for_rails\n\nRun grpc:install generator after install gem:\n\n    $ bin/rails g grpc:install\n\n## Usage\n\nStart grpc_server and daemonize it:\n\n    $ bundle exec grpc_server -p grpc_server.pid -d\n\nStop grpc_server:\n\n    $ kill -TERM `cat grpc_server.pid`\n\nGenerate grpc_server configuration scaffold:\n\n    $ bin/rails g grpc:install\n\nIt will generate folder `\u003crails root\u003e/app/grpc` and sub-folder [`base`, `protos`, `services`] which are the default location for `grpc_for_rails`\n\nAnd it will generate file `\u003crails root\u003e/config/grpc_server.yml` which includes all grpc_server configurations `grpc_for_rails` supported. You can change it for your need.\n\nGenerate grpc_server service scaffold (TODO):\n\n    $ bin/rails g grpc:service \u003cmodel name\u003e\n\n\nGenerate grpc_server services ruby codes for grpc proto files:\n\n    $ bin/rails g grpc:base\n\nIt will generate ruby codes based on grpc proto files in `\u003crails root\u003e/app/grpc/protos`.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` 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/xiewenwei/grpc_for_rails. 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## Code of Conduct\n\nEveryone interacting in the GrpcForRails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/xiewenwei/grpc_for_rails/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiewenwei%2Fgrpc_for_rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiewenwei%2Fgrpc_for_rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiewenwei%2Fgrpc_for_rails/lists"}