Ergonomic Framework for Humans. With End-to-End Type Safety, formidable speed, and exceptional developer experience. Supercharged by Bun

Ergonomic Framework for Humans & Fox Girls
6
3
112
42,479
elysiaJS retweeted
Elysia 2 can map any error to response fully type-safe It can also "walk back" as well, so it applies to all routes
5
11
165
4,729
elysiaJS retweeted
Feed Elysia doc to Opus 5.5 to make a video I write a storyboard, references, and direct Opus 5.5 to code a WebGL canvas and export it by frame into a video Music and SFX are algorithmic music Took 13 revisions, but everything is code that can be modified
9
20
446
11,062
elysiaJS retweeted
In the next version of Bun Idle CPU usage drops by 67%
51
56
1,503
78,951
elysiaJS retweeted
Elysia 2 supports mapping custom errors to HTTP directly
7
3
155
5,609
elysiaJS retweeted
Latest Elysia 2 beta now supports Symbol.dispose and Symbol.asyncDispose for resource cleanup
3
3
133
4,636
elysiaJS retweeted
You can literally do this if you want Dependency Injection
13
4
377
21,202
elysiaJS retweeted
We recently rewrote v0’s backend API using Elysia. We added typed helpers to consume it internally (𝚞𝚜𝚎𝙰𝙿𝙸, 𝚞𝚜𝚎𝙿𝙾𝚂𝚃, 𝚙𝚛𝚎𝚏𝚎𝚝𝚌𝚑𝙰𝙿𝙸 for RSC, etc.) The overall DX is really nice. We wanted our 𝚘𝚙𝚎𝚗𝚊𝚙𝚒.𝚓𝚜𝚘𝚗 as the source of truth, and Elysia had pretty solid support here. The goal was largely to turn our entire product into a headless SDK, and for our frontends to just be implementations. Our web app, mobile app, MCP, public-facing SDK, AI SDK tools, and Eve integration all derive from the 𝚘𝚙𝚎𝚗𝚊𝚙𝚒.𝚓𝚜𝚘𝚗. Clients within our monorepo use an RPC without a codegen step (though it took some work to fix up our Zod types for TS perf). In addition to creating an /api-v2 skill for new routes, we used agents to build extremely strict lint rules. Every route has consistent file structure and conventions around dependency injection and tests. It looks something like 𝚜𝚌𝚑𝚎𝚖𝚊.𝚝𝚜, 𝚍𝚋.𝚝𝚜, 𝚜𝚎𝚛𝚟𝚒𝚌𝚎.𝚝𝚜, 𝚊𝚙𝚒.𝚝𝚜 in each folder. It’s surprising how much this helped us avoid slop. We invested a good amount of time making our first few routes until the conventions felt right before migrating anything. I highly highly highly recommend sending Sol off to create a bunch of lint rules to enforce your codebase standards. Every human PR review could create a lint rule. To start, we made our rules only apply to touched files to make the migration incremental, but it results in a ton of cleaned up code.
38
31
665
87,721
elysiaJS retweeted
Official Elysia compress plugin Available for Elysia 2
9
3
212
17,495
elysiaJS retweeted
Elysia has reached 1m weekly downloads
17
14
596
14,792
elysiaJS retweeted
Multiplayer code editor Code, files, theme, and font family are shared Another Iris demo which should use yjs or CRDT for micro-interaction, which is not Iris territory but fuck it we ball Not conflict-free, no turnstile, no API restriction Have some fun and don’t DDOS me
8
2
121
25,712
elysiaJS retweeted
Something new, something exciting Iris in a few weeks
1
1
12
1,562
elysiaJS retweeted
First there was Elysia, the realm After, there was Eden, the gateway Then, Iris, the messenger
1
2
40
15,196
elysiaJS retweeted
Can confirm Elysia.listen works on Vercel Along with WebSocket
Deploy 𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎() to Vercel Functions. Vercel's Bun runtime now supports 𝙱𝚞𝚗.𝚜𝚎𝚛𝚟𝚎() as a function entrypoint, including WebSocket handlers. vercel.com/changelog/bun-ser…
3
5
177
10,921
elysiaJS retweeted
Due to RAM shortage, we have optimized Elysia to use less memory With AOT plugin, Elysia 2 should use much less memory than v1
8
13
321
30,290
elysiaJS retweeted
Elysia 2β "DayDream" - Entire rewrite with new architecture - Far better memory usage and reduced startup time - Ahead-of-Time Compilation build plugin - Completely tree-shake TypeBox - Expressive Error Type Inference - New adapter and better runtime portability
14
33
348
17,196
2
1
35
8,498
elysiaJS retweeted
Elysia 2 exp.40 is equivalent to beta It will be promoted to beta once the blog post is done You can try it now
5
3
53
3,787
RT @saltyAom: Benchmark • 25 routes Elysia 2 AOT (none) startup time, and memory is almost similar to Hono Interestingly 1. Elysia + Type…
1
915
elysiaJS retweeted
Elysia compilation time to get faster from 18.4x to 55.8x This means Elysia will get much better in Serverless environment like Cloudflare Worker, AWS Lambda, and much more
12
13
406
15,270