awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
go-kratos avatar

go-kratos/kratos

0
View on GitHub↗
25,743 stars·4,161 forks·Go·MIT·10 viewsgo-kratos.dev↗

Kratos

Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP.

The project is distinguished by its pluggable service infrastructure, which allows for the swapping of configuration stores, service registries, and data encoding formats. It utilizes a composable middleware pipeline to inject cross-cutting concerns such as authentication, request validation, and circuit breaking into the service flow.

The framework covers broad capability areas including cloud-native observability via OpenTelemetry for logging, metrics, and tracing, as well as traffic management through circuit breakers and request interception. It further supports service discovery, asynchronous event distribution, and automated development lifecycle tooling for project bootstrapping and static analysis.

Features

  • Cloud Native Development Frameworks - Provides a comprehensive framework for building scalable, resilient cloud-native microservices in Go.
  • Pluggable Architectures - Decouples core logic from external dependencies using a pluggable architecture based on Go interfaces.
  • API Code Generators - Provides tools to automatically produce server stubs and client libraries from API interface definitions.
  • API-First Development Toolsets - Offers a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP.
  • Schema-Driven Code Generators - Produces type-safe server and client boilerplate from Protobuf schema definitions.
  • HTTP Transports - Provides robust implementations of HTTP and gRPC transport layers with integrated TLS encryption.
  • Multi-Protocol Routing - Implements a single routing layer to handle multiple communication protocols like HTTP and gRPC in one service.
  • Protocol-Agnostic Transport Layers - Provides a protocol-agnostic transport layer to route traffic regardless of whether it uses HTTP or gRPC.
  • API-First Design Workflows - Enables an API-first workflow using Protobuf to generate consistent gRPC and HTTP server and client code.
  • Application Configuration - Manages application settings by loading configurations from local files or distributed stores.
  • Modular Extension Architectures - Implements a modular architecture that allows swapping configuration stores, service registries, and data encoding formats.
  • Composable Middleware Pipelines - Ships a composable middleware pipeline to inject cross-cutting concerns like authentication and recovery into the service flow.
  • Service Instance Lifecycle Management - Provides a service registry to track available service instances across a distributed cluster.
  • Distributed Observability Systems - Integrates structured logging, metrics, and tracing via OpenTelemetry to monitor health across distributed microservices.
  • Distributed Tracing Contexts - Attaches metadata and trace IDs to request contexts to synchronize logs, metrics, and spans across services.
  • Observability Suites - Provides an integrated observability suite for collecting and analyzing logs, metrics, and traces via OpenTelemetry.
  • Go Web Frameworks - Acts as a comprehensive toolkit for building high-performance cloud-native microservices using the Go programming language.
  • Middleware Pipelines - Features a composable middleware system to intercept and process network traffic through modular request and response stages.
  • Service Middleware Pipelines - Implements a composable middleware pipeline for injecting authentication, JWT validation, and data validation into the service flow.
  • API Compatibility Analysis - Analyzes Protobuf files for breaking changes and style violations to ensure backward compatibility.
  • Microservice Project Scaffolding - Ships a command-line tool to create a standardized project structure and runtime environment for microservices.
  • Server Boilerplate Generators - Automates the creation of server-side boilerplate and error handling code from API schemas.
  • Service Meshes - Manages inter-service traffic using gRPC, circuit breakers, and service discovery to ensure system stability.
  • Circuit Breakers - Prevents cascading failures by wrapping remote service calls in a circuit breaker state machine.
  • System Stability Protections - Prevents cascading failures by implementing combined rate limiting and circuit breakers to manage traffic spikes.
  • Access Control - Implements systems to authenticate requests and restrict access to protected resources based on security policies.
  • JWT Authentication - Provides middleware to validate JSON Web Tokens within the request pipeline to secure service endpoints.
  • API Contract Linting - Analyzes Protobuf definitions for style violations and breaking changes to ensure API contract integrity.
  • Request Interception Middleware - Provides request interception middleware for cross-cutting concerns such as logging, metrics collection, and panic recovery.
  • Request Validation - Provides middleware and utilities to verify that incoming HTTP request data meets specified constraints before processing.
  • Metric Collection - Provides capabilities to gather and export quantitative performance data and operational telemetry to monitoring platforms.
  • Monitoring and Observability - Integrates logging and telemetry via standard libraries to provide visibility into service health and performance.
  • Telemetry Collectors - Includes telemetry collectors to aggregate metrics, traces, and logs for monitoring health across complex architectures.
  • JSON Encoding - Implements flexible serialization of data into JSON format using standard or Protobuf-specific semantics.
  • Request Data Binding - Maps incoming HTTP request data from URLs, queries, and forms into structured Go objects.
  • Distributed Systems - Modular microservices framework.
  • Microservice Frameworks - Cloud-native framework designed for microservice development.
  • Microservices and RPC - Cloud-native microservices framework.
  • Web Frameworks - Microservices-oriented framework designed for high-concurrency systems.

