Protorip
---
site: protos.rip
page: blog/generated-sdks-go-and-npm
---

# Generated SDKs for Go and npm

Marc Porciuncula, Founder - Protorip & Strange Computer

`protos.rip` now supports Generated SDKs for Go and npm. You can replace `buf generate` and `buf.yaml` entirely for consumers of your proto based APIs with no need to build, package, or publish client libraries in your own CI. `protos.rip` handles it for you.

## Go SDKs

`protos.rip` serves generated Go SDKs under `protos.rip/gen/go`, and works like any other Go module proxy or third-party Go dependency.
```bash
go get protos.rip/gen/go/<scope>/<module>/protocolbuffers/go@latest
```
Public modules require no credentials. For private modules, create a `ripr_` token with read access in the dashboard and save it to your `~/.netrc`, then add the following to your Go environment:
```env
GOPRIVATE=protos.rip
GONOPROXY=protos.rip
```
Supported Go SDKs include `protocolbuffers/go`, `connectrpc/go` (`v1` and `v2`), `connectrpc/gosimple`, `grpc/go`, `pluginrpc/go`, and `grpc-ecosystem/gateway`.

## npm registry

`protos.rip` serves a read-only npm registry at `https://protos.rip/gen/npm/v1`. To use it with npm or your preferred package manager, add the registry to your `.npmrc`:
```ini
@protorip:registry=https://protos.rip/gen/npm/v1
```
If you’re migrating from `buf.build` generated SDKs, we also serve all npm modules under the `@buf` scope simultaneously so you can migrate without needing to update consumer package references.
```ini
@buf:registry=https://protos.rip/gen/npm/v1
```
Then you can install via `npm` or your favourite package manager.
```bash
npm install @protorip/<scope>_<module>.bufbuild_es
# or
npm install @buf/<scope>_<module>.bufbuild_es
```
For private modules, create a `ripr_` token with read access in the dashboard and then make it available in your environment, e.g. in your `.bashrc` or `.zshrc`.
```bash
export PROTORIP_TOKEN="ripr_xxx"
```
And add the following to your `.npmrc` to authenticate with the registry:
```ini
//protos.rip/gen/npm/v1/:_authToken=${PROTORIP_TOKEN}
```
Supported npm SDKs include `bufbuild/es`, `connectrpc/query-es`, `protocolbuffers/js`, `bufbuild/knit-ts`, `community/timostamm-protobuf-ts`, `grpc/node`, and `grpc/web`.

## SDK support and discovery

Generated SDKs are automatically available for all public and private modules.
We support and maintain the same SDK recipes as `buf.build`, targeting identical code output. You can find easy SDK installation snippets on each module’s registry page at `protos.rip/<scope>/<module>`. For more detailed support information about each available SDK, check the SDK’s plugin page in the [plugin registry](/plugins).

### Legacy SDK versions

Generated SDKs are based on remote generation plugins, which means code output changes as plugins are updated. To maintain compatibility for old consumers, `protos.rip` maintains old SDK generations and SDK generation plugins indefinitely.
When creating a new Buf module on `protos.rip`, we only enable the latest SDK recipes by default. If you need access to an older version, you can enable it permanently in the [dashboard](/dashboard) under Settings -> SDK recipes -> Enable legacy SDK.

## Caching and limits

Generated SDKs are generated on demand when first requested and are cached indefinitely. There are no additional costs or limits associated with accessing generated SDKs through the Go modules or npm registry endpoints on `protos.rip`.

[← all posts](/blog)