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

Joined September 2023
Ergonomic Framework for Humans & Fox Girls
6
3
2
112
43,891
elysiaJS retweeted
Elysia 2 RC is here Feature: - Type Safe Error + Mapping - Deeper Type Inference - Much less memory usage - Custom Macro Type - Eden Plugin
8
17
2
159
2,499
elysiaJS retweeted
Elysia 2 RC will be published tomorrow
12
17
1
297
5,187
elysiaJS retweeted
Elysia 2 RC next week
Cover art for Elysia 2.0 RC As promise I will be here before rainy season over Please wait just a little while longer
9
2
62
1,370
elysiaJS retweeted
Elysia 2 beta use 65x less memory when setting a status
1
4
122
2,523
elysiaJS retweeted
Elysia 2 beta use 34x less memory for route that use set.headers
2
2
52
2,099
elysiaJS retweeted
Elysia 2 beta 24 use 43x less memory after first request hit a route *this is an allocation per route
2
3
2
104
5,378
elysiaJS retweeted
Elysia 2 inline response use 62x less memory usage
2
3
1
148
4,150
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
1
166
4,894
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
1
444
11,324
elysiaJS retweeted
In the next version of Bun Idle CPU usage drops by 67%
51
56
14
1,504
82,610
elysiaJS retweeted
Elysia 2 supports mapping custom errors to HTTP directly
7
3
1
155
5,677
elysiaJS retweeted
Latest Elysia 2 beta now supports Symbol.dispose and Symbol.asyncDispose for resource cleanup
3
3
134
4,683
elysiaJS retweeted
You can literally do this if you want Dependency Injection
13
4
1
377
21,266
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
5
666
88,596
elysiaJS retweeted
Official Elysia compress plugin Available for Elysia 2
9
3
3
212
17,518
elysiaJS retweeted
Elysia has reached 1m weekly downloads
17
14
1
595
14,802
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
3
121
25,765
elysiaJS retweeted
Thoughts on Hono and Elysia
36
91
13
836
128,864