Quick Overview
Error generating quick overview
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
oRPC - Typesafe APIs Made Simple ðª
Documentation
You can read the documentation here.
Packages
Core
- @orpc/contract: Define API contract as the single source of truth.
- @orpc/server: Build APIs or implement contracts.
- @orpc/client: Consume APIs with end-to-end type safety.
- @orpc/openapi: Add OpenAPI compatibility to APIs.
Schema validation
- @orpc/zod: Integrate with Zod.
- @orpc/valibot: Integrate with Valibot.
- @orpc/arktype: Integrate with ArkType.
Built-in features
- @orpc/publisher: Pub/Sub with memory, Redis, and Upstash adapters.
- @orpc/ratelimit: Rate limiting with memory, Redis, and Upstash adapters.
- @orpc/json-schema: Smart coercion for OpenAPI requests.
Framework & ecosystem integrations
- @orpc/next: Integrate with Next.js Server Functions.
- @orpc/tanstack-query: Integrate with TanStack Query.
- @orpc/experimental-effect: Integrate with Effect.
- @orpc/nest: Implement your contract with NestJS.
- @orpc/bun: Adapters for Bun's Redis.
- @orpc/cloudflare: Adapters for Cloudflare's RateLimit and Durable Objects.
Observability
- @orpc/opentelemetry: Integrate with OpenTelemetry for distributed tracing.
- @orpc/pino: Integrate with Pino for logging.
- @orpc/evlog: Integrate with Evlog for logging.
Sponsors
Like what we build over at middleapi? You can help keep it going here: GitHub Sponsors. Every bit helps! ð
ð Platinum Sponsor
ScreenshotOne.com |
ð¥ Silver Sponsor
æä¸ãã |
Generous Sponsors
LN Markets |
Sponsors
Reece McDonald |
nk |
supastarter |
Dexter Miguel |
herrfugbaum |
Ryota Murakami |
David Cramer |
Valerii Petryniak |
Valerii Strilets |
Kyle Mistele |
Andrew Peters |
Ryan Vogel |
christ12938 |
Ryan Soderberg |
shota |
Backers
David Walsh |
Nicholas |
Robbe Vaes |
Aidan Sunbury |
soonoo |
Kevin Porten |
Denis |
Christopher Kapic |
Tom Ballinger |
Sam |
Titoine |
Igor Makowski |
hanayashiki |
Lev Dubinets |
Kelly Peilin Chan |
Alex |
Andrey Gubanov |
Past Sponsors
References
oRPC is inspired by existing solutions that prioritize type safety and developer experience. Special acknowledgments to:
- tRPC: For pioneering the concept of end-to-end type-safe RPC and influencing the development of type-safe APIs.
- ts-rest: For its emphasis on contract-first development and OpenAPI integration, which have greatly inspired oRPC's feature set.
License
Distributed under the MIT License. See LICENSE for more information.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot