qmetrics.net

gRPCurl

Command-line client for calling gRPC servers

gRPCurl screenshot

grpcurl invokes gRPC RPCs from the shell using JSON requests instead of binary protobuf on the wire. It lists and describes services when reflection or schema files are available.

Overview

grpcurl is a terminal program for talking to gRPC servers in the same spirit as HTTP curl tools. gRPC normally encodes messages in protocol buffers on the wire, which standard curl cannot handle well without HTTP/2 support; grpcurl accepts JSON bodies that it encodes using the service schema before sending calls.

Its main job is invoking RPC methods from the command line, including streaming and bi-directional streaming when run from an interactive terminal with stdin as the body. It works with TLS and plain-text servers, exposes many TLS tuning options, and supports mutual TLS when the server requires a client certificate.

When a server exposes gRPC reflection, grpcurl can discover services without local files. Otherwise you supply .proto sources with import paths or compiled protoset descriptor files. List and describe verbs expose services, methods, and type definitions as proto-like snippets.

Distribution includes release binaries, Homebrew on macOS, Docker images, Snap, and third-party packages on Windows and Linux. A Go library in the same project helps authors build other CLI tools that dynamically call gRPC endpoints.

Key features

  • JSON-encoded gRPC invocations
  • Server reflection support
  • Proto and protoset schema input
  • Streaming RPC support
  • TLS and mutual TLS options
  • List and describe services
  • Request headers and metadata
  • Stdin request bodies with -d @

Use cases

  • Manual gRPC API debugging
  • Scripted RPC smoke tests
  • Exploring unknown gRPC schemas
  • Pipelines with jq-generated JSON bodies

Tags

Similar software

axios

Promise-based HTTP client for browser and Node.js

Axios is a promise-based HTTP client for JavaScript environments in the browser and Node.js. It supports common request methods, configurable defaults, and interceptors for request and response handling.

★ 109.5k⟳ 2 days agoMIT

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

OmniRoute

OpenAI-compatible AI gateway with provider routing

OmniRoute exposes one endpoint that routes chat requests across many LLM providers with quota-aware fallback and compression.

★ 90.7k⟳ todayMIT

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

★ 81k⟳ 5 days agoMIT
Open Source Alternative to:Postman

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

★ 75.7k⟳ 8 months agoMIT