This would have been very doable with interactivity if we used bytecode instead of JavaScript. WinForms apps start at 5KB (dependent on .NET Framework).
Might become doable with WASM if standard library and DOM won't be dynamic dispatch only.
Might become doable with WASM if standard library and DOM won't be dynamic dispatch only.
HN is an app/forum and only has 5k of js.
I'm sure though that if instead of JavaScript it was compiled to bytecode, it would fit in under 100kb before compression.