{"id":21660019,"url":"https://github.com/depot/connectrpc-workers","last_synced_at":"2026-03-06T06:32:17.891Z","repository":{"id":233105199,"uuid":"786043073","full_name":"depot/connectrpc-workers","owner":"depot","description":"A Connect RPC adapter for Cloudflare Workers","archived":false,"fork":false,"pushed_at":"2025-11-19T18:13:18.000Z","size":226,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T18:36:46.177Z","etag":null,"topics":["cloudflare","cloudflare-workers","connectrpc"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/depot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2024-04-13T08:52:11.000Z","updated_at":"2025-09-24T14:43:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b28ede7a-038e-4b9f-9d83-3a0919aebcaf","html_url":"https://github.com/depot/connectrpc-workers","commit_stats":{"total_commits":10,"total_committers":3,"mean_commits":"3.3333333333333335","dds":"0.19999999999999996","last_synced_commit":"460c6f857c0a1c8e8242742a978fb3d4a00e18ea"},"previous_names":["depot/connectrpc-workers"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/depot/connectrpc-workers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depot%2Fconnectrpc-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depot%2Fconnectrpc-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depot%2Fconnectrpc-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depot%2Fconnectrpc-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depot","download_url":"https://codeload.github.com/depot/connectrpc-workers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depot%2Fconnectrpc-workers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cloudflare","cloudflare-workers","connectrpc"],"created_at":"2024-11-25T09:32:03.323Z","updated_at":"2026-03-06T06:32:17.858Z","avatar_url":"https://github.com/depot.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# `@depot/connectrpc-workers`\n\n[![CI](https://github.com/depot/connectrpc-workers/actions/workflows/ci.yml/badge.svg)](https://github.com/depot/connectrpc-workers/actions/workflows/ci.yml)\n[![npm](https://img.shields.io/npm/v/@depot/connectrpc-workers.svg)](https://www.npmjs.com/package/@depot/connectrpc-workers)\n![Powered by TypeScript](https://img.shields.io/badge/powered%20by-typescript-blue.svg)\n\nA [Connect RPC](https://connectrpc.com/) adapter for [Cloudflare Workers](https://workers.cloudflare.com/).\n\n## Installation\n\nYou can install the module with your favorite package manager:\n\n```bash\npnpm add @depot/connectrpc-workers\n```\n\nThis package depends on the peer dependencies `@connectrpc/connect` and `@cloudflare/workers-types`.\n\n## Usage\n\nYou can construct a function to register handlers for your Connect services, then construct a Cloudflare Workers fetch event handler from those routes:\n\n```typescript\nimport type {ConnectRouter} from '@connectrpc/connect'\nimport {connectWorkersAdapter} from '@depot/connectrpc-workers'\n\nfunction routes(router: ConnectRouter) {\n  // implement rpc Say(SayRequest) returns (SayResponse)\n  router.rpc(ElizaService, ElizaService.methods.say, async (req) =\u003e ({\n    sentence: `you said: ${req.sentence}`,\n  }))\n}\n\nconst handler = connectWorkersAdapter({routes})\n\nexport default {\n  fetch(request, env, context) {\n    return handler(request, env, context)\n  },\n} satisfies ExportedHandler\n```\n\n## License\n\nMIT License, see `LICENSE`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepot%2Fconnectrpc-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepot%2Fconnectrpc-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepot%2Fconnectrpc-workers/lists"}