h3 icon indicating copy to clipboard operation
h3 copied to clipboard

Add support for TRPC and MQTT

Open Rednas83 opened this issue 5 months ago • 4 comments

Are there any plans (or interest) in expanding h3's ecosystem to support additional communication protocols, or to provide guidance on integrating them?

Specifically: tRPC To enable fully type-safe RPC communication between frontend and backend (especially in Nuxt/Nitro contexts). MQTT For real-time, event-driven communication, commonly used in IoT or pub/sub scenarios.

Rednas83 avatar Jul 21 '25 07:07 Rednas83

Looking forward to tRPC

faner11 avatar Aug 12 '25 06:08 faner11

Try using oRPC. Supports Nuxt and H3

amondnet avatar Oct 27 '25 17:10 amondnet

Have you considered the h3 - middleware, is it flexible enough to integrate tRPC/MQTT, similar to how oRPC - H3 Adapter does? 🤔

kricsleo avatar Oct 29 '25 04:10 kricsleo

I haven’t checked their docs but if they export a fetchable interface, we might just mount them on a prefix?

pi0 avatar Oct 29 '25 07:10 pi0