Live data from Hacker News

Tiny websites are great

tinyprojects.dev

21–30 of 227 posts

Re: Tiny websites are great

#21

https://jrimbault.io/citation_needed/ I made that _tiny_ website for evenings with friends. It works great. You enter a few names, hit the save button, you get a list with scores and a +1 button for each players. When you refresh the page the scores are reset. The most important feature is the _ding_. The ding makes it fun. It's ridiculously small, but it brings lots of fun.

I might use this. Nice. However, needs a mystery biscuits button.

Re: Tiny websites are great

#22
post #16

I love this initiative in principle, but the instructions left a rather sour taste in my mouth. Create a Firebase app, download and install Node and run some arcane cli commands? For what? To upload a 10-byte HTML file somewhere? Please, do yourself and us a favour and sign up for a free account on https://neocities.org , and make a quirky website by hand for all of us to enjoy. I half want to write a post like this…

Not affiliated but I think Netlify offers a similar level of initial effort but with more room for later growth.

Yeah, they let you drag and drop a zip file to create a site, but is geared more towards companies/professionals. Neocities is more geared towards a community of independent creators, though, so I'd rather support/promote them for indie stuff.

Re: Tiny websites are great

#23

Earlier quoted context omitted.

You have a bug where adding a player doesn't work the first time (from https://jrimbault.io/citation_needed/ ) as it redirects to https://jrimbault.io/citation_needed/?# and clears the player list. Then it works.

yep, didn't care about it :) It's tiny, it's fun, it's enough . Keyword : enough. Yes I could add a preventDefault, but I don't care . Really, I only entered the names of my friends once, it has been in my localStorage since, and it's only really meant to be used by me. Fixed it.

it’s tiny is not an answer to such a trivial bug

Re: Tiny websites are great

#24
post #7

Tiny websites are great! It's interesting to note that the website content itself for this article is 5,045 bytes (HTML + CSS), but the analytics code (firebase-analytics.js) is 26,458 bytes, and firebase-app.js (whatever this is?) is 19,865 bytes. Not a criticism; analytics is important & maybe the app JS is too. Just think it's worth bearing in mind that it's really easy to blow out your website's total delivery im…

> analytics is important

A lot of times they're not. If you don't have a product, and you're not trying to sell anything, consider the possibility that you just don't need it.

Re: Tiny websites are great

#25
post #16

I love this initiative in principle, but the instructions left a rather sour taste in my mouth. Create a Firebase app, download and install Node and run some arcane cli commands? For what? To upload a 10-byte HTML file somewhere? Please, do yourself and us a favour and sign up for a free account on https://neocities.org , and make a quirky website by hand for all of us to enjoy. I half want to write a post like this…

it’s because new programmers now don’t understand how to make websites. they blindly follow nodejs tutorials. their knowledge collapses as soon as the first bug hits that isn’t solved by stackoverflow or github for them. they have no clue how to debug or how a site works on a static setup in a normal web server.

Re: Tiny websites are great

#26
post #16

I love this initiative in principle, but the instructions left a rather sour taste in my mouth. Create a Firebase app, download and install Node and run some arcane cli commands? For what? To upload a 10-byte HTML file somewhere? Please, do yourself and us a favour and sign up for a free account on https://neocities.org , and make a quirky website by hand for all of us to enjoy. I half want to write a post like this…

Not affiliated but I think Netlify offers a similar level of initial effort but with more room for later growth.

I'll second Netlify. Totally fantastic service; I've played with a lot of "github to deployed app" services, and I was still blown away with how straightforward it was to get a NextJS static site on there, auto-deploying, on a custom domain, with site analytics built-in, no code required.

Re: Tiny websites are great

#27
post #8

I was nodding reading this and then: > No libraries or frameworks (the exception being analytics) There has got to be a better way of collecting analytics than to inject a bunch of crappy JS from some company (probably Google).

Is there a way to do time-on-page with backend-only analytics?

Re: Tiny websites are great

#28

https://jrimbault.io/citation_needed/ I made that _tiny_ website for evenings with friends. It works great. You enter a few names, hit the save button, you get a list with scores and a +1 button for each players. When you refresh the page the scores are reset. The most important feature is the _ding_. The ding makes it fun. It's ridiculously small, but it brings lots of fun.

I might use this. Nice. However, needs a mystery biscuits button.

I didn't see myself asking Tom Scott for his sound effects, the ding is also not the same. And my friends and I have our own gimmick, generally more cheese-based (raclette or fondue) than biscuit-based.

Re: Tiny websites are great

#29
>No libraries or frameworks (the exception being analytics)

No, analytics are not an exception. Don't put fucking spyware on your pages. I can't believe it's 2020 and people still need to be told this. It's not okay.

Re: Tiny websites are great

#30
Since we're talking about tiny websites, and this seems pretty relevant:

If it's only static HTML and CSS, it's just a bucket o' files. You can store things like that on S3 for... I don't even know how little. A tiny amount. You will not find a cheaper hosting option than this.

I made this site on S3, using Svelte, which is intentionally the humblest, smallest step up from plain JavaScript HTML & CSS, at the link below.

http://pitch-deck-svelte.s3-website-us-east-1.amazonaws.com/

Now, the one drawback here is that this doesn't have HTTPS, and you'd need CloudFront for that. This link covers how to do that (note: you should buy your domain on AWS, using Route 53, when following these instructions to make your life easier).

https://medium.com/@sbuckpesch/setup-aws-s3-static-website-h...

Post reply on HN