Mini oRPC Beyond the Basics

Advanced features you can implement in Mini oRPC.

SKILL.md

GitHub

Beyond the Basics of Mini oRPC

This section explores advanced features and techniques you can implement to enhance Mini oRPC's capabilities.

Getting Started

The complete Mini oRPC implementation is available in the Mini oRPC Repository, with a playground.

Feature Suggestions

Below are recommended features you can implement in Mini oRPC. Pick any order and you can import code from existing oRPC packages.

  • Middleware Typed Input Support — reference
  • Builder Variants — reference
    • Prevent redefinition of .input and .output methods
  • Type-Safe Error Support — reference
  • RPC Protocol Implementation — reference
    • Support native types like Date, Map, Set, etc.
    • Support File/Blob types
    • Support Event Iterator types
  • Multi-runtime support
    • Standard Server Concept
    • Fetch Adapter
    • Node HTTP Adapter
    • Peer Adapter (WebSocket, MessagePort, etc.)
  • Contract First Support
    • Contract Builder
    • Contract Implementer
  • OpenAPI Support
    • OpenAPI Handler
    • OpenAPI Generator
    • OpenAPI Link
  • Tanstack Query Integration

Once implemented, submit a pull request to the repository for review.