BackendTypeScriptEnd-To-End Type SafetyBunWeb StandardsREST APIsWebSockets

Elysia

Ergonomic Framework for Humans

Overview

Elysia is a Bun-first TypeScript backend framework focused on speed, end-to-end type safety, and a great developer experience. It’s optimized for Bun but designed around Web Standards, with integrations for things like WebSockets and OpenAPI/Swagger.

Rendering Modes
Server
Best For

Bun applications, Type-safe APIs, Real-time apps

License

MIT

Quick Start

bun create elysia app

Quick start: bun create elysia app → bun dev Optional: run on Node.js via the Node adapter (@elysiajs/node).

Key Features

End-to-end Type Safety

Bun Optimized

OpenAPI Generation

Eden Connector

Pros & Cons

Pros

  • Excellent TypeScript DX
  • Very fast with Bun
  • Great ergonomics

Cons

  • Requires Bun
  • Very new

Common Use Cases

REST APIsWebSockets / Realtime ServicesOpenAPI / Swagger API DocsType-Safe Client-Server CommunicationDeployable Production APIsEdge-Style Runtimes

Compatible Cloud Servers

Render Free

Free web services for side projects

Railway

Fly.io Scale

For production workloads at scale