Live data from Hacker News

Another 10k Apart: Create a Website in 10 KB, Win Prizes

alistapart.com

11–20 of 33 posts

Re: Another 10k Apart: Create a Website in 10 KB, Win Prizes

#11
post #2

>Build a compelling web experience that can be delivered in 10KB and works without JavaScript. It's difficult to imagine what such an experience would contain, CSS animation trickery? I'm very pro minimal UI code, my last hobby project didn't include any framework libraries and the front-end came in at 23kb including images, CSS, HTML and JS. But without a back-end, and without JS (no SPAs), is this just a contest to…

Looks like the 10KB can include a back end: https://a-k-apart.com/faq#stack

Re: Another 10k Apart: Create a Website in 10 KB, Win Prizes

#14
I got really excited until I realized I couldn't use JavaScript. Over the last year I got super passionate about making the smallest JavaScript bundle size possible with RiotJS or Preact.

I guess they really mean the old school 'website' (like the html 1.0 strict days), so maybe a html document with everything inline and no special fonts.

Re: Another 10k Apart: Create a Website in 10 KB, Win Prizes

#15
post #14

I got really excited until I realized I couldn't use JavaScript. Over the last year I got super passionate about making the smallest JavaScript bundle size possible with RiotJS or Preact. I guess they really mean the old school 'website' (like the html 1.0 strict days), so maybe a html document with everything inline and no special fonts.

You can use JavaScript, just not JavaScript libraries.

Re: Another 10k Apart: Create a Website in 10 KB, Win Prizes

#16
post #15
post #14

I got really excited until I realized I couldn't use JavaScript. Over the last year I got super passionate about making the smallest JavaScript bundle size possible with RiotJS or Preact. I guess they really mean the old school 'website' (like the html 1.0 strict days), so maybe a html document with everything inline and no special fonts.

You can use JavaScript, just not JavaScript libraries.

Not true. JS libraries simply count against your 10kB. In the past, they may have been "free resources"

Re: Another 10k Apart: Create a Website in 10 KB, Win Prizes

#19
post #2

>Build a compelling web experience that can be delivered in 10KB and works without JavaScript. It's difficult to imagine what such an experience would contain, CSS animation trickery? I'm very pro minimal UI code, my last hobby project didn't include any framework libraries and the front-end came in at 23kb including images, CSS, HTML and JS. But without a back-end, and without JS (no SPAs), is this just a contest to…

Looks like the 10KB can include a back end: https://a-k-apart.com/faq#stack

You can use a back-end in Python, Node, PHP, or .NET Core. The size of your back-end doesn’t factor in, just the markup, CSS & JS you deliver.

Re: Another 10k Apart: Create a Website in 10 KB, Win Prizes

#20
post #18

Cool, but the contest page ( https://a-k-apart.com ) is 204.5 K. Disappointed.

Disable JS and view on a small screen :-) It progressively enhances to that size. I’ll be writing about the process and design in forthcoming posts.

Smallest view (240px wide) with no JS renders in 6.9kB (DOMContentLoaded hit at 94ms, Load at 119ms). Also in play: client-side caching with ServiceWorker and some localStorage goodies to speed things up on modern browsers.

Post reply on HN