4 ms·
The 512KB limit isn't just minimalism - it forces architectural discipline. I built a Trello alternative (frustrated with limitations: wanted rows and decent p
by adamzwasserman 1y ago
The 512KB limit isn't just minimalism - it forces architectural discipline.
I built a Trello alternative (frustrated with limitations: wanted rows and decent performance). Came in at ~55KB gzipped by following patterns, some of which I'm open sourcing as genX (genx.software - releasing this month):
- Server renders complete HTML (not JSON that needs client-side parsing)
- JavaScript progressively enhances (doesn't recreate what's in the DOM)
- Shared data structures (one index for all items, not one per item)
- Use native browser features (DOM is already a data structure - article coming)
Most sites ship megabytes because modern tooling treats size as a rounding error. The 512KB constraint makes you think about what's expensive and get creative. Got rewarded with a perfect Lighthouse score in dev - striving to maintain it through release.
Would love feedback from this community when it's out.
- kelvinjps10 1y agoI'd like too see a 512 KB club but for apps most of them are blogs and that's easier to do than an app. Link your app when you finish it pls
- adamzwasserman 1y agoWil do!
- catapart 1y agoAny interest in honorable mentions? I've got a (pretty basic) kanban-style taskboard manager app clocking in at just under 715kb.[0] When I finish the project and switch to using the minified code, I think I'd still be a hair over 512, so it's a fully lost cause at making the club, but I hope you can forgive the shameless plug due to shared appreciation for small apps! [0] https://catapart.github.io/magnit-ceapp-taskboard-manager/demo/demboards.html https://catapart.github.io/magnit-ceapp-taskboard-manager/de...