{"id":21586602,"url":"https://github.com/hetao29/docker-protoc","last_synced_at":"2026-04-14T05:31:16.443Z","repository":{"id":93478917,"uuid":"454397167","full_name":"hetao29/docker-protoc","owner":"hetao29","description":"docker protoc to generate to golang php dart java c++ c# js oc python ruby kotlin protobuf and grpc code","archived":false,"fork":false,"pushed_at":"2024-03-04T05:27:08.000Z","size":20952,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T09:16:53.638Z","etag":null,"topics":["dart","docker","golang","java","kotlin","php","protoc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hetao29.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2022-02-01T13:25:19.000Z","updated_at":"2022-02-06T13:30:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"591ca546-3033-48eb-9889-64bb081b7f79","html_url":"https://github.com/hetao29/docker-protoc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hetao29/docker-protoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetao29%2Fdocker-protoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetao29%2Fdocker-protoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetao29%2Fdocker-protoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetao29%2Fdocker-protoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hetao29","download_url":"https://codeload.github.com/hetao29/docker-protoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetao29%2Fdocker-protoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dart","docker","golang","java","kotlin","php","protoc"],"created_at":"2024-11-24T15:14:08.863Z","updated_at":"2026-04-14T05:31:16.425Z","avatar_url":"https://github.com/hetao29.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 生成protobuf工具，支持多种语言\n\n## 支持的语言\n\ndart,go,php,web,js,java,kotlin,ruby,python等\n\n## 使用方法，参考 Makefile\n\n```bash\nROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))\nall:\n    #https://github.com/hetao29/docker-protoc\n    #生成client\n    find proto/src/ -name \"*.proto\" | xargs -I {} sudo docker run --rm -v ${ROOT_DIR}:${ROOT_DIR} -w ${ROOT_DIR} hetao29/docker-protoc:latest protoc \\\n        --plugin=protoc-gen-grpc=/usr/bin/grpc_php_plugin --grpc_out=proto_generated --php_out=proto_generated -I proto/ -I . \\\n        \"{}\"\n    #生成服务端interface\n    find proto/src/ -name \"*.proto\" | xargs -I {} sudo docker run --rm -v ${ROOT_DIR}:${ROOT_DIR} -w ${ROOT_DIR} hetao29/docker-protoc:latest protoc \\\n        --plugin=protoc-gen-grpc=/usr/bin/protoc-gen-php-grpc --grpc_out=proto_generated --php_out=proto_generated -I proto/ -I . \\\n        \"{}\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetao29%2Fdocker-protoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhetao29%2Fdocker-protoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetao29%2Fdocker-protoc/lists"}