# Elysia

> Backend TypeScript framework with end-to-end type safety, built for Bun

Source: https://talira.ai/catalog/elysia-sravpbf4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework
- Categories: [frameworks / web / backend](https://talira.ai/categories/frameworks/web/backend), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [OpenAPI](https://talira.ai/standards/openapi.md)[^2]
- Backed by: [SaltyAom](https://talira.ai/orgs/saltyaom.md)

Elysia is a backend TypeScript web framework built around [Bun](https://talira.ai/catalog/bun-z64kv5wg.md), with end-to-end type safety from one type system: route schemas (TypeBox, as Elysia.t) validate requests and give types to handlers, generated OpenAPI documentation and the Eden client, which calls your API from the frontend with full types, like tRPC. Handlers just return a string, JSON, a file or a generator for streaming, and WebSockets are built in. It has plugins, lifecycle hooks, macros, reactive cookies, OpenTelemetry tracing and a full-stack dev server, and also runs on Node.js, Deno and Cloudflare Workers. It's by SaltyAom.

## Links

- Website: https://elysiajs.com/
- GitHub: https://github.com/elysiajs/elysia

## Problems it solves

- a fast TypeScript backend framework for Bun
- share API types between my backend and frontend without code generation
- validate request bodies and get OpenAPI docs from the same schema in TypeScript

## Features

- End-to-end type safety from route schemas to the Eden client
- Request validation with TypeBox (Elysia.t)
- OpenAPI documentation generated from routes
- Return a string, JSON, a file or a generator to stream
- Built-in WebSocket support
- Plugins, lifecycle hooks and macros
- OpenTelemetry tracing
- Runs on Bun, Node.js, Deno and Cloudflare Workers

## Trust

Overall: 0.59 out of 1.
Signals: maintenance 0.61, adoption 0.86, momentum 0.79, community 0.84, backing 0.30, extensibility 0.00.

- last commit 18 days ago
- 2 commits in the last 90 days
- latest release 1.4.32 18 days ago
- 19.4k GitHub stars
- 123 contributors
- accepts sponsorship (Github)
- backed by SaltyAom

## Related

- Works with [Bun](https://talira.ai/catalog/bun-z64kv5wg.md)

## Alternatives

- [Hono](https://talira.ai/catalog/hono-n7tje933.md): Web framework built on Web Standards
- [tRPC](https://talira.ai/catalog/trpc-0d8rmg6f.md): End-to-end typesafe APIs made easy
- [Fastify](https://talira.ai/catalog/fastify-jh2hmns5.md): Fast and low overhead web framework, for Node.js
- [Nitro](https://talira.ai/catalog/nitro-8sct43rh.md): Server toolkit that builds one codebase for Node.js, Bun, Deno, edge and serverless

## Sources

[^1]: https://github.com/elysiajs/elysia/blob/main/LICENSE (checked 28 Nov 2026)
[^2]: https://elysiajs.com/llms.txt (checked 28 Nov 2026)
