Generate packaged code

Focus on features, not generating code

The BSR automatically generates and publishes packages to NPM, Maven, and more, eliminating the need to manually generate code and enabling teams to focus on building great products.
Registries across platforms

Consume packages from backend, frontend, and mobile

Generated packages are available for a variety of development platforms through native registries like NPM, unlocking the productivity wins of Protobuf and prepackaged code — not only for backend, but also for frontend and mobile engineers.

Learn more about remote packages
Isolated generation

Generate code without managing a Protobuf environment

Build without worrying about your Protobuf environment, compiler, or plugins by generating code remotely using the Buf CLI or by consuming generated packages from the BSR.

Read more about code generation with Buf
Draft packages

Deploy draft packages for in-flight changes

Try out and iterate on drafted API changes before shipping them to production by deploying draft packages through the BSR.

See how to use drafts with remote packages
Automatic versioning and releases

Automatically release packages on push

Remote packages are available from the BSR as soon as new Protobuf changes are pushed, making them available for immediate consumption.

Learn more about remote packages
Custom Protobuf plugins

Customize generated code for bespoke needs

Customers on paid plans can upload custom in-house Protobuf plugins to extend generated code and take advantage of Buf's remote generation features.

Explore our pricing plans

Get started with remote packages

Get started