{"id":16679797,"url":"https://github.com/tsloughter/grpcbox_plugin","last_synced_at":"2025-04-09T22:33:19.057Z","repository":{"id":27264380,"uuid":"112872778","full_name":"tsloughter/grpcbox_plugin","owner":"tsloughter","description":"Rebar3 plugin for generating grpcbox behaviours","archived":false,"fork":false,"pushed_at":"2025-01-25T13:23:37.000Z","size":50,"stargazers_count":10,"open_issues_count":9,"forks_count":25,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T19:08:49.611Z","etag":null,"topics":["erlang","grpc","grpc-gateway","rebar3","rebar3-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsloughter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-02T20:00:37.000Z","updated_at":"2025-01-25T13:23:41.000Z","dependencies_parsed_at":"2025-01-25T14:21:36.446Z","dependency_job_id":"ca2a4bd5-edf2-4336-b8f0-179018d1929e","html_url":"https://github.com/tsloughter/grpcbox_plugin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsloughter%2Fgrpcbox_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsloughter%2Fgrpcbox_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsloughter%2Fgrpcbox_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsloughter%2Fgrpcbox_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsloughter","download_url":"https://codeload.github.com/tsloughter/grpcbox_plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248123956,"owners_count":21051563,"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","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":["erlang","grpc","grpc-gateway","rebar3","rebar3-plugin"],"created_at":"2024-10-12T13:37:34.282Z","updated_at":"2025-04-09T22:33:19.015Z","avatar_url":"https://github.com/tsloughter.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"grpcbox Plugin\n=====\n\nA rebar3 plugin for generating a behaviour per grpc service, for use with [grpcbox](https://github.com/tsloughter/grpcbox).\n\nBuild\n-----\n\n```\n$ rebar3 compile\n```\n\nUse\n---\n\nAdd the plugin to your rebar config:\n\n```\n{deps, [grpcbox]}.\n\n{grpc, [{protos, \"proto\"},\n        {gpb_opts, [{module_name_suffix, \"_pb\"}]}]}.\n\n{plugins, [grpcbox_plugin]}.\n```\n\nCurrently `grpcbox` and this plugin are a bit picky and the `gpb` options will always include `[use_packages, maps, type_specs, strings_as_binaries, {i, \".\"}, {o, \"src\"}]`.\n\nAssuming the `proto` directory of your application has the `route_guide.proto` found in this repo, `test/grpcbox_SUITE_data/route_guide.proto`, the output from running the plugin will be:\n\n```\n$ rebar3 grpc gen\n===\u003e Writing src/route_guide_pb.erl\n===\u003e Writing src/grpcbox_route_guide_behaviour.erl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsloughter%2Fgrpcbox_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsloughter%2Fgrpcbox_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsloughter%2Fgrpcbox_plugin/lists"}