dreamhead/moco
Easy Setup Stub Server observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 81
- Release rhythm 48
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5067
- days_rel: 135
- days_push: 116
- n_releases_24m: 1
Adoption not part of the score
4445 stars · 1080 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Moco is an easy-setup stub framework for the JVM that spins up mock HTTP, REST, WebSocket, and SSE servers from simple JSON configuration files. It eliminates the need to deploy WARs to application servers when stubbing external HTTP-based integrations during development and testing.
Use cases
- mock a REST API for integration tests
- stub third-party HTTP services during development
- simulate websocket and SSE endpoints
- spin up a fake server without deploying a WAR
- configure mock responses from a JSON file
When to choose
- you need quick, config-driven HTTP stubs on the JVM
- you want to avoid deploying WARs just to mock a web service
- you need to stub REST, WebSocket, or SSE endpoints for testing
When to avoid
- you need a general-purpose production web server
- you work outside the JVM ecosystem and prefer a non-Java mock tool
- you need contract-testing features like consumer-driven contracts
Facets
framework · maturity active
http-server mocking testing api-framework websocket testing web-development developer-tools apis jvm cli cross-platform stub-server mock-server http-stub integration-testing service-virtualization
1 source
- readme: https://github.com/dreamhead/moco · fetched 2026-08-28 · 550be40cf038
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dreamhead/moco | main | 73 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem