grpc-ecosystem/grpc-gateway
gRPC to JSON proxy generator following the gRPC HTTP spec observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 22.5
- age_days: 4170
- days_rel: 28
- days_push: 7
- n_releases_24m: 21
Adoption not part of the score
19991 stars · 2402 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A protoc plugin that reads protobuf service definitions with google.api.http annotations and generates a reverse-proxy server translating RESTful JSON/HTTP requests into gRPC calls. It lets you expose the same API in both gRPC and REST styles, with OpenAPI/Swagger support.
Use cases
- expose a gRPC service as a RESTful JSON API
- generate a reverse proxy from protobuf definitions
- support clients that cannot use gRPC
- generate OpenAPI/Swagger docs from proto files
- serve both gRPC and REST endpoints from one codebase
- maintain backward-compatible HTTP APIs alongside gRPC
When to choose
- you already define services in protobuf and need HTTP/JSON access
- you want REST and gRPC from a single source of truth
- you need OpenAPI documentation generated from proto annotations
- you serve high-volume APIs in Go with proven tooling
When to avoid
- your services are not defined with protobuf/gRPC
- you want a hand-crafted REST API with full control over routing
- you need non-Go runtime support for the generated gateway
- you only need gRPC without any HTTP/JSON interface
Facets
library · maturity stable
rpc api-framework http-server middleware api-gateway apis backend developer-tools web-development go cross-platform grpc protobuf rest-api openapi swagger reverse-proxy protoc-plugin code-generation
2 sources
- readme: https://github.com/grpc-ecosystem/grpc-gateway · fetched 2026-08-28 · 875f345ba46d
- homepage: https://grpc-ecosystem.github.io/grpc-gateway/ · fetched 2026-08-29 · 5b78475f45b2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| grpc-ecosystem/grpc-gateway | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="grpc-ecosystem/grpc-gateway")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem