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

# Generated SDKs for Go and npm (beta)

Marc Porciuncula, Founder of Strange Computer

I’ve enabled beta support for hosted Generated SDKs on `protos.rip` for Go and npm. Instead of configuring `buf.gen.yaml` and running `buf generate` in every consuming repository, you can install compiled types and RPC clients directly with `go get` or `npm install`.
Packages are built on demand from your module’s commits and cached once published, so repeat installs serve the stored artifact directly.

## Go module proxy

`protos.rip` serves a Go module proxy under `/gen/go/` using this module path shape:
```bash
go get protos.rip/gen/go/<scope>/<module>/protocolbuffers/go@latest
```
For Go `v2` plugins, include the `/v2` major-version suffix on the module path (for example `protos.rip/gen/go/<scope>/<module>/connectrpc/go/v2@latest`). Active Go SDKs include `protocolbuffers/go`, `connectrpc/go` (`v1` and `v2`), `connectrpc/gosimple`, `grpc/go`, `pluginrpc/go`, and `grpc-ecosystem/gateway`.
Public modules require no credentials. For private modules, set `GOPRIVATE=protos.rip` and `GONOPROXY=protos.rip` in your Go environment and add a `ripr_` API token to `~/.netrc` for `machine protos.rip`.

## npm registry

`protos.rip` serves a read-only npm registry at `https://protos.rip/gen/npm/v1`. Point `@protorip` in `.npmrc` and install packages with `npm` or `pnpm`:
```
```
```bash
npm install @protorip/<scope>_<module>.bufbuild_es
```
If you’re migrating existing `@buf/...` imports from `buf.build`, you can point `@buf:registry=https://protos.rip/gen/npm/v1` in `.npmrc` and refresh your lockfile without rewriting import paths in source. Runtime peer dependencies such as `@bufbuild/protobuf` and `@connectrpc/connect` continue to resolve from npmjs.
Active npm SDKs include `bufbuild/es`, `connectrpc/query-es`, `protocolbuffers/js`, `bufbuild/knit-ts`, `community/timostamm-protobuf-ts`, `grpc/node`, and `grpc/web`.

## Browsing install commands and legacy recipes

Every module page at `protos.rip/<scope>/<module>` and plugin page in the [plugin registry](/plugins) includes an SDK picker with copyable install commands for `@latest` and pinned schema refs.
New modules expose the active recipe for each supported plugin by default. If a module needs a historical version or a legacy npm plugin (`connectrpc/es`, `bufbuild/connect-es`, `bufbuild/connect-query`, or `bufbuild/connect-web`), an admin can enable it permanently per module in the [dashboard](/dashboard) under Settings -> SDK recipes using Enable legacy SDK.

## Beta scope and limits

  • >First-party modules: Generated SDKs work for public and private modules whose full dependency graph is hosted natively on `protos.rip` (including core public modules such as `googleapis/googleapis` and `bufbuild/protovalidate`). Modules with cross-registry proxy dependencies are excluded.
  • >Private access: Private SDK requests require a personal or organisation service API token (`ripr_`) with read access across the module and any private dependencies it imports.
  • >Metering: Generated SDK builds share your plan’s concurrency limits without spending remote-generation burst tokens or monthly allowances. Cached artifacts and metadata acquire no build leases.
  • >Not supported yet: Package feeds for PyPI, Maven, Cargo, and Swift, as well as the `buf registry sdk info` CLI command, aren’t supported yet.
This is a beta release while I continue syncing and validating more historical recipes. If you hit an issue or need an older plugin version enabled for your modules, email [hello@protos.rip](mailto:hello@protos.rip).

[← all posts](/blog)