Protobuf-first Go service framework for definition-driven development
Start modular monolithic, scale to microservices. Define once in Protobuf, generate Go handlers, HTTP routing, client SDKs, OpenAPI docs, and TypeScript bindings from a single source of truth. Complete code generation toolchain with structured error handling and developer-friendly CLI tools.
CI status
- sphere - Core library: task lifecycle, HTTP server conventions, and pluggable cache / MQ / storage / search backends.
- httpx - Unified HTTP abstraction (
stdxnet/http engine plusginx,echox,fiberx, andhertzxadapters).
- confstore - Lightweight typed configuration loader combining pluggable providers and codecs.
- jsoncompressor - Compresses JSON structs into value arrays while preserving field order for round-trip decoding.
sphere-layout: Default sphere project layout template withentas ORM.sphere-simple-layout: A simplified version of the Sphere project layout template.sphere-bun-layout: A layout template withbunas ORM.sphere-telegram-layout: The default Ent layout with a Telegram Bot lifecycle example.
- sphere-cli - A command-line tool designed to streamline the development of Sphere projects.
- entc-extensions - Ent codegen extensions (
entproto,entconv,entcrud). - protoc-gen-route - A protoc plugin that generates routing code from
.protofiles. - protoc-gen-sphere - A protoc plugin that generates HTTP server code from
.protofiles. - protoc-gen-sphere-binding - A protoc plugin that generates Go struct tags for Sphere binding from
.protofiles. - protoc-gen-sphere-errors - A protoc plugin that generates error handling code from
.protofiles.
- telegram-bot - Go helpers for building Telegram bots and authenticating Telegram Mini Apps.
- wecom-aibot-go-sdk - WeCom (Enterprise WeChat) intelligent bot Go SDK over WebSocket.
- weixin-api - Typed Go client suite for WeChat server APIs (Mini Program and Official Account).
- go-sphere.github.io - Official Sphere documentation site (go-sphere.github.io).
- skills - Agent skills for designing, building, and maintaining Sphere projects and Go codebases.
- workspace - Organization workspace tooling, root Makefile, agent guide, and cross-layout drift checks.
