Stubs
The stubs CLI · compatible with buf

One home for your Protobuf APIs

Stubs keeps every version of your Protobuf schemas in one place, turns them into packages your teams install with npm, Go, Maven or pip, and makes every service, message and field easy to find.

Already using buf? Your buf.yaml works as is, and so does the buf CLI.

Push a schema; get packages for npm, Go, Maven and pip.

The platform

Everything your schemas need, in one place

  • Registry

    Versioned modules, labels and dependencies, pushed and pulled with the stubs CLI. Existing buf projects work unchanged.

    Explore the registry
  • Generated SDKs

    Every commit becomes a package for npm, Go, Maven and pip. No code generation in your builds.

    $ npm install @stubsdev/acme_payments.protobuf-es added 2 packages in 1s
    Explore generated SDKs
  • API Explorer

    Browsable docs for every module, and search that finds services, RPCs, messages and fields.

    Explore the API Explorer
  • Governance

    Lint and breaking-change policies checked on every push, with an approval queue when you need one.

    Explore governance

How it works

From stubs push to installed SDK

  1. 01

    Sign in from the CLI

    Sign in to stubs.dev with an API token. stubs lint and stubs breaking run the registry's own checks on your machine, so problems show up before anything is sent.

    $ stubs login stubs.dev
  2. 02

    Push your module

    Each push becomes an immutable commit. Labels track your branches and releases.

    $ stubs push
  3. 03

    Install the SDK

    Packages are built from that commit on first request, for every supported language.

    $ npm install @stubsdev/acme_payments.protobuf-es

Try Stubs with your own schemas

Create an account, push a module and install your first generated SDK in a few minutes.