elysiajs/elysia ? reverse-engineered prompt

Reverse engineered prompt

Build me a friendly TypeScript web framework for Bun, inspired by Elysia. I want it to feel simple for humans, not like a big enterprise tool.

It should let someone create an HTTP server, add routes like get and post, return JSON or text, and keep the request and response types connected so mistakes show up while coding. Please focus on a clean developer experience, strong type safety from server to client, and simple patterns that make small APIs quick to build.

Include a few working examples, like a hello world server, a JSON API route, and a tiny typed client or RPC style example if that fits naturally. Add tests for the core behavior and write a clear README that shows how to install it, start a server, define routes, and run everything with Bun.

Keep the code tidy and practical. Look up current Bun and TypeScript docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab