clubpay/ronykit

View on GitHub ↗

API Framework supporting REST and RPC.

38 ★6 forksGoUpdated 23d ago

What you need to know

High-performance Go API toolkit (REST + WebSocket) where you define contracts once to get type-safe handlers, auto-generated docs and client stubs; its ronyup scaffolding CLI bundles an MCP server so AI assistants can scaffold workspaces and services in MCP-capable IDEs.

Install

brew install clubpay/tap/ronyup
go install github.com/clubpay/ronykit/ronyup@latest

Usage

  • Scaffold a workspace with ronyup setup workspace -r ./my-api -m github.com/you/my-api, then add a service with ronyup setup feature
  • Serve REST and RPC (WebSocket) from the same handler; auto-generated Swagger UI / ReDoc / Scalar at /docs
  • For AI-assisted development, add the ronyup MCP server to .cursor/mcp.json (or GoLand settings) with command 'ronyup' and args ['mcp']
  • Generate Go and TypeScript client stubs from your service definitions

Key features

  • Contract-first development: request/response types are Go structs validated at compile time
  • Auto-generated API docs (Swagger UI / ReDoc / Scalar) served from handler types
  • One handler, multiple protocols: REST and WebSocket RPC
  • ronyup scaffolding CLI with dependency injection, repo layers, config and database migrations
  • Built-in MCP server (ronyup mcp) for AI-assisted workspace/service scaffolding
  • Pluggable high-performance gateways: fasthttp, silverhttp

Best for

Building high-throughput Go API services with AI-assisted scaffolding, or adding contract-first REST/WebSocket servers to Cursor/GoLand workflows

Caveats

  • MCP support is a helper inside the ronyup scaffolding CLI, not the product itself - it scaffolds/plans, it is not a data API bridge
  • brew install requires trusting the clubpay tap (fully-qualified tap name; Homebrew 6+ tap-trust)
  • No Windows-specific install path documented (Homebrew for macOS/Linux plus go install)
Platforms: LocalClients: Cursor · GoLand

Reviewed 2026-08-18

Topics

ai-friendlyframeworkgogolangmcpmiddlewaremodel-context-protocolperformanceperformantrest-apirestful-apironykitrouterrpcrpc-frameworkserverwebsocket
Stars
38★
Forks
6
Language
Go
License
BSD-3-Clause
Created
2021-12-26
Last push
2026-08-12