qmetrics.net

gRPC-Gateway

Protobuf plugin generating REST JSON to gRPC reverse proxies

gRPC-Gateway screenshot

gRPC-Gateway is a protoc plugin that reads gRPC service definitions and emits a reverse-proxy server. It exposes the same backend through RESTful JSON HTTP while following gRPC HTTP mapping rules.

Overview

gRPC-Gateway plugs into the protocol buffers compiler. It consumes protobuf service definitions annotated with google.api.http options and generates Go code for an HTTP reverse proxy that forwards REST JSON calls to a gRPC service.

Teams can ship one gRPC implementation and still offer a JSON HTTP API for browsers, legacy clients, or tooling that expects REST. Mapping can rely on default HTTP semantics, custom annotations in the proto file, or an external gRPC service configuration when the proto is not under your control.

Companion generators emit OpenAPI Swagger or OpenAPI 3.1 descriptions from the same definitions. You implement the gRPC service separately, generate gateway stubs with buf or protoc, then run an entrypoint HTTP server that dials your gRPC backend.

Optional buf remote plugins and released binaries supply the protoc-gen-grpc-gateway and related tools without a local compile step. Documentation walks through annotation patterns, gateway customization, and unescaping modes for path parameters.

Key features

  • protoc plugin code generation
  • google.api.http annotation mapping
  • Default unannotated HTTP mapping
  • External gRPC service configuration
  • OpenAPI and Swagger generation
  • OpenAPI 3.1 generator alpha option
  • buf and protoc workflow support
  • Standalone gateway package option

Use cases

  • Dual gRPC and REST API exposure
  • JSON HTTP access to gRPC backends
  • OpenAPI docs from protobuf services
  • Backward-compatible REST clients

Tags

Similar software

Sub2API

Subscription quota gateway for AI model APIs

Sub2API is an AI API gateway that routes Claude, OpenAI, Gemini, and Grok subscription capacity through one relay. Clients can share quotas and use native tooling by changing the base URL.

★ 46.7k⟳ yesterdayLGPL-3.0

WxJava

Java server SDK for WeChat platform APIs

WxJava is a Java toolkit for backend development against WeChat services, including official accounts, mini programs, pay, enterprise WeChat, open platform, and video channel APIs.

★ 33.2k⟳ 11 days agoApache-2.0
Integration PlatformsDesktop/CLI app

Corsair

Open product integration layer for agents and backends

Corsair connects user applications through a REST-based integration platform with unified syntax across adapters. Teams can self-host or use managed OAuth and webhooks.

★ 15.6k⟳ todayApache-2.0

Registry

Community registry listing Model Context Protocol servers

MCP Registry is a catalog service that supplies MCP clients with discoverable MCP servers. It works as an app-store style index for MCP servers.

★ 7.5k⟳ todayApache-2.0 · open core

Lura

Go framework for API gateways and proxy assembly

Lura is an open framework to build API gateways and proxies with middleware. It aggregates backend calls into single endpoints for clients.

★ 6.8k⟳ 1 month agoApache-2.0

GraphQL Mesh

GraphQL federation framework for REST, gRPC, and databases

GraphQL Mesh composes GraphQL and non-GraphQL APIs into federated graphs. It converts remote specs to GraphQL, applies transforms, and can run in-process or behind a gateway.

★ 3.5k⟳ todayMIT