Thanks to visit codestin.com
Credit goes to buf.build

Skip to content

Buf Docs#

Documentation for the Buf CLI, the Buf Schema Registry (BSR), and related Protobuf projects.

Start here#

New to Buf#

Start with the Buf CLI quickstart. It walks through configuring a workspace, generating code, fixing lint errors, checking for breaking changes, and calling the generated API.

Publishing schemas#

Use the BSR quickstart to publish a module, consume it by name, and see how schemas become reusable dependencies and generated SDKs.

Replacing protoc#

Read Migrate from protoc if your Protobuf workflow is still built around include paths, shell scripts, and locally installed plugins.

Buf CLI#

The Buf CLI is the local toolchain for Protobuf: build, lint, format, detect breaking changes, generate code, manage dependencies, call APIs, and publish modules.

Buf Schema Registry#

The BSR stores Protobuf modules, resolves dependencies, renders docs, runs remote plugins, serves generated SDKs, and can enforce schema checks on push.

API tools and references#