Skip to content
Search

Connect RPC

lastmod 2026-01-07created 2026-01-072 edits

Simple, reliable, interoperable.

Protobuf RPC that works.

Connect is a family of libraries for building browser and gRPC-compatible APIs. If you're tired of hand-written boilerplate and turned off by massive frameworks, Connect is for you.

Connect-Web

Simple, reliable, interoperable. A better gRPC-Web.

A TypeScript library for making RPC calls from the browser

Features

  • Google's grpc-web has weak TS support, no JSON or ECMAScript module support, and its generated code looks like 10-year-old Java
  • Connect-web generates code that looks like a hand-written REST client
  • Supports 2 RPC protocols: gRPC-Web and Connect's own protocol
  • The Connect protocol is a simple POST-only protocol
    • Works over HTTP/1.1 or HTTP/2
    • Takes only the good parts of gRPC and gRPC-Web
  • Supports both Promise- and Callback-based APIs
    • Integrates well with React, Angular, Svelte, etc.
  • Switching the demo from grpc-web reduced the bundle size by 80%

See also

Favorite site

author Zer0 sitemap