Skip to main content
You do not need generated code to call the feed. The Connect protocol is plain JSON over HTTP, as the curl examples show. Generate an SDK when you want typed messages and a client stub. SafeDep publishes the canonical schema at buf.build/safedep/api. The registry also generates SDKs for supported languages. The relevant protobuf packages are:

Get an SDK for your language

buf.build generates a typed SDK from the SafeDep schema for any language it supports. Pick yours on the buf.build SDK page, then follow the same pattern as the Go and TypeScript examples below.

Go

TypeScript

Python

Java

Rust

More languages

Go

SafeDep publishes prebuilt modules on the Buf Go proxy, so you can import them without running codegen:

TypeScript

Install the prebuilt SDK from the Buf npm registry (bufbuild/es), plus a Connect transport: