Skip to content

Buf

What is Buf?

Buf is a tool that makes working with Protocol Buffers a lot nicer. (I would add a section called “Why Protobuf?” here, but this blog post more than suffices).

It provides value in two forms:

  1. The Buf CLI for code generation, breaking change detection, linting, and formatting.
  2. The Buf Schema Registry (BSR) for storing and managing Protobuf files as versioned modules, allowing you to consume and publish APIs without friction.
    • The BSR did to Protobufs what VCS systems (like GitHub) did to source code.

Buf Schema Registry

We’ve published our 4 modules to the BSR: