Skip to content
@go-sphere

Sphere

Protobuf-first Go service framework for definition-driven development

Sphere

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
Repository Status Latest tag
binding CI Tag
confstore CI Tag
entc-extensions CI Tag
errors CI Tag
go-sphere.github.io Build and deploy —
httpx CI Tag
jsoncompressor CI Tag
options CI Tag
protoc-gen-route CI Tag
protoc-gen-sphere CI Tag
protoc-gen-sphere-binding CI Tag
protoc-gen-sphere-errors CI Tag
skills CI —
sphere CI Tag
sphere-bun-layout CI —
sphere-cli CI Tag
sphere-layout CI —
sphere-simple-layout CI —
sphere-telegram-layout CI —
telegram-bot CI Tag
wecom-aibot-go-sdk CI Tag
weixin-api CI —
workspace layout-drift —

core

  • sphere - Core library: task lifecycle, HTTP server conventions, and pluggable cache / MQ / storage / search backends.
  • httpx - Unified HTTP abstraction (stdx net/http engine plus ginx, echox, fiberx, and hertzx adapters).

libraries

  • 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.

layout

protobuf

toolchains

  • 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 .proto files.
  • protoc-gen-sphere - A protoc plugin that generates HTTP server code from .proto files.
  • protoc-gen-sphere-binding - A protoc plugin that generates Go struct tags for Sphere binding from .proto files.
  • protoc-gen-sphere-errors - A protoc plugin that generates error handling code from .proto files.

platform sdks

  • 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).

docs & tooling

  • 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.

Pinned Loading

  1. sphere sphere Public

    Protobuf-first Go service framework for definition-driven development

    Go 8 1

  2. httpx httpx Public

    A unified HTTP framework abstraction layer for Go that provides a consistent interface across multiple popular web frameworks.

    Go

  3. sphere-cli sphere-cli Public

    A command-line tool designed to streamline the development of Sphere projects.

    Go

  4. protoc-gen-sphere protoc-gen-sphere Public

    A protoc plugin that generates HTTP server code from `.proto` files.

    Go 1

  5. protoc-gen-sphere-binding protoc-gen-sphere-binding Public

    A protoc plugin that generates Go struct tags for Sphere binding from `.proto` files.

    Go

  6. protoc-gen-sphere-errors protoc-gen-sphere-errors Public

    A protoc plugin that generates error handling code from `.proto` files.

    Go

Repositories

Showing 10 of 26 repositories

Top languages

Loading…

Most used topics

Loading…