Use oRPC inside an H3 project.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add ali-master/skills --skill orpc-h3 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Orpc H3?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ali-master-orpc-h3)More formats (shields.io, HTML) on the badges page.
---
name: oRPC H3 Adapter
description: Use oRPC inside an H3 project.
license: MIT
metadata:
author: Ali Torki
homepage: https://github.com/ali-master
version: "1.0.0"
---
# H3 Adapter
[H3](https://h3.dev/) is a universal, tiny, and fast web framework built on top of web standards.
## Basic
```ts
import { H3, serve } from 'h3'
import { RPCHandler } from '@orpc/server/fetch'
import { onError } from '@orpc/server'
const app = new H3()
const handler = new RPCHandler(router, {
interceptors: [onError(e => console.error(e))],
})
app.use('/rpc/**', async (event) => {
const { matched, response } = await handler.handle(event.req, {
prefix: '/rpc',
context: {}
})
if (matched) return response
})
serve(app, { port: 3000 })
```
> The `handler` can be any supported oRPC handler.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!