{"id":13465114,"url":"https://github.com/smolijar/protocat","last_synced_at":"2025-04-10T11:36:50.704Z","repository":{"id":40298935,"uuid":"285477398","full_name":"smolijar/protocat","owner":"smolijar","description":"Modern, minimalist type-safe gRPC framework for Node.js","archived":false,"fork":false,"pushed_at":"2023-09-23T08:51:09.000Z","size":1251,"stargazers_count":57,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T20:51:13.475Z","etag":null,"topics":["api","backend","framework","grpc","microservice","middleware","node","protocat","server"],"latest_commit_sha":null,"homepage":"https://smolijar.github.io/protocat/","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/smolijar.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}},"created_at":"2020-08-06T04:57:14.000Z","updated_at":"2025-01-20T06:17:57.000Z","dependencies_parsed_at":"2024-07-31T14:08:13.193Z","dependency_job_id":"d1321680-0e1d-4f87-8fad-c750d57943e6","html_url":"https://github.com/smolijar/protocat","commit_stats":null,"previous_names":["smolijar/protocat"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smolijar%2Fprotocat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smolijar%2Fprotocat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smolijar%2Fprotocat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smolijar%2Fprotocat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smolijar","download_url":"https://codeload.github.com/smolijar/protocat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248208689,"owners_count":21065205,"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","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":["api","backend","framework","grpc","microservice","middleware","node","protocat","server"],"created_at":"2024-07-31T14:00:59.964Z","updated_at":"2025-04-10T11:36:45.688Z","avatar_url":"https://github.com/smolijar.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![](https://raw.githubusercontent.com/grissius/protocat/master/website/static/img/logo.svg)](https://smolijar.github.io/protocat/)\n\n# ProtoCat\n\nModern, minimalist type-safe gRPC framework for Node.js\n\n[![](https://flat.badgen.net/github/status/grissius/protocat)](https://github.com/grissius/protocat/actions/workflows/node.js.yml)\n[![](https://flat.badgen.net/npm/v/protocat)](https://www.npmjs.com/package/protocat)\n[![](https://flat.badgen.net/codecov/c/github/grissius/protocat)](https://codecov.io/gh/grissius/protocat)\n[![](https://flat.badgen.net/codeclimate/maintainability/grissius/protocat)](https://codeclimate.com/github/grissius/protocat)\n[![](https://flat.badgen.net/github/license/grissius/protocat)](https://github.com/grissius/protocat/blob/master/LICENSE)\n[![](https://flat.badgen.net/david/dep/grissius/protocat)](https://david-dm.org/grissius/protocat)\n[![](https://flat.badgen.net/snyk/grissius/protocat/master)](https://snyk.io/vuln/npm:protocat)\n[![](https://flat.badgen.net/badge/%F0%9F%93%91%20docs/pages/cyan)](https://smolijar.github.io/protocat/)\n\n\u003c/div\u003e\n\n## Quickstart\n\n```typescript\nimport { ProtoCat } from 'protocat'\nimport { CatService } from '../dist/cat_grpc_pb' // Generated service definition\n\napp = new ProtoCat()\napp.addService(CatService, {\n    getCat: async call =\u003e {\n        const cat = await getCatByName(call.request?.getName() ?? '')\n        call.response.setName(cat.name)\n            .setHealth(cat.health)\n            .setLevel(cat.level)\n            .setClass(cat.profession ?? 'warrior')\n    }\n}\n\napp.start('0.0.0.0:3000')\n```\n\n## Docs\n\nLearn more about ProtoCat in [docs](https://smolijar.github.io/protocat//).\n\n## Support\n\nProject is sponsored by [Ackee](https://www.ackee.cz).\n\n## See also\n\n- [Mali](https://mali.js.org/) - Minimalistic Node.js gRPC microservice framework\n- [BloomRPC](https://github.com/uw-labs/bloomrpc) - GUI Client for GRPC Services\n- [ghz](https://github.com/bojand/ghz) - Simple gRPC benchmarking and load testing tool\n- [grpc-health-probe](https://github.com/grpc-ecosystem/grpc-health-probe) - A command-line tool to perform health-checks for gRPC applications in Kubernetes etc.\n\n## License\n\nThis project is licensed under [MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmolijar%2Fprotocat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmolijar%2Fprotocat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmolijar%2Fprotocat/lists"}