upvote
The 40MB of data is Wikipedia data, the site itself is 21kB.
reply
40mb is way too much for a JS bundle... Even with a framework you could do this with 5mb or less.
reply
> you could do this with 5mb or less

How quick the times change... Back in my days, we put the limit on bundles being maximum 1MB, and it felt large even then.

reply
Don't get me wrong. 5mb is a lot for this, yes. This app, coded with love and interest could easily be made under 1mb.
reply
This app IS made in under 1mb. The entire app, including all the assets minus all the actual Wikipedia data, is 21kB (no minification or compression). And all of it is in a single html file with human-readable code.
reply
Interesting. I haven't investigated, so I don't know where the 40mb comes from.
reply
It's JSON.
reply
Now imagine how big the builds are for Instagram's server side doomscrollable feed algorithm, given their inverse incentives to this project.
reply