MCPcopy Index your code
hub / github.com/douyu/jupiter

github.com/douyu/jupiter @v0.11.21

repository ↗ · DeepWiki ↗ · release v0.11.21 ↗ · + Follow
2,137 symbols 8,211 edges 359 files 1,113 documented · 52% updated 2d agov0.11.21 · 2025-10-20★ 4,565
README

JUPITER: Governance-oriented Microservice Framework

logo

GoTest codecov go.dev reference Go Report Card license

Introduction

JUPITER is a governance-oriented microservice framework, which is being used for years at Douyu.

Online Demo

Jupiter Console (Juno)

Username: admin
Password: admin

Documentation

See the 中文文档 for the Chinese documentation.

Requirements

  • Go version >= 1.19
  • Docker

Quick Start

  1. Install jupiter toolkit
  2. Create example project from jupiter-layout
  3. Download go mod dependencies
  4. Run the example project with jupiter toolkit
  5. Just code yourself :-)
go install github.com/douyu/jupiter/cmd/jupiter@latest
jupiter new example-go
cd example-go
go mod tidy
docker compose -f test/docker-compose.yml up -d
jupiter run -c cmd/exampleserver/.jupiter.toml

Learn More:

Bugs and Feedback

For bug report, questions and discussions please submit an issue.

Contributing

Contributions are always welcomed! Please see CONTRIBUTING for detailed guidelines.

You can start with the issues labeled with good first issue.

Contact

Extension points exported contracts — how you extend this code

PickerBuilder (Interface)
PickerBuilder ... [28 implementers]
pkg/client/grpc/balancer/swr.go
Runner (Interface)
Runner ... [12 implementers]
pkg/worker/xjob/job.go
Server (Interface)
Server ... [7 implementers]
pkg/server/server.go
Flag (Interface)
Flag defines application flag. [5 implementers]
pkg/flag/flag.go
DataSource (Interface)
DataSource ... [4 implementers]
pkg/conf/datasource.go
XJob (Interface)
XJob 定时任务接口 [4 implementers]
pkg/executor/executor.go
Registry (Interface)
Registry register/unregister service registry impl should control rpc timeout [2 implementers]
pkg/registry/registry.go
LeaderElector (Interface)
(no doc) [3 implementers]
pkg/core/elect/elect.go

Core symbols most depended-on inside this repo

Equal
called by 243
pkg/server/server.go
Errorf
called by 187
pkg/core/xgrpclog/logger.go
Jupiter
called by 185
pkg/xlog/api.go
Run
called by 145
pkg/worker/worker.go
Error
called by 122
pkg/core/rocketmq/log.go
String
called by 109
pkg/core/hooks/hooks.go
Info
called by 91
pkg/server/server.go
Get
called by 83
pkg/store/gorm/orm.go

Shape

Function 935
Method 842
Struct 288
TypeAlias 28
Interface 26
FuncType 18

Languages

Go100%

Modules by API surface

proto/helloworld/v1/helloworld.pb.go70 symbols
pkg/conf/conf.go50 symbols
pkg/flag/flag.go41 symbols
pkg/util/xfieldmask/helloworld.pb_test.go37 symbols
pkg/core/application/application_test.go34 symbols
pkg/server/xgin/websocket.go28 symbols
proto/helloworld/v1/helloworld_fm.pb.go27 symbols
pkg/xlog/rotate/lumberjack_linux.go27 symbols
pkg/xlog/rotate/lumberjack_darwin.go27 symbols
pkg/xlog/rotate/lumberjack_windows.go26 symbols
pkg/xlog/field.go26 symbols
pkg/core/application/application.go24 symbols

Dependencies from manifests, versioned

cirello.io/pglockv1.14.0 · 1×
dario.cat/mergov1.0.0 · 1×
github.com/Azure/go-ansitermv0.0.0-2023012417243 · 1×
github.com/Masterminds/goutilsv1.1.1 · 1×
github.com/Masterminds/semver/v3v3.2.0 · 1×
github.com/Microsoft/go-winiov0.6.0 · 1×
github.com/StackExchange/wmiv1.2.1 · 1×
github.com/aliyun/aliyun-tablestore-go-sdkv1.7.17 · 1×
github.com/andybalholm/brotliv1.0.5 · 1×

Datastores touched

(mysql)Database · 1 repos
(mongodb)Database · 1 repos
adminDatabase · 1 repos
mysqlDatabase · 1 repos

For agents

$ claude mcp add jupiter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact