{"repo":"bufbuild/buf","free":true,"listed":false,"github":"https://github.com/bufbuild/buf","clone":"git clone https://github.com/bufbuild/buf.git","description":"The best way of working with Protocol Buffers.","language":"Go","stars":11374,"topics":["protocol-buffers","protoc","grpc","protobuf","buf-cli","buf-schema-registry"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"Buf [ ][badges slack] Buf is the modern toolchain for [Protobuf][protobuf]. It replaces day-to-day protoc use with a fast compiler, module-aware workspaces, formatting, linting, breaking-change detection, code generation, dependency management, API calls, and a client for the [Buf Schema Registry][bsr]. If you are still driving Protobuf with shell scripts around protoc -I ... , Buf is the upgrade you want: the same schema language, the same generated-code plugin model, fewer moving parts, and a direct path from local .proto files to governed, versioned APIs. Start Install buf with [Homebrew][brew]: Initialize a workspace and run the checks you should expect every Protobuf repository to pass: Generate code from a checked-in buf.gen.yaml instead of a hand-maintained shell command: For a guided walkthrough from an empty workspace to a working Connect service, run the [Buf CLI quickstart][cli quickstart]. Why Buf wins Protobuf work With protoc and scripts With Buf --- --- --- Finding files Maintain -I paths and hope import order does not change behavior. Declare modules once in buf.yaml ; Buf discovers files and rejects ambiguous imports. Compiling Manage a local protoc install and parse changing stderr output. Use Buf's internal compiler, tested against protoc descriptor output and built for deterministic parallel compilation. Style Rely on review comments or separate tooling. Run buf lint locally, in editors, in CI, and on the BSR with 40+ built-in rules plus custom plugins. Co","default_branch":null,"files":null,"tree":[],"storefront":"/r/bufbuild","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bufbuild/buf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}