Orpc
Theme by
Unnoq |Updated:
8 Aug 2025
|2945 Stars
Typesafe APIs Made Simple
Categories
Overview
oRPC is an innovative framework that combines the strengths of Remote Procedure Calls (RPC) with the OpenAPI standard to create a seamless API development experience. With a strong focus on type safety, oRPC allows developers to ensure that both inputs and outputs are validated, promoting reliability and reducing errors during the development process. This makes it an excellent option for teams looking to build robust APIs that adhere to industry standards.
Designed with both flexibility and integration in mind, oRPC offers a variety of features that cater to different frameworks and environments. Developers can opt for a contract-first approach, incorporate existing schemas, and easily extend functionality through plugins, making it a versatile tool for modern application development.
Features
- End-to-End Type Safety: Guarantees type-safe inputs, outputs, and error handling from the client to the server, minimizing runtime errors.
- First-Class OpenAPI: Fully adheres to OpenAPI standards, enabling smooth API documentation and integration.
- Contract-First Development: Allows for the optional definition of API contracts prior to implementation, enhancing organization and clarity.
- Framework Integrations: Easily works with popular frameworks like TanStack Query across different front-end technologies including React, Vue, and Angular.
- Server Actions: Fully compatible with React Server Actions, ensuring efficient handling of server-side logic.
- Standard Schema Support: Integrates smoothly with established schema validators like Zod, Valibot, and ArkType for consistent validation.
- Lazy Router: Improves cold start times with an efficient lazy routing feature, promoting faster application performance.
- Multi-Runtime Support: Lightweight and fast on platforms like Cloudflare, Deno, and Node.js, providing versatility across environments.