{"id":18403746,"url":"https://github.com/russellluo/protoc-go-plugins","last_synced_at":"2025-10-26T01:19:52.532Z","repository":{"id":72256764,"uuid":"95022122","full_name":"RussellLuo/protoc-go-plugins","owner":"RussellLuo","description":"Some useful Go's protoc plugins.","archived":false,"fork":false,"pushed_at":"2018-01-06T03:13:50.000Z","size":19,"stargazers_count":57,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T07:36:50.840Z","etag":null,"topics":["go","grpc","http","protoc"],"latest_commit_sha":null,"homepage":"","language":"Go","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/RussellLuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-21T16:05:06.000Z","updated_at":"2024-04-14T06:58:21.000Z","dependencies_parsed_at":"2023-02-26T21:45:43.776Z","dependency_job_id":null,"html_url":"https://github.com/RussellLuo/protoc-go-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RussellLuo/protoc-go-plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fprotoc-go-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fprotoc-go-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fprotoc-go-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fprotoc-go-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RussellLuo","download_url":"https://codeload.github.com/RussellLuo/protoc-go-plugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fprotoc-go-plugins/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262423385,"owners_count":23308923,"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":["go","grpc","http","protoc"],"created_at":"2024-11-06T02:48:05.361Z","updated_at":"2025-10-26T01:19:52.451Z","avatar_url":"https://github.com/RussellLuo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# protoc-go-plugins\n\nSome useful Go's protoc plugins.\n\n\n## Prerequisites\n\n- gRPC\n- Protocol Buffers v3\n- the protoc plugin for Go\n\nSee [gRPC Go Quickstart][1] for installation instructions.\n\n\n## Plugins\n\n### protoc-gen-gohttp\n\nExpose your gRPC services as HTTP services.\n\n#### Installation\n\nInstall protoc-gen-gohttp:\n\n```bash\n$ go get -u github.com/RussellLuo/protoc-go-plugins/protoc-gen-gohttp\n```\n\n#### Usage\n\nGenerate HTTP services for all gRPC services defined in the proto file:\n\n```bash\n$ protoc \u003cproto file\u003e --gohttp_out=pb_pkg_path=\u003cpb pacakge path\u003e:\u003coutput path\u003e\n```\n\nAs you can see, `pb_pkg_path` is the path of the pb package, which is generated by `protoc-gen-go`.\n\n\n#### Examples\n\nSee [examples](examples) to find out how to expose a simple gRPC service as an HTTP service on the same port.\n\n\n## License\n\n[MIT][2]\n\n\n[1]: http://www.grpc.io/docs/quickstart/go.html#prerequisites\n[2]: http://opensource.org/licenses/MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellluo%2Fprotoc-go-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frussellluo%2Fprotoc-go-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellluo%2Fprotoc-go-plugins/lists"}