{"repo":"go-kratos/kratos","free":true,"listed":false,"github":"https://github.com/go-kratos/kratos","clone":"git clone https://github.com/go-kratos/kratos.git","description":"Your ultimate Go microservices framework for the cloud-native era.","language":"Go","stars":25867,"topics":["golang","framework","kratos","go","microservices","architecture","protobuf","http","grpc","generate"],"license":"MIT","category":"networking-infra","readme_excerpt":"Translations: English 简体中文 Kratos Kratos is a lightweight Go framework for building cloud-native microservices. It provides small, explicit APIs for transport, middleware, registry, configuration, logging, encoding, and code generation so applications can focus on business logic. Features - API-first development with Protobuf and generated HTTP/gRPC code. - Unified transport layer for HTTP and gRPC. - Composable middleware for recovery, logging, validation, tracing, metrics, auth, and more. - Pluggable registry, configuration, and encoding components. - Standard-library log/slog based logging with OpenTelemetry extensions in contrib packages. - Consistent metadata, errors, validation, OpenAPI, and code-generation workflows. - A contrib ecosystem for optional integrations such as registries, config stores, middleware, encodings, and observability. Installation Requirements - Go 1.25 or later - protoc - protoc-gen-go Install the CLI Create a Service Visit http://localhost:8000/helloworld/kratos after the service starts. For a fuller generated service flow: Usage Example v3 Migration Kratos v3 reduces core dependencies and makes previously implicit behavior explicit. Review the v2 to v3 migration guide before upgrading production services. Further Reading - Documentation - Examples - Project Layout - v2 to v3 Migration Guide - Community Contribution Guide Development Community - Documentation - WeChat Group - Discord Group - Discussions Security If you discover a security vulner","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-kratos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-kratos/kratos/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}