Skip to content

Commit 95c582a

Browse files
authored
chore: migrate repo to middleapi org (#1353)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Rebranded repository and external links across docs, READMEs, and package metadata to the new organization. * Updated package manifests and metadata (repository/homepage/keywords) and aligned dev dependency versions in several packages. * **Minor Improvements** * Demo/playground apps: asynchronous auth check on load and stabilized demo user response for consistent behavior. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 7fe0754 commit 95c582a

81 files changed

Lines changed: 421 additions & 410 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ contact_links:
44
url: https://discord.com/invite/TXEbwRBvQn
55
about: Join our Discord server to chat with the community and get help.
66
- name: GitHub Discussions
7-
url: https://github.com/unnoq/orpc/discussions
7+
url: https://github.com/middleapi/orpc/discussions
88
about: Use discussions if you have questions, ideas, or need general help.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Thank you for your interest in contributing to oRPC! We welcome all kinds of con
55
If you need help or have questions, please join us on [Discord](https://discord.gg/TXEbwRBvQn).
66

77
> [!TIP]
8-
> [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.
8+
> [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.
99
1010
## Setup
1111

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
<h1></h1>
66

77
<div align="center">
8-
<a href="https://codecov.io/gh/unnoq/orpc">
9-
<img alt="codecov" src="https://codecov.io/gh/unnoq/orpc/branch/main/graph/badge.svg">
8+
<a href="https://codecov.io/gh/middleapi/orpc">
9+
<img alt="codecov" src="https://codecov.io/gh/middleapi/orpc/branch/main/graph/badge.svg">
1010
</a>
1111
<a href="https://www.npmjs.com/package/@orpc/client">
1212
<img alt="weekly downloads" src="https://img.shields.io/npm/dw/%40orpc%2Fclient?logo=npm" />
1313
</a>
14-
<a href="https://github.com/unnoq/orpc/blob/main/LICENSE">
15-
<img alt="MIT License" src="https://img.shields.io/github/license/unnoq/orpc?logo=open-source-initiative" />
14+
<a href="https://github.com/middleapi/orpc/blob/main/LICENSE">
15+
<img alt="MIT License" src="https://img.shields.io/github/license/middleapi/orpc?logo=open-source-initiative" />
1616
</a>
1717
<a href="https://discord.gg/TXEbwRBvQn">
1818
<img alt="Discord" src="https://img.shields.io/discord/1308966753044398161?color=7389D8&label&logo=discord&logoColor=ffffff" />
1919
</a>
20-
<a href="https://deepwiki.com/unnoq/orpc">
20+
<a href="https://deepwiki.com/middleapi/orpc">
2121
<img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
2222
</a>
2323
</div>
@@ -215,4 +215,4 @@ oRPC is inspired by existing solutions that prioritize type safety and developer
215215

216216
## License
217217

218-
Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information.
218+
Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information.

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Please ensure you are running the latest version of the software. The vulnerabil
1010

1111
### How to Report
1212

13-
To report a security vulnerability, please email us at <a href="mailto:contact@unnoq.com">contact@unnoq.com</a>.
13+
To report a security vulnerability, please email us at <a href="mailto:hello@middleapi.com">hello@middleapi.com</a>.
1414

1515
We appreciate your efforts to disclose your findings responsibly.

apps/content/.vitepress/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ export default withMermaid(defineConfig({
5454
placement: 'orpcunnoqcom',
5555
},
5656
socialLinks: [
57-
{ icon: 'github', link: 'https://github.com/unnoq/orpc' },
57+
{ icon: 'github', link: 'https://github.com/middleapi/orpc' },
5858
{ icon: 'discord', link: 'https://discord.gg/TXEbwRBvQn' },
5959
{ icon: 'x', link: 'https://x.com/unnoqcom' },
6060
{ icon: 'bluesky', link: 'https://bsky.app/profile/unnoq.com' },
6161
],
6262
editLink: {
63-
pattern: 'https://github.com/unnoq/orpc/blob/main/apps/content/:path',
63+
pattern: 'https://github.com/middleapi/orpc/blob/main/apps/content/:path',
6464
text: 'Edit on GitHub',
6565
},
6666
footer: {
6767
message: 'Released under the MIT License.',
68-
copyright: 'Copyright © 2024-present Unnoq & oRPC contributors.',
68+
copyright: 'Copyright © 2024-present MiddleAPI & oRPC contributors.',
6969
},
7070
nav: [
7171
{ text: 'Docs', link: '/docs/getting-started', activeMatch: '/docs/(?!openapi/)' },
@@ -75,9 +75,9 @@ export default withMermaid(defineConfig({
7575
{
7676
text: 'More',
7777
items: [
78-
{ text: 'Discussions', link: 'https://github.com/unnoq/orpc/discussions' },
78+
{ text: 'Discussions', link: 'https://github.com/middleapi/orpc/discussions' },
7979
{ text: 'Sponsor', link: 'https://github.com/sponsors/unnoq' },
80-
{ text: 'Releases', link: 'https://github.com/unnoq/orpc/releases' },
80+
{ text: 'Releases', link: 'https://github.com/middleapi/orpc/releases' },
8181
{ text: 'LLM Context', link: '/llms.txt' },
8282
{ text: 'LLM Context (Full)', link: '/llms-full.txt' },
8383
],

apps/content/docs/advanced/building-custom-plugins.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,21 @@ Handler plugins extend the functionality of your server-side handlers. You can c
6565

6666
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.
6767

68-
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.
68+
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.
6969

7070
### Link Plugins
7171

7272
Link plugins enhance your client-side communication. They work with [RPCLink](/docs/client/rpc-link), [OpenAPILink](/docs/openapi/client/openapi-link), or custom links you've implemented.
7373

7474
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.
7575

76-
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.
76+
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.
7777

7878
## Communication Between Interceptors
7979

8080
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.
8181

82-
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.
82+
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.
8383

8484
## Plugin Order
8585

apps/content/docs/playgrounds.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ featuring pre-configured examples accessible instantly via StackBlitz or local s
1010

1111
## Available Playgrounds
1212

13-
| Environment | StackBlitz | GitHub Source |
14-
| -------------------------------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- |
15-
| 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) |
16-
| 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) |
17-
| 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) |
18-
| 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) |
19-
| 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) |
20-
| 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) |
21-
| 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) |
22-
| 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) |
23-
| 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) |
24-
| Bun WebSocket + OpenTelemetry | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/bun-websocket-otel) |
25-
| Electron Playground | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/electron) |
26-
| Browser Extension Playground | | [View Source](https://github.com/unnoq/orpc/tree/main/playgrounds/browser-extension) |
27-
| Multiservice Monorepo Playground | | [View Source](https://github.com/unnoq/orpc-multiservice-monorepo-playground) |
28-
| Vue + Bun + Monorepo (Community) | | [View Source](https://github.com/hunterwilhelm/orpc-community-playgrounds/tree/main/vue-bun) |
13+
| Environment | StackBlitz | GitHub Source |
14+
| -------------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
15+
| 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) |
16+
| 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) |
17+
| 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) |
18+
| 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) |
19+
| 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) |
20+
| 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) |
21+
| 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) |
22+
| 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) |
23+
| 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) |
24+
| Bun WebSocket + OpenTelemetry | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/bun-websocket-otel) |
25+
| Electron Playground | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/electron) |
26+
| Browser Extension Playground | | [View Source](https://github.com/middleapi/orpc/tree/main/playgrounds/browser-extension) |
27+
| Multiservice Monorepo Playground | | [View Source](https://github.com/middleapi/orpc-multiservice-monorepo-playground) |
28+
| Vue + Bun + Monorepo (Community) | | [View Source](https://github.com/hunterwilhelm/orpc-community-playgrounds/tree/main/vue-bun) |
2929

3030
:::warning
3131
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.
3636
If you prefer working locally, you can clone any playground using the following commands:
3737

3838
```bash
39-
npx degit unnoq/orpc/playgrounds/next orpc-next-playground
40-
npx degit unnoq/orpc/playgrounds/tanstack-start orpc-tanstack-start-playground
41-
npx degit unnoq/orpc/playgrounds/nuxt orpc-nuxt-playground
42-
npx degit unnoq/orpc/playgrounds/solid-start orpc-solid-start-playground
43-
npx degit unnoq/orpc/playgrounds/svelte-kit orpc-svelte-kit-playground
44-
npx degit unnoq/orpc/playgrounds/astro orpc-astro-playground
45-
npx degit unnoq/orpc/playgrounds/contract-first orpc-contract-first-playground
46-
npx degit unnoq/orpc/playgrounds/nest orpc-nest-playground
47-
npx degit unnoq/orpc/playgrounds/cloudflare-worker orpc-cloudflare-worker-playground
48-
npx degit unnoq/orpc/playgrounds/bun-websocket-otel orpc-bun-websocket-otel-playground
49-
npx degit unnoq/orpc/playgrounds/electron orpc-electron-playground
50-
npx degit unnoq/orpc/playgrounds/browser-extension orpc-browser-extension-playground
51-
npx degit unnoq/orpc-multiservice-monorepo-playground orpc-multiservice-monorepo-playground
39+
npx degit middleapi/orpc/playgrounds/next orpc-next-playground
40+
npx degit middleapi/orpc/playgrounds/tanstack-start orpc-tanstack-start-playground
41+
npx degit middleapi/orpc/playgrounds/nuxt orpc-nuxt-playground
42+
npx degit middleapi/orpc/playgrounds/solid-start orpc-solid-start-playground
43+
npx degit middleapi/orpc/playgrounds/svelte-kit orpc-svelte-kit-playground
44+
npx degit middleapi/orpc/playgrounds/astro orpc-astro-playground
45+
npx degit middleapi/orpc/playgrounds/contract-first orpc-contract-first-playground
46+
npx degit middleapi/orpc/playgrounds/nest orpc-nest-playground
47+
npx degit middleapi/orpc/playgrounds/cloudflare-worker orpc-cloudflare-worker-playground
48+
npx degit middleapi/orpc/playgrounds/bun-websocket-otel orpc-bun-websocket-otel-playground
49+
npx degit middleapi/orpc/playgrounds/electron orpc-electron-playground
50+
npx degit middleapi/orpc/playgrounds/browser-extension orpc-browser-extension-playground
51+
npx degit middleapi/orpc-multiservice-monorepo-playground orpc-multiservice-monorepo-playground
5252

5353
# Community (clone at your own risk)
5454
npx degit hunterwilhelm/orpc-community-playgrounds/vue-bun orpc-vue-bun-monorepo-playground

0 commit comments

Comments
 (0)