Protorip
---
site: protos.rip
page: blog/protorip-registry-server
---

# Protorip Registry Server: open-source, self-hosted BSR for the Buf CLI

Marc Porciuncula, Founder of Strange Computer

I’ve released [Protorip Registry Server](https://github.com/Protorip/registry-server), an open-source, self-hosted Protocol Buffers schema registry compatible with the `buf` CLI.
It lets you publish, version, and consume private Buf modules inside your own infrastructure using the `buf` commands you already run (`buf registry login`, `buf push`, `buf dep update`, and `buf breaking`), without paying enterprise private-instance fees just to store `.proto` files and module metadata.

## Why another self-hosted registry

Other open-source registries such as `buffrs` and `pbuf.io` require adopting a separate CLI, manifest format, and workflow. If your team already relies on `buf.yaml`, `buf.lock`, and `buf breaking`, switching registries meant either staying on a managed BSR or abandoning the `buf` toolchain.
Protorip Registry Server implements the core [registry-proto](https://github.com/bufbuild/registry-proto) module management APIs directly, so your repositories keep standard `buf` configuration and you can move between self-hosted and `protos.rip` by changing the registry hostname.

## Simple to run

Protorip Registry Server is deliberately small. You run a single container (`ghcr.io/protorip/registry-server:latest`), mount a persistent volume for SQLite, and store module blobs on local disk or S3-compatible object storage:
```bash
docker pull ghcr.io/protorip/registry-server:latest
docker run -d --name protorip-registry \
-p 127.0.0.1:8080:8080 \
-v protorip-registry-data:/data \
-e TOKENS="$REGISTRY_TOKENS" \
ghcr.io/protorip/registry-server:latest
```
You can also run it directly with Node.js 24+ or Bun 1.4.5+, or embed it via `@protorip/registry-server` on npm to wire it into your own application’s authentication. See the [repository README](https://github.com/Protorip/registry-server#readme) for token generation, TLS setup, and S3 configuration.

## What’s left out on purpose

Self-hosting a registry gets painful when the server turns into a multi-service platform. Running untrusted remote `protoc` plugin containers, maintaining language package feeds, and managing fine-grained RBAC all add operational overhead that most teams don’t want to babysit for build-time tooling.
Keeping those features out of Protorip Registry Server keeps the server easy to operate without breaking core `buf` workflows:
  • >Code generation: Run `protoc` plugins locally or in CI with `buf generate`, and package client libraries with your existing CI pipelines if needed.
  • >Schema checks: `buf lint` and `buf breaking` still run against your remote module versions stored in the server.
  • >Upstream dependencies: Core public modules such as `googleapis/googleapis` aren’t pre-populated on a fresh server, so you’ll need to push any upstream dependencies your schemas import into your own instance.

## Using `protos.rip` alongside or instead of self-hosting

You don’t have to choose all-or-nothing. Remote code generation on `protos.rip` doesn’t require your modules to be hosted on `protos.rip`, so you can keep private schemas on your own Protorip Registry Server instance and still point `buf.gen.yaml` at `protos.rip` for remote plugins if you want to avoid managing `protoc` binaries in CI.
If you’d rather not run servers or replicate public modules at all, [protos.rip](/) gives you managed hosting, core public modules, remote plugin generation, Generated SDKs for Go and npm (beta), generated schema docs, and organisation-level roles and scoped tokens at a flat monthly rate ($9/month Solo, $49/month Team, and $0 for Free and [open source](/oss)).

[← all posts](/blog)