qmetrics.net

GoFr

Opinionated Go framework for microservice development

GoFr screenshot

GoFr is a Go framework aimed at microservices with Kubernetes in mind. It bundles REST defaults, configuration, observability, databases, messaging, and optional AI integrations.

Overview

GoFr helps teams stand up HTTP and gRPC services with conventional REST behavior, middleware, swagger rendering, websockets, cron jobs, and health checks across configured datasources. Configuration follows twelve-factor style environment variables for plugging in SQL, Kafka, Pub/Sub, NATS, and similar backends.

Observability is wired by default: structured logs, traces to OpenTelemetry-compatible exporters, and Prometheus-style metrics. HTTP outbound calls can use a circuit breaker, and database migrations are supported in the workflow.

AI-related APIs register OpenAI-compatible LLM endpoints with tracing, token metrics, and streaming. An optional MCP server exposes read-only handlers as tools for agent clients on a loopback port, while in-process tool access supports custom agent loops.

Applications start with a small bootstrap that registers routes and runs a local server on a default port. Documentation covers LLM setup, MCP, and examples for common patterns. The project is listed in the CNCF landscape under app definition and development.

Key features

  • REST and gRPC handlers
  • Built-in logs, traces, metrics
  • Env-based datasource config
  • Auth and custom middleware
  • Pub/sub and cron support
  • Database migrations
  • LLM and MCP integrations
  • Swagger and health checks

Use cases

  • Kubernetes-oriented microservices
  • Internal REST APIs in Go
  • Services needing default observability
  • Agent-callable read APIs via MCP

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT