Self-hosted Git-native protobuf registry.
message Refund {string id = 1;+ RefundStatus status = 2;}+ enum RefundStatus {+ REFUND_PENDING = 1;+ REFUND_SETTLED = 2;+ }
type RefundStatus int32const (RefundPending RefundStatus = 1RefundSettled RefundStatus = 2)client := checkoutv1.NewClient(http.DefaultClient,registryURL,)
go get registry.example.com/ sdk/ payments/ checkout@a3f9c1ebuf check passedFrom commit to client SDK, automatically.
Push your schema
Commit .proto files and push over Git-SSH, just like any other repository.
Buf validates on receipt
Breaking-change detection and lint rules run before anything is accepted.
SDKs ship themselves
Worker pools generate and publish client SDKs for TypeScript, JavaScript, and Go.
version: v2 plugins: - remote: buf.build/protocolbuffers/go - remote: buf.build/community/typescript + hasir: auto-publish on push
buf lint STANDARD buf breaking --against .git#branch=main pass WIRE_JSON compatibility verified worker-pool: queued go-connectrpc, js-connectrpc
One push. Every SDK.
TypeScript client package
Every pushed commit publishes an immutable, commit-pinned module ready for package managers.
npm install git+ssh:// git@registry.example.com:2222/ sdk/ payments/ checkout/ a3f9c1e/ js-connectrpc/- Protocol
- Connect, gRPC-Web
- Distribution
- Git-SSH or HTTPS
import { createClient } from "@connectrpc/connect";import { createConnectTransport } from "@connectrpc/connect-web";import { CheckoutService } from "@hasir-sdk/payments";const transport = createConnectTransport({baseUrl: "https://api.example.com",});const client = createClient(CheckoutService, transport);const res = await client.issueRefund({ orderId: "ord_1042" });
Built around Git-SSH, buf, and Postgres.
For teams who treat protobuf definitions as source of truth.
Git-over-SSH push
Push .proto files with plain git push over a custom SSH server built for schemas.
ssh :2222Automatic SDK generation
Every push validates and packages client SDKs for TypeScript, JavaScript, and Go.
ts, js, goBuf-native validation
Definitions are checked for breaking changes and lint rules before they land.
buf breakingPostgres-backed registry
Every schema version is stored, indexed, and queryable from a single source of truth.
postgresqlOrg & repo management
Manage organizations, repositories, and permissions from one dashboard.
role-basedSSH key authentication
Developers authenticate with their own SSH keys, with no shared tokens and no leaks.
ed25519 / rsa
Run it on Docker Compose or Helm.
Self-host Hasir on your own server with pre-built ghcr.io images or deploy directly to Kubernetes.