{"id":13713838,"url":"https://github.com/aperturerobotics/protobuf-project","last_synced_at":"2026-03-06T11:32:04.992Z","repository":{"id":37830596,"uuid":"207413106","full_name":"aperturerobotics/protobuf-project","owner":"aperturerobotics","description":"Protobuf with Go import paths for Go and TypeScript: project boilerplate w/ Makefile. Supports grpc, vtprotobuf, drpc, ts-proto, twirp, starpc.","archived":false,"fork":false,"pushed_at":"2026-02-28T13:17:36.000Z","size":834,"stargazers_count":23,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-28T15:36:59.735Z","etag":null,"topics":["drpc","go","protobuf","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/aperturerobotics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-09T22:04:03.000Z","updated_at":"2026-02-28T11:02:36.000Z","dependencies_parsed_at":"2023-02-14T12:02:13.136Z","dependency_job_id":"6d2c0447-692e-4642-a12c-095a0ef64148","html_url":"https://github.com/aperturerobotics/protobuf-project","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/aperturerobotics/protobuf-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperturerobotics%2Fprotobuf-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperturerobotics%2Fprotobuf-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperturerobotics%2Fprotobuf-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperturerobotics%2Fprotobuf-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aperturerobotics","download_url":"https://codeload.github.com/aperturerobotics/protobuf-project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aperturerobotics%2Fprotobuf-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30173694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["drpc","go","protobuf","typescript"],"created_at":"2024-08-02T23:01:45.734Z","updated_at":"2026-03-06T11:32:04.953Z","avatar_url":"https://github.com/aperturerobotics.png","language":"TypeScript","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"## protobuf-project template\n\nThis template uses [protobuf-go-lite] to generate reflection-free Go code and [protobuf-es-lite] for TypeScript interfaces.\n\n[protobuf-go-lite]: https://github.com/aperturerobotics/protobuf-go-lite\n[protobuf-es-lite]: https://github.com/aperturerobotics/protobuf-es-lite\n\nUses a Makefile to download tools to ./hack/bin.\n\nIncludes targets for linting, checking outdated modules, etc.\n\nYou can create a new repository with this template [on GitHub].\n\n[on GitHub]: https://github.com/aperturerobotics/protobuf-project\n\nAlso check out the managed template at [template].\n\n[template]: https://github.com/aperturerobotics/template\n\n## Usage\n\nProtobuf imports use Go paths and package names:\n\n```protobuf\nsyntax = \"proto3\";\npackage example;\n\n// Import .proto files using Go-style import paths.\nimport \"github.com/aperturerobotics/controllerbus/controller/controller.proto\";\n\n// GetBusInfoResponse is the response type for GetBusInfo.\nmessage GetBusInfoResponse {\n  // RunningControllers is the list of running controllers.\n  repeated controller.Info running_controllers = 1;\n}\n```\n\nTo generate the protobuf files:\n\n```bash\n$ git add -A\n$ yarn install\n$ yarn gen\n```\n\nThe Makefile will download the tools using Go to a bin dir.\n\n## Makefile\n\nThe available make targets are:\n\n - `genproto`: Generate protobuf files.\n - `test`: run go test -v ./...\n - `lint`: run golangci-lint on the project.\n - `fix`: run golangci-lint --fix on the project.\n - `list`: list go module dependencies\n - `outdated`: list outdated go module dependencies\n\nTo generate the TypeScript and Go code:\n\n - `yarn install`\n - `yarn gen`\n\n## Branches\n\nOther available branches:\n\n - **norpc**: does not have any RPC library.\n - **drpc**: uses the [dRPC] rpc library instead of [starpc].\n - **grpc**: uses the [gRPC] rpc library instead of [starpc].\n - **starpc**: uses the [starpc] rpc library (same as main).\n - **twirp**: uses the [Twirp] rpc library instead of [starpc].\n\n[dRPC]: https://github.com/storj/drpc\n[gRPC]: https://github.com/grpc/grpc\n[starpc]: https://github.com/aperturerobotics/starpc\n[Twirp]: https://github.com/twitchtv/twirp\n\n## Demo\n\n**This branch implements a starpc service and demo.**\n\nTo run the demo: **yarn** then **yarn run demo**.\n\n## Developing on MacOS\n\nOn MacOS, some homebrew packages are required for `yarn gen`:\n\n```\nbrew install bash make coreutils gnu-sed findutils protobuf\nbrew link --overwrite protobuf\n```\n\nAdd to your .bashrc or .zshrc:\n\n```\nexport PATH=\"/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH\"\nexport PATH=\"/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH\"\nexport PATH=\"/opt/homebrew/opt/findutils/libexec/gnubin:$PATH\"\nexport PATH=\"/opt/homebrew/opt/make/libexec/gnubin:$PATH\"\n```\n\n## Support\n\nPlease open a [GitHub issue] with any questions / issues.\n\n[GitHub issue]: https://github.com/aperturerobotics/protobuf-project/issues/new\n\n... or feel free to reach out on [Matrix Chat] or [Discord].\n\n[Discord]: https://discord.gg/KJutMESRsT\n[Matrix Chat]: https://matrix.to/#/#aperturerobotics:matrix.org\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faperturerobotics%2Fprotobuf-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faperturerobotics%2Fprotobuf-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faperturerobotics%2Fprotobuf-project/lists"}