A schema registry with its own CLI
Push and pull Protobuf modules on Stubs with the stubs CLI, which lints, checks for breaking changes and formats on your machine with the same checks the registry runs. Every version is kept and every dependency is resolved.
What you get
Features
- 01
The stubs CLI
stubs login, stubs push, stubs dep update and stubs generate: one tool from your machine to the registry.
- 02
The registry's checks, locally
stubs lint and stubs breaking run the same checks as every push, so problems show up before you push.
- 03
Compatible with buf
stubs reads your buf.yaml as it is, and the buf CLI works with the registry too.
- 04
Immutable commits
Each push is stored as a commit addressed by its content, so a version never changes under you.
- 05
Labels for branches and releases
Point labels at commits to track main, release branches or previews, with a default label per module.
- 06
Dependency resolution
Depend on other modules by name. stubs dep update pins exact commits in your lock file.
- 07
Dependents view
See which modules depend on yours before you deprecate or change it.
- 08
Public and private modules
Share public modules with anyone, and keep private ones to your organisation's members.
In practice
Examples
version: v2
modules:
- path: proto
name: stubs.dev/acme/payments
deps:
- stubs.dev/acme/common$ stubs login stubs.dev
$ stubs dep update
$ stubs pushTry Stubs with your own schemas
Create an account, push a module and install your first generated SDK in a few minutes.