diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 86d976c0e..ab9dd01f0 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,5 +4,5 @@ contact_links: url: https://discord.com/invite/TXEbwRBvQn about: Join our Discord server to chat with the community and get help. - name: GitHub Discussions - url: https://github.com/unnoq/orpc/discussions + url: https://github.com/middleapi/orpc/discussions about: Use discussions if you have questions, ideas, or need general help. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 72040a3e7..d98e025fa 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ Thank you for your interest in contributing to oRPC! We welcome all kinds of con If you need help or have questions, please join us on [Discord](https://discord.gg/TXEbwRBvQn). > [!TIP] -> [Mini-oRPC](https://github.com/unnoq/mini-orpc) is a simplified implementation of oRPC that includes essential features to help you understand the core concepts. It's designed to be straightforward and easy to follow, making it an ideal starting point for learning about oRPC. +> [Mini-oRPC](https://github.com/middleapi/mini-orpc) is a simplified implementation of oRPC that includes essential features to help you understand the core concepts. It's designed to be straightforward and easy to follow, making it an ideal starting point for learning about oRPC. ## Setup diff --git a/README.md b/README.md index e287d4c35..8c95bfd21 100644 --- a/README.md +++ b/README.md @@ -5,19 +5,19 @@
@@ -215,4 +215,4 @@ oRPC is inspired by existing solutions that prioritize type safety and developer ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/SECURITY.md b/SECURITY.md index b115e7f6a..30a8d6f09 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -10,6 +10,6 @@ Please ensure you are running the latest version of the software. The vulnerabil ### How to Report -To report a security vulnerability, please email us at contact@unnoq.com. +To report a security vulnerability, please email us at hello@middleapi.com. We appreciate your efforts to disclose your findings responsibly. diff --git a/apps/content/.vitepress/config.ts b/apps/content/.vitepress/config.ts index 1f3e9fc94..05a2fe088 100644 --- a/apps/content/.vitepress/config.ts +++ b/apps/content/.vitepress/config.ts @@ -54,18 +54,18 @@ export default withMermaid(defineConfig({ placement: 'orpcunnoqcom', }, socialLinks: [ - { icon: 'github', link: 'https://github.com/unnoq/orpc' }, + { icon: 'github', link: 'https://github.com/middleapi/orpc' }, { icon: 'discord', link: 'https://discord.gg/TXEbwRBvQn' }, { icon: 'x', link: 'https://x.com/unnoqcom' }, { icon: 'bluesky', link: 'https://bsky.app/profile/unnoq.com' }, ], editLink: { - pattern: 'https://github.com/unnoq/orpc/blob/main/apps/content/:path', + pattern: 'https://github.com/middleapi/orpc/blob/main/apps/content/:path', text: 'Edit on GitHub', }, footer: { message: 'Released under the MIT License.', - copyright: 'Copyright © 2024-present Unnoq & oRPC contributors.', + copyright: 'Copyright © 2024-present MiddleAPI & oRPC contributors.', }, nav: [ { text: 'Docs', link: '/docs/getting-started', activeMatch: '/docs/(?!openapi/)' }, @@ -75,9 +75,9 @@ export default withMermaid(defineConfig({ { text: 'More', items: [ - { text: 'Discussions', link: 'https://github.com/unnoq/orpc/discussions' }, + { text: 'Discussions', link: 'https://github.com/middleapi/orpc/discussions' }, { text: 'Sponsor', link: 'https://github.com/sponsors/unnoq' }, - { text: 'Releases', link: 'https://github.com/unnoq/orpc/releases' }, + { text: 'Releases', link: 'https://github.com/middleapi/orpc/releases' }, { text: 'LLM Context', link: '/llms.txt' }, { text: 'LLM Context (Full)', link: '/llms-full.txt' }, ], diff --git a/apps/content/docs/advanced/building-custom-plugins.md b/apps/content/docs/advanced/building-custom-plugins.md index 3d2f03a6d..3d867370a 100644 --- a/apps/content/docs/advanced/building-custom-plugins.md +++ b/apps/content/docs/advanced/building-custom-plugins.md @@ -65,7 +65,7 @@ Handler plugins extend the functionality of your server-side handlers. You can c When building a handler plugin, you'll work with interceptors from the [Handler Lifecycle](/docs/rpc-handler#lifecycle). These interceptors let you hook into different stages of request processing - from initial request parsing to final response formatting. -Check out the [built-in handler plugins](https://github.com/unnoq/orpc/tree/main/packages/server/src/plugins) to see real-world examples of how different plugins solve common server-side challenges. +Check out the [built-in handler plugins](https://github.com/middleapi/orpc/tree/main/packages/server/src/plugins) to see real-world examples of how different plugins solve common server-side challenges. ### Link Plugins @@ -73,13 +73,13 @@ Link plugins enhance your client-side communication. They work with [RPCLink](/d Link plugins use interceptors from the [Link Lifecycle](/docs/client/rpc-link#lifecycle) to modify requests before they're sent or responses after they're received. This is perfect for adding authentication, logging, retry logic, or request/response transformations. -Browse the [built-in link plugins](https://github.com/unnoq/orpc/tree/main/packages/client/src/plugins) for inspiration on handling common client-side scenarios. +Browse the [built-in link plugins](https://github.com/middleapi/orpc/tree/main/packages/client/src/plugins) for inspiration on handling common client-side scenarios. ## Communication Between Interceptors Sometimes you need interceptors to share data. For example, one interceptor might collect information that another interceptor uses later. You can achieve this by injecting context using a unique symbol. -The [Strict Get Method Plugin](/docs/plugins/strict-get-method) ([Source Code](https://github.com/unnoq/orpc/blob/main/packages/server/src/plugins/strict-get-method.ts)) demonstrates this pattern. It uses `rootInterceptors` to collect HTTP methods and combines this data with procedure information in `clientInterceptors` to determine whether the method is allowed. +The [Strict Get Method Plugin](/docs/plugins/strict-get-method) ([Source Code](https://github.com/middleapi/orpc/blob/main/packages/server/src/plugins/strict-get-method.ts)) demonstrates this pattern. It uses `rootInterceptors` to collect HTTP methods and combines this data with procedure information in `clientInterceptors` to determine whether the method is allowed. ## Plugin Order diff --git a/apps/content/docs/playgrounds.md b/apps/content/docs/playgrounds.md index d7d13d3f1..ed2dc971e 100644 --- a/apps/content/docs/playgrounds.md +++ b/apps/content/docs/playgrounds.md @@ -10,22 +10,22 @@ featuring pre-configured examples accessible instantly via StackBlitz or local s ## Available Playgrounds -| Environment | StackBlitz | GitHub Source | -| -------------------------------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- | -| Next.js Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/next) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/next) | -| TanStack Start Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/tanstack-start) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/tanstack-start) | -| Nuxt.js Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/nuxt) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/nuxt) | -| Solid Start Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/solid-start) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/solid-start) | -| Svelte Kit Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/svelte-kit) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/svelte-kit) | -| Astro Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/astro) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/astro) | -| Contract-First Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/contract-first) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/contract-first) | -| NestJS Playground | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/nest) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/nest) | -| Cloudflare Worker | [Open in StackBlitz](https://stackblitz.com/github/unnoq/orpc/tree/main/playgrounds/cloudflare-worker) | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/cloudflare-worker) | -| Bun WebSocket + OpenTelemetry | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/bun-websocket-otel) | -| Electron Playground | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/electron) | -| Browser Extension Playground | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/browser-extension) | -| Multiservice Monorepo Playground | | [View Source](https://github.com/unnoq/orpc-multiservice-monorepo-playground) | -| Vue + Bun + Monorepo (Community) | | [View Source](https://github.com/hunterwilhelm/orpc-community-playgrounds/tree/main/vue-bun) | +| Environment | StackBlitz | GitHub Source | +| -------------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| Next.js Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/next) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/next) | +| TanStack Start Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/tanstack-start) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/tanstack-start) | +| Nuxt.js Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/nuxt) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/nuxt) | +| Solid Start Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/solid-start) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/solid-start) | +| Svelte Kit Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/svelte-kit) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/svelte-kit) | +| Astro Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/astro) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/astro) | +| Contract-First Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/contract-first) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/contract-first) | +| NestJS Playground | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/nest) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/nest) | +| Cloudflare Worker | [Open in StackBlitz](https://stackblitz.com/github/middleapi/orpc/tree/main/playgrounds/cloudflare-worker) | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/cloudflare-worker) | +| Bun WebSocket + OpenTelemetry | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/bun-websocket-otel) | +| Electron Playground | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/electron) | +| Browser Extension Playground | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/browser-extension) | +| Multiservice Monorepo Playground | | [View Source](https://github.com/middleapi/orpc-multiservice-monorepo-playground) | +| Vue + Bun + Monorepo (Community) | | [View Source](https://github.com/hunterwilhelm/orpc-community-playgrounds/tree/main/vue-bun) | :::warning StackBlitz has own limitations, so some features may not work as expected. @@ -36,19 +36,19 @@ StackBlitz has own limitations, so some features may not work as expected. If you prefer working locally, you can clone any playground using the following commands: ```bash -npx degit unnoq/orpc/playgrounds/next orpc-next-playground -npx degit unnoq/orpc/playgrounds/tanstack-start orpc-tanstack-start-playground -npx degit unnoq/orpc/playgrounds/nuxt orpc-nuxt-playground -npx degit unnoq/orpc/playgrounds/solid-start orpc-solid-start-playground -npx degit unnoq/orpc/playgrounds/svelte-kit orpc-svelte-kit-playground -npx degit unnoq/orpc/playgrounds/astro orpc-astro-playground -npx degit unnoq/orpc/playgrounds/contract-first orpc-contract-first-playground -npx degit unnoq/orpc/playgrounds/nest orpc-nest-playground -npx degit unnoq/orpc/playgrounds/cloudflare-worker orpc-cloudflare-worker-playground -npx degit unnoq/orpc/playgrounds/bun-websocket-otel orpc-bun-websocket-otel-playground -npx degit unnoq/orpc/playgrounds/electron orpc-electron-playground -npx degit unnoq/orpc/playgrounds/browser-extension orpc-browser-extension-playground -npx degit unnoq/orpc-multiservice-monorepo-playground orpc-multiservice-monorepo-playground +npx degit middleapi/orpc/playgrounds/next orpc-next-playground +npx degit middleapi/orpc/playgrounds/tanstack-start orpc-tanstack-start-playground +npx degit middleapi/orpc/playgrounds/nuxt orpc-nuxt-playground +npx degit middleapi/orpc/playgrounds/solid-start orpc-solid-start-playground +npx degit middleapi/orpc/playgrounds/svelte-kit orpc-svelte-kit-playground +npx degit middleapi/orpc/playgrounds/astro orpc-astro-playground +npx degit middleapi/orpc/playgrounds/contract-first orpc-contract-first-playground +npx degit middleapi/orpc/playgrounds/nest orpc-nest-playground +npx degit middleapi/orpc/playgrounds/cloudflare-worker orpc-cloudflare-worker-playground +npx degit middleapi/orpc/playgrounds/bun-websocket-otel orpc-bun-websocket-otel-playground +npx degit middleapi/orpc/playgrounds/electron orpc-electron-playground +npx degit middleapi/orpc/playgrounds/browser-extension orpc-browser-extension-playground +npx degit middleapi/orpc-multiservice-monorepo-playground orpc-multiservice-monorepo-playground # Community (clone at your own risk) npx degit hunterwilhelm/orpc-community-playgrounds/vue-bun orpc-vue-bun-monorepo-playground diff --git a/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md b/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md index 6fd70444d..c306655a4 100644 --- a/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md +++ b/apps/content/learn-and-contribute/mini-orpc/beyond-the-basics.md @@ -9,7 +9,7 @@ This section explores advanced features and techniques you can implement to enha ## Getting Started -The complete Mini oRPC implementation is available in the [Mini oRPC Repository](https://github.com/unnoq/mini-orpc), with a [playground](https://github.com/unnoq/mini-orpc/tree/main/playground) for testing. Once you implement a new feature, submit a pull request to the repository for review. +The complete Mini oRPC implementation is available in the [Mini oRPC Repository](https://github.com/middleapi/mini-orpc), with a [playground](https://github.com/middleapi/mini-orpc/tree/main/playground) for testing. Once you implement a new feature, submit a pull request to the repository for review. ## Feature Suggestions @@ -19,31 +19,31 @@ Below are recommended features you can implement in Mini oRPC: You can implement these features in any order. Pick the ones you find interesting. You can import code from existing oRPC packages to make development easier. ::: -- [ ] [Middleware Typed Input](/docs/middleware#middleware-input) Support ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/middleware.ts)) +- [ ] [Middleware Typed Input](/docs/middleware#middleware-input) Support ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/middleware.ts)) -- [ ] Builder Variants ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/builder-variants.ts)) +- [ ] Builder Variants ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/builder-variants.ts)) - [ ] Prevent redefinition of `.input` and `.output` methods -- [ ] [Type-Safe Error](/docs/error-handling#type%E2%80%90safe-error-handling) Support ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/procedure-client.ts#L113-L120)) +- [ ] [Type-Safe Error](/docs/error-handling#type%E2%80%90safe-error-handling) Support ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/procedure-client.ts#L113-L120)) -- [ ] [RPC Protocol](/docs/advanced/rpc-protocol) Implementation ([reference](https://github.com/unnoq/orpc/blob/main/packages/client/src/adapters/standard/rpc-serializer.ts)) +- [ ] [RPC Protocol](/docs/advanced/rpc-protocol) Implementation ([reference](https://github.com/middleapi/orpc/blob/main/packages/client/src/adapters/standard/rpc-serializer.ts)) - [ ] Support native types like `Date`, `Map`, `Set`, etc. - [ ] Support `File`/`Blob` types - [ ] Support [Event Iterator](/docs/event-iterator) types - [ ] Multi-runtime support - - [ ] Standard Server Concept ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server)) - - [ ] Fetch Adapter ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server-fetch)) - - [ ] Node HTTP Adapter ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server-node)) - - [ ] Peer Adapter (WebSocket, MessagePort, etc.) ([reference](https://github.com/unnoq/orpc/tree/main/packages/standard-server-peer)) + - [ ] Standard Server Concept ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server)) + - [ ] Fetch Adapter ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server-fetch)) + - [ ] Node HTTP Adapter ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server-node)) + - [ ] Peer Adapter (WebSocket, MessagePort, etc.) ([reference](https://github.com/middleapi/orpc/tree/main/packages/standard-server-peer)) - [ ] [Contract First](/docs/contract-first/define-contract) Support - - [ ] Contract Builder ([reference](https://github.com/unnoq/orpc/blob/main/packages/contract/src/builder.ts)) - - [ ] Contract Implementer ([reference](https://github.com/unnoq/orpc/blob/main/packages/server/src/implementer.ts)) + - [ ] Contract Builder ([reference](https://github.com/middleapi/orpc/blob/main/packages/contract/src/builder.ts)) + - [ ] Contract Implementer ([reference](https://github.com/middleapi/orpc/blob/main/packages/server/src/implementer.ts)) - [ ] [OpenAPI](/docs/openapi/getting-started) Support - - [ ] OpenAPI Handler ([reference](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts)) - - [ ] OpenAPI Generator ([reference](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/openapi-generator.ts)) - - [ ] OpenAPI Link ([reference](https://github.com/unnoq/orpc/blob/main/packages/openapi-client/src/adapters/fetch/openapi-link.ts)) + - [ ] OpenAPI Handler ([reference](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts)) + - [ ] OpenAPI Generator ([reference](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/openapi-generator.ts)) + - [ ] OpenAPI Link ([reference](https://github.com/middleapi/orpc/blob/main/packages/openapi-client/src/adapters/fetch/openapi-link.ts)) -- [ ] [Tanstack Query](/docs/integrations/tanstack-query) Integration ([reference](https://github.com/unnoq/orpc/tree/main/packages/tanstack-query)) +- [ ] [Tanstack Query](/docs/integrations/tanstack-query) Integration ([reference](https://github.com/middleapi/orpc/tree/main/packages/tanstack-query)) diff --git a/apps/content/learn-and-contribute/mini-orpc/client-side-client.md b/apps/content/learn-and-contribute/mini-orpc/client-side-client.md index d2c6b3123..597d59c64 100644 --- a/apps/content/learn-and-contribute/mini-orpc/client-side-client.md +++ b/apps/content/learn-and-contribute/mini-orpc/client-side-client.md @@ -8,7 +8,7 @@ description: Learn how to implement remote procedure calls (RPC) on the client s In Mini oRPC, the client-side client initiates remote procedure calls to the server. Both client and server must follow shared conventions to communicate effectively. While we could use the [RPC Protocol](/docs/advanced/rpc-protocol), we'll implement simpler conventions for clarity. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Implementation diff --git a/apps/content/learn-and-contribute/mini-orpc/overview.md b/apps/content/learn-and-contribute/mini-orpc/overview.md index d2a53a4d1..137c4b95a 100644 --- a/apps/content/learn-and-contribute/mini-orpc/overview.md +++ b/apps/content/learn-and-contribute/mini-orpc/overview.md @@ -8,7 +8,7 @@ description: A brief introduction to Mini oRPC, a simplified version of oRPC des Mini oRPC is a simplified implementation of oRPC that includes essential features to help you understand the core concepts. It's designed to be straightforward and easy to follow, making it an ideal starting point for learning about oRPC. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Prerequisites diff --git a/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md b/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md index 3a3bae0d1..59a6836b7 100644 --- a/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md +++ b/apps/content/learn-and-contribute/mini-orpc/procedure-builder.md @@ -8,7 +8,7 @@ description: Learn how Mini oRPC's procedure builder provides an excellent devel The procedure builder is Mini oRPC's core component that enables you to define type-safe procedures with an intuitive, fluent API. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Implementation diff --git a/apps/content/learn-and-contribute/mini-orpc/server-side-client.md b/apps/content/learn-and-contribute/mini-orpc/server-side-client.md index b975ce502..84354ee63 100644 --- a/apps/content/learn-and-contribute/mini-orpc/server-side-client.md +++ b/apps/content/learn-and-contribute/mini-orpc/server-side-client.md @@ -8,7 +8,7 @@ description: Learn how to turn a procedure into a callable function in Mini oRPC The server-side client in Mini oRPC transforms procedures into callable functions, enabling direct server-side invocation. This is the foundation of Mini oRPC client system - all other client functionality builds upon it. ::: info -The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/unnoq/mini-orpc) +The complete Mini oRPC implementation is available in our GitHub repository: [Mini oRPC Repository](https://github.com/middleapi/mini-orpc) ::: ## Implementation diff --git a/apps/content/learn-and-contribute/overview.md b/apps/content/learn-and-contribute/overview.md index c95aa2e48..a4643ef6d 100644 --- a/apps/content/learn-and-contribute/overview.md +++ b/apps/content/learn-and-contribute/overview.md @@ -8,7 +8,7 @@ description: Discover how to learn and contribute to the oRPC project, including Welcome to the **Learn & Contribute** section! Here you can explore advanced guides and resources to deepen your understanding of oRPC and contribute to its development. ::: info -[oRPC DeepWiki](https://deepwiki.com/unnoq/orpc) provides an excellent overview of the oRPC project, where you can interact with an AI assistant to learn more about the codebase and get detailed insights. +[oRPC DeepWiki](https://deepwiki.com/middleapi/orpc) provides an excellent overview of the oRPC project, where you can interact with an AI assistant to learn more about the codebase and get detailed insights. ::: ## Architecture Overview @@ -19,43 +19,43 @@ Each part of oRPC serves a specific purpose in the overall system. The source fi The core developer experience of oRPC. This lightweight component consists of just a few files that enable you to define and call procedures within the same environment. -- [server/src/builder.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/builder.ts) -- [server/src/procedure-decorated.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/procedure-decorated.ts) -- [server/src/procedure-client.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/procedure-client.ts) +- [server/src/builder.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/builder.ts) +- [server/src/procedure-decorated.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/procedure-decorated.ts) +- [server/src/procedure-client.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/procedure-client.ts) ### Contract First Extends the **Procedure Builder/Caller** by separating contract definition from implementation, enabling contract-first development. -- [contract/src/builder.ts](https://github.com/unnoq/orpc/blob/main/packages/contract/src/builder.ts) -- [server/src/implementer.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/implementer.ts) +- [contract/src/builder.ts](https://github.com/middleapi/orpc/blob/main/packages/contract/src/builder.ts) +- [server/src/implementer.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/implementer.ts) ### Standard Server Abstracts runtime environments, allowing oRPC adapters to run seamlessly across Cloudflare Workers, Node.js, Bun, Deno, and other platforms without runtime-specific concerns. -- [standard-server](https://github.com/unnoq/orpc/tree/main/packages/standard-server) -- [standard-server-fetch](https://github.com/unnoq/orpc/tree/main/packages/standard-server-fetch) -- [standard-server-node](https://github.com/unnoq/orpc/tree/main/packages/standard-server-node) -- [standard-server-fastify](https://github.com/unnoq/orpc/tree/main/packages/standard-server-fastify) -- [standard-server-aws-lambda](https://github.com/unnoq/orpc/tree/main/packages/standard-server-aws-lambda) -- [standard-server-peer](https://github.com/unnoq/orpc/tree/main/packages/standard-server-peer) +- [standard-server](https://github.com/middleapi/orpc/tree/main/packages/standard-server) +- [standard-server-fetch](https://github.com/middleapi/orpc/tree/main/packages/standard-server-fetch) +- [standard-server-node](https://github.com/middleapi/orpc/tree/main/packages/standard-server-node) +- [standard-server-fastify](https://github.com/middleapi/orpc/tree/main/packages/standard-server-fastify) +- [standard-server-aws-lambda](https://github.com/middleapi/orpc/tree/main/packages/standard-server-aws-lambda) +- [standard-server-peer](https://github.com/middleapi/orpc/tree/main/packages/standard-server-peer) ### RPC Handler/Link Implements the [RPC Protocol](/docs/advanced/rpc-protocol) for efficient and lightweight remote procedure invocation. Supports native types like `Date`, `Map`, `Set`, `BigInt`, and more. -- [client/src/adapters/standard/rpc-link.ts](https://github.com/unnoq/orpc/blob/main/packages/client/src/adapters/standard/rpc-link.ts) -- [server/src/adapters/standard/rpc-handler.ts](https://github.com/unnoq/orpc/blob/main/packages/server/src/adapters/standard/rpc-handler.ts) +- [client/src/adapters/standard/rpc-link.ts](https://github.com/middleapi/orpc/blob/main/packages/client/src/adapters/standard/rpc-link.ts) +- [server/src/adapters/standard/rpc-handler.ts](https://github.com/middleapi/orpc/blob/main/packages/server/src/adapters/standard/rpc-handler.ts) ### OpenAPI Handler/Link/Generator Implements OpenAPI support for standards-compliant remote procedure invocation following the [OpenAPI Specification](https://swagger.io/specification/). -- [openapi-client/src/adapters/standard/openapi-link.ts](https://github.com/unnoq/orpc/blob/main/packages/openapi-client/src/adapters/standard/openapi-link.ts) -- [openapi/src/adapters/standard/openapi-handler.ts](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts) -- [openapi/src/openapi-generator.ts](https://github.com/unnoq/orpc/blob/main/packages/openapi/src/openapi-generator.ts) +- [openapi-client/src/adapters/standard/openapi-link.ts](https://github.com/middleapi/orpc/blob/main/packages/openapi-client/src/adapters/standard/openapi-link.ts) +- [openapi/src/adapters/standard/openapi-handler.ts](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/adapters/standard/openapi-handler.ts) +- [openapi/src/openapi-generator.ts](https://github.com/middleapi/orpc/blob/main/packages/openapi/src/openapi-generator.ts) ## Contributing -We welcome contributions to oRPC! To get started, please review our [contributing guidelines](https://github.com/unnoq/orpc/blob/main/CONTRIBUTING.md). +We welcome contributions to oRPC! To get started, please review our [contributing guidelines](https://github.com/middleapi/orpc/blob/main/CONTRIBUTING.md). diff --git a/packages/ai-sdk/README.md b/packages/ai-sdk/README.md index b159167b5..1cba531c7 100644 --- a/packages/ai-sdk/README.md +++ b/packages/ai-sdk/README.md @@ -5,19 +5,19 @@ @@ -78,4 +78,4 @@ The [AI SDK](https://ai-sdk.dev/) integration for oRPC. ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/arktype/README.md b/packages/arktype/README.md index f593d3c24..fecdf5151 100644 --- a/packages/arktype/README.md +++ b/packages/arktype/README.md @@ -5,19 +5,19 @@ @@ -107,4 +107,4 @@ const specFromRouter = await openAPIGenerator.generate(router, { ## License -Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information. +Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information. diff --git a/packages/arktype/package.json b/packages/arktype/package.json index 4da38c839..bbf854966 100644 --- a/packages/arktype/package.json +++ b/packages/arktype/package.json @@ -6,11 +6,10 @@ "homepage": "https://orpc.dev", "repository": { "type": "git", - "url": "git+https://github.com/unnoq/orpc.git", + "url": "git+https://github.com/middleapi/orpc.git", "directory": "packages/arktype" }, "keywords": [ - "unnoq", "orpc" ], "publishConfig": { @@ -44,6 +43,6 @@ "devDependencies": { "@ark/schema": "^0.56.0", "arktype": "^2.1.29", - "zod": "^4.3.5" + "zod": "^4.3.2" } } diff --git a/packages/client/README.md b/packages/client/README.md index 8c3f131c2..4eb2a66dc 100644 --- a/packages/client/README.md +++ b/packages/client/README.md @@ -5,19 +5,19 @@ @@ -98,4 +98,4 @@ const client: ContractRouterClient