Star history

Star history chart for go-kratos/kratosStar history chart for go-kratos/kratos

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does go-kratos/kratos do?

Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP.

What are the main features of go-kratos/kratos?

The main features of go-kratos/kratos are: Cloud Native Development Frameworks, Pluggable Architectures, API Code Generators, API-First Development Toolsets, Schema-Driven Code Generators, HTTP Transports, Multi-Protocol Routing, Protocol-Agnostic Transport Layers.

What are some open-source alternatives to go-kratos/kratos?

Open-source alternatives to go-kratos/kratos include: tal-tech/go-zero — go-zero is a toolkit for building cloud-native distributed services in Go. It functions as a microservices framework… twitchtv/twirp — Twirp is a Protocol Buffers RPC framework designed for implementing type-safe, distributed microservices communication… dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… nodeshift/nodejs-reference-architecture — This project provides a comprehensive architectural framework and set of standardized patterns for building, securing,… cloudwego/hertz — Hertz is a high-performance Go HTTP framework designed for building scalable microservices, RESTful APIs, and AI… goadesign/goa — Goa is a design-first Go framework that generates server and client code, documentation, and request validation from a…

Open-source alternatives to Kratos

Similar open-source projects, ranked by how many features they share with Kratos.
  • tal-tech/go-zerotal-tech avatar

    tal-tech/go-zero

    33,103View on GitHub↗

    go-zero is a toolkit for building cloud-native distributed services in Go. It functions as a microservices framework that provides built-in support for RPC, web APIs, and service discovery. The project includes a microservices code generator that produces production-ready server and client boilerplate from API descriptions. This automation is supported by a domain-specific language and pattern libraries designed to ensure compatibility with AI assistants. The framework incorporates a resilience suite for distributed system reliability, utilizing adaptive circuit breakers, rate limiting, and

    Go
    View on GitHub↗33,103
  • twitchtv/twirptwitchtv avatar

    twitchtv/twirp

    7,517View on GitHub↗

    Twirp is a Protocol Buffers RPC framework designed for implementing type-safe, distributed microservices communication over HTTP. It functions as a microservices communication framework and API code generator that produces strongly typed client stubs and server interfaces from schema definitions to eliminate manual network boilerplate. The framework ensures compatibility with existing web infrastructure by executing remote procedure calls over standard HTTP transport. It uses schema-driven contracts as a single source of truth to enable cross-language interoperability and decouple business lo

    Go
    View on GitHub↗7,517
  • dodyg/practical-aspnetcoredodyg avatar

    dodyg/practical-aspnetcore

    10,382View on GitHub↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    View on GitHub↗10,382
  • nodeshift/nodejs-reference-architecturenodeshift avatar

    nodeshift/nodejs-reference-architecture

    1,747View on GitHub↗

    This project provides a comprehensive architectural framework and set of standardized patterns for building, securing, and scaling production-ready Node.js applications. It serves as a foundational guide for establishing consistent development workflows, operational observability, and reliable service integration across distributed software systems. The framework distinguishes itself by emphasizing a schema-first approach to API development, ensuring that interface definitions drive the creation of server stubs, client libraries, and type definitions. It promotes a cloud-native posture by int

    JavaScript
    View on GitHub↗1,747
See all 30 alternatives to Kratos→