{"id":48752626,"url":"https://github.com/productdevbook/silgi","last_synced_at":"2026-04-25T22:00:56.504Z","repository":{"id":350925016,"uuid":"1184951373","full_name":"productdevbook/silgi","owner":"productdevbook","description":"The fastest end-to-end type-safe RPC framework for TypeScript — compiled pipelines, single package, every runtime","archived":false,"fork":false,"pushed_at":"2026-04-25T20:06:05.000Z","size":5479,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-25T20:16:01.780Z","etag":null,"topics":["api","express","fastify","h3","hono","nextjs","nitro","nuxt","openapi","rpc","sveltekit","tanstack-query","type-safe","typescript","websocket"],"latest_commit_sha":null,"homepage":"https://silgi.dev","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/productdevbook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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},"funding":{"github":["productdevbook"]}},"created_at":"2026-03-18T04:55:46.000Z","updated_at":"2026-04-25T20:06:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/productdevbook/silgi","commit_stats":null,"previous_names":["productdevbook/silgi"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/productdevbook/silgi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fsilgi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fsilgi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fsilgi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fsilgi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/productdevbook","download_url":"https://codeload.github.com/productdevbook/silgi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fsilgi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"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":["api","express","fastify","h3","hono","nextjs","nitro","nuxt","openapi","rpc","sveltekit","tanstack-query","type-safe","typescript","websocket"],"created_at":"2026-04-12T21:03:56.305Z","updated_at":"2026-04-25T22:00:56.311Z","avatar_url":"https://github.com/productdevbook.png","language":"TypeScript","funding_links":["https://github.com/sponsors/productdevbook"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\".github/assets/cover.png\" alt=\"Silgi — Type-safe RPC framework for TypeScript\" width=\"100%\"\u003e\n  \u003cbr\u003e\u003cbr\u003e\n  \u003ca href=\"https://npmjs.com/package/silgi\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/silgi?style=flat\u0026colorA=0a0908\u0026colorB=edc462\" alt=\"npm version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://npmjs.com/package/silgi\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/silgi?style=flat\u0026colorA=0a0908\u0026colorB=edc462\" alt=\"npm downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/productdevbook/silgi/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/productdevbook/silgi/ci.yml?style=flat\u0026colorA=0a0908\u0026colorB=edc462\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/productdevbook/silgi/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/productdevbook/silgi?style=flat\u0026colorA=0a0908\u0026colorB=edc462\" alt=\"license\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nEnd-to-end type-safe RPC framework for TypeScript. Single package — server, client, 15 plugins, 14 adapters. Full docs at [silgi.dev](https://silgi.dev).\n\n## Install\n\n```bash\npnpm add silgi\n# or: npm install silgi / yarn add silgi / bun add silgi\n```\n\nRequires Node.js `\u003e=24`.\n\n## Minimal example\n\n```ts\nimport { silgi } from 'silgi'\n\nconst k = silgi({\n  context: (req) =\u003e ({ now: Date.now() }),\n})\n\nconst hello = k.$resolve(({ ctx }) =\u003e ({ message: 'hi', at: ctx.now }))\n\nconst router = k.router({ hello })\n\nexport default k.handler(router)\n```\n\nExport `handler` from any Fetch-compatible runtime (Next.js App Router,\nSvelteKit, Remix, Astro, SolidStart, Hono, srvx, Bun, Deno, Cloudflare\nWorkers, AWS Lambda via the hono adapter, …). Dedicated adapters for\nExpress, Nitro, NestJS, and Node's raw `http` live under\n`silgi/express`, `silgi/nextjs`, `silgi/sveltekit`, etc.\n\nRun a standalone server:\n\n```ts\nawait k.serve(router, { port: 3000 })\n```\n\n## Documentation\n\n- **[silgi.dev](https://silgi.dev)** — user guide, recipes, API reference.\n- [`CONTRIBUTING.md`](./CONTRIBUTING.md) — dev setup, commands, PR checklist.\n- [`ARCHITECTURE.md`](./ARCHITECTURE.md) — request pipeline, module layout, performance invariants.\n- [`SECURITY.md`](./SECURITY.md) — threat model, reporting policy, security features.\n- [`docs/rfcs/0001-de-magic.md`](./docs/rfcs/0001-de-magic.md) — the\n  refactor that removed module-global mutable state, explicit schema\n  converter injection, and per-instance context bridges.\n\n## Credits\n\n- [oRPC](https://github.com/unnoq/orpc) — Pipeline architecture, client proxy, error handling, contract-first workflow\n- [tRPC](https://github.com/trpc/trpc) — Router/procedure model, end-to-end type inference\n- [Elysia](https://github.com/elysiajs/elysia) — Sucrose-style static handler analysis\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproductdevbook%2Fsilgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproductdevbook%2Fsilgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproductdevbook%2Fsilgi/lists"}