{"id":17743107,"url":"https://github.com/julien-r44/tuyau","last_synced_at":"2026-03-07T02:09:25.698Z","repository":{"id":257856524,"uuid":"776762489","full_name":"Julien-R44/tuyau","owner":"Julien-R44","description":"RPC / E2E Client For AdonisJS","archived":false,"fork":false,"pushed_at":"2026-03-03T21:05:19.000Z","size":1931,"stargazers_count":201,"open_issues_count":2,"forks_count":19,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-04T01:10:07.436Z","etag":null,"topics":["adonisjs","e2e-client","rpc-client","typesafety","ziggy"],"latest_commit_sha":null,"homepage":"https://docs.adonisjs.com/guides/frontend/api-client","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/Julien-R44.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"github":["julien-r44"]}},"created_at":"2024-03-24T12:26:14.000Z","updated_at":"2026-03-03T21:05:23.000Z","dependencies_parsed_at":"2025-02-15T13:22:00.923Z","dependency_job_id":"dde1f250-84a3-4bcc-a7eb-af216d3c8cce","html_url":"https://github.com/Julien-R44/tuyau","commit_stats":null,"previous_names":["julien-r44/tuyau"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/Julien-R44/tuyau","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ftuyau","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ftuyau/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ftuyau/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ftuyau/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Julien-R44","download_url":"https://codeload.github.com/Julien-R44/tuyau/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ftuyau/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30205896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["adonisjs","e2e-client","rpc-client","typesafety","ziggy"],"created_at":"2024-10-26T05:42:38.894Z","updated_at":"2026-03-07T02:09:20.679Z","avatar_url":"https://github.com/Julien-R44.png","language":"TypeScript","funding_links":["https://github.com/sponsors/julien-r44","https://github.com/sponsors/Julien-R44/"],"categories":[],"sub_categories":[],"readme":"![banner](https://static.julr.dev/tuyau.png)\n\n\u003csub\u003e\nPronounced as \"twee-yo\" (IPA: /tɥijo/). French word for \"pipe\" or \"tube\"\n\u003c/sub\u003e\n\u003cbr/\u003e\n\n# Tuyau\n\nSet of tools to create typesafe APIs using AdonisJS. The monorepo includes the following packages:\n\n- `@tuyau/core` : Core package that you must install in your AdonisJS project.\n- `@tuyau/utils` : Set of utilities and helpers for the other packages.\n- `@tuyau/client` : E2E typesafe client to consume your AdonisJS APIs.\n- `@tuyau/inertia` : Set of components and helpers for AdonisJS + Inertia projects.\n- `@tuyau/openapi` : Experimental package to generate a \"not-so-bad\" OpenAPI definition from your AdonisJS project based on the Tuyau codegen.\n- `@tuyau/superjson` : Make [SuperJSON](https://github.com/flightcontrolhq/superjson) works seamlessly with Tuyau and AdonisJS.\n\nSee documentation at [tuyau.julr.dev](https://tuyau.julr.dev).\n\n## Goals of the project\n\nThe main goal of this project is to provide some utilities to have better typesafety when creating APIs with AdonisJS. Goals on the long term are :\n\n- **Done** : Provide an RPC-like client that is fully e2e typesafe ( like tRPC, Elysia Eden, Hono etc. )\n- **Done** : Provide a [Ziggy](https://github.com/tighten/ziggy)-like helper to generate and use routes in the frontend.\n- **Done (Experimental)** : Having an automatic OpenAPI generation + Swagger/Scalar UI viewer based on Tuyau codegen.\n- **Done** : Provide some Inertia helpers to have better typesafety when using Inertia in your AdonisJS project. Things like typesafe `\u003cLink /\u003e`.\n- **Not started**: Having a Tanstack-Query integration for the client package. Like [tRPC](https://trpc.io/docs/client/react) or [ts-rest](https://ts-rest.com/docs/vue-query) does.\n\n## Sponsors\n\nIf you like this project, [please consider supporting it by sponsoring it](https://github.com/sponsors/Julien-R44/). It will help a lot to maintain and improve it. Thanks a lot !\n\n![](https://github.com/julien-r44/static/blob/main/sponsorkit/sponsors.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-r44%2Ftuyau","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulien-r44%2Ftuyau","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-r44%2Ftuyau/lists"}