{"id":16514627,"url":"https://github.com/danielliu1123/grpc-starter","last_synced_at":"2026-01-28T19:12:16.312Z","repository":{"id":159065021,"uuid":"634074387","full_name":"DanielLiu1123/grpc-starter","owner":"DanielLiu1123","description":"Out-of-the-box, highly extensible Spring Boot starters for the cutting-edge gRPC ecosystem and modern Java — more integration, less abstraction.","archived":false,"fork":false,"pushed_at":"2025-09-01T18:18:42.000Z","size":1674,"stargazers_count":82,"open_issues_count":7,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-01T19:30:59.867Z","etag":null,"topics":["grpc","grpc-gateway","grpc-spring-boot-starter","java","json-transcoding","microservices","protobuf","protovalidate","spring","spring-boot"],"latest_commit_sha":null,"homepage":"https://danielliu1123.github.io/grpc-starter/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanielLiu1123.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-29T01:13:44.000Z","updated_at":"2025-09-01T18:25:49.000Z","dependencies_parsed_at":"2023-10-24T06:25:19.138Z","dependency_job_id":"ff910045-d89d-4e8b-882d-d1811b1af209","html_url":"https://github.com/DanielLiu1123/grpc-starter","commit_stats":null,"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"purl":"pkg:github/DanielLiu1123/grpc-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielLiu1123%2Fgrpc-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielLiu1123%2Fgrpc-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielLiu1123%2Fgrpc-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielLiu1123%2Fgrpc-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielLiu1123","download_url":"https://codeload.github.com/DanielLiu1123/grpc-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielLiu1123%2Fgrpc-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275032805,"owners_count":25393761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","grpc-gateway","grpc-spring-boot-starter","java","json-transcoding","microservices","protobuf","protovalidate","spring","spring-boot"],"created_at":"2024-10-11T16:13:08.051Z","updated_at":"2026-01-28T19:12:16.303Z","avatar_url":"https://github.com/DanielLiu1123.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"website/static/img/logo.png\" width=\"80\" height=\"80\"\u003e gRPC Starter [![Build](https://img.shields.io/github/actions/workflow/status/DanielLiu1123/grpc-starter/build.yml?branch=main)](https://github.com/DanielLiu1123/grpc-starter/actions) [![Maven Central](https://img.shields.io/maven-central/v/io.github.danielliu1123/grpc-starter-dependencies?versionPrefix=4.)](https://central.sonatype.com/artifact/io.github.danielliu1123/grpc-starter-dependencies) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n[gRPC](https://grpc.io/) is a high-performance RPC framework that supports multiple languages, concise service definitions, and streaming. It is an ideal choice for building scalable and efficient microservice systems.\n\nThis project provides out-of-the-box, highly extensible Spring Boot starters for the gRPC ecosystem, making the integration of Spring Boot and gRPC seamless and native.\n\n## Quick Start\n\n```groovy\nimplementation(platform(\"io.github.danielliu1123:grpc-starter-dependencies:\u003clatest\u003e\"))\nimplementation(\"io.github.danielliu1123:grpc-boot-starter\")\nimplementation(\"io.grpc:grpc-testing-proto\")\n```\n\n```java\n@SpringBootApplication\npublic class QuickStartApp extends SimpleServiceGrpc.SimpleServiceImplBase {\n\n    public static void main(String[] args) {\n        new SpringApplicationBuilder(QuickStartApp.class)\n                .properties(\"grpc.client.base-packages=io.grpc\") // scan packages for gRPC clients\n                .properties(\"grpc.client.authority=127.0.0.1:9090\") // default authority for gRPC clients\n                .run(args);\n    }\n\n    @Override\n    public void unaryRpc(SimpleRequest request, StreamObserver\u003cSimpleResponse\u003e r) {\n        var response = SimpleResponse.newBuilder()\n                .setResponseMessage(\"Hello \" + request.getRequestMessage())\n                .build();\n        r.onNext(response);\n        r.onCompleted();\n    }\n\n    @Bean\n    ApplicationRunner runner(SimpleServiceGrpc.SimpleServiceBlockingStub stub) { // inject gRPC client\n        return args -\u003e {\n            var response = stub.unaryRpc(SimpleRequest.newBuilder().setRequestMessage(\"World!\").build());\n            System.out.println(response.getResponseMessage());\n        };\n    }\n}\n```\n\nRefer to [quick-start](examples/quick-start).\n\n## Features\n\n### Core:\n\n- Dependency management for gRPC-related libraries\n- gRPC server autoconfiguration\n  - [Exception handling](https://danielliu1123.github.io/grpc-starter/docs/server/exception-handing)\n  - [Health check](https://danielliu1123.github.io/grpc-starter/docs/server/autoconfiguration#health)\n- gRPC client autoconfiguration\n  - [`@Autowired` support](https://danielliu1123.github.io/grpc-starter/docs/client/autoconfiguration#inject-client)\n  - [Dynamic refreshing](https://danielliu1123.github.io/grpc-starter/docs/client/dynamic-refresh)\n- Metrics \u0026 Tracing support via [Micrometer](https://micrometer.io/)\n\n### Extensions:\n\n- [gRPC HTTP transcoding](https://danielliu1123.github.io/grpc-starter/docs/extensions/grpc-http-transcoding): Support both gRPC and HTTP/JSON with a single codebase, with optional OpenAPI integration.\n- [Protobuf validation](https://danielliu1123.github.io/grpc-starter/docs/extensions/protobuf-validation): Protobuf message validation using [protovalidate](https://github.com/bufbuild/protovalidate-java) and [protoc-gen-validate](https://github.com/bufbuild/protoc-gen-validate).\n- [Testing](https://danielliu1123.github.io/grpc-starter/docs/extensions/test): Integration with `SpringBootTest`.\n\n## Documentation\n\nGo to [Reference Documentation](https://danielliu1123.github.io/grpc-starter/docs/intro) for more information.\n\n## Build\n\n```shell\n./gradlew build\n```\n\n## Code of Conduct\n\nThis project is governed by the [Code of Conduct](./CODE_OF_CONDUCT.md).\nBy participating, you are expected to uphold this code of conduct.\nPlease report unacceptable behavior to llw599502537@gmail.com.\n\n## Contributing\n\nUse the [issue tracker](https://github.com/DanielLiu1123/grpc-starter/issues) for bug reports, feature requests, and submitting pull requests.\n\nIf you would like to contribute to the project, please refer to [Contributing](./CONTRIBUTING.md).\n\n## License\n\nThe MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielliu1123%2Fgrpc-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielliu1123%2Fgrpc-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielliu1123%2Fgrpc-starter/lists"}