Live data from Hacker News

Tiny websites are great

tinyprojects.dev

161–170 of 227 posts

Re: Tiny websites are great

#161
post #56

Earlier quoted context omitted.

Even for small personal projects, analytics can give you a lot of insights into what your viewers like. Things like session duration and bounce rate, broken down by page, can tell what content people enjoy and what contents needs some work. Also useful to know what fraction of your users are recurring versus new users to tell whether people actually return to your site or if they just check it out once. Lastly, the r…

Things like session duration and bounce rate, broken down by page, can tell what content people enjoy and what contents needs some work. All those things can be gathered from the initial request if you can set a cookie on the user's machine using a cookie header. If you're Firebase then you'd need a request for firebase-analytics.js to set the cookie, but the file itself could be empty. Also useful to know what fract…

To be fair, you can't tell how long someone spent looking at page using just cookies. You can't distinguish between me (a) loading your page then immediately closing it, (b) loading it, reading it for ten seconds, then closing it, (c) loading it, reading it for ten minutes, then closing it, and (d) loading it, leaving the tab alone for ten minutes, reading it for ten minutes, then closing it.

But it doesn't take 50 kB of JS to be able to do that!

Re: Tiny websites are great

#162

Earlier quoted context omitted.

I don't know, I mostly agree with you, but I disagree that a simple site requires that much. Just drop the files in a folder in some web server and you're done.

Authoritative voice, the creator of Imgz.org (huge fan).

wonderful wording.

Re: Tiny websites are great

#163
post #160
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…

I do agree that beyond the site being tiny, an important part of taking control back is to question the hosting part. The "traditional" web is, unfortunately, not fit for minimum hosting without either shelling out some money or depending on a third-party (however good it is). It is high time decentralized web alternatives gain adoption. How to host your tiny website with beaker ( https://beakerbrowser.com/ ) 1. Open…

[deleted]

Re: Tiny websites are great

#164
post #160
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…

I do agree that beyond the site being tiny, an important part of taking control back is to question the hosting part. The "traditional" web is, unfortunately, not fit for minimum hosting without either shelling out some money or depending on a third-party (however good it is). It is high time decentralized web alternatives gain adoption. How to host your tiny website with beaker ( https://beakerbrowser.com/ ) 1. Open…

You do need to keep your computer always[0] on, though. I don't mind depending on external companies, I mind depending on external companies that I can't pay to ensure their loyalty to me.

[0] For varying values of "always".

Re: Tiny websites are great

#165
For me the biggest requirement is > 3. It must be fun to build

for me that requires a level of abstraction, I don't want to be monkeying with HTML if I don't have to, I just want to write the damn article. That's why I use Hugo, I feel like it hits a fantastic balance between speed for the user and ease of maintenance for me.

Re: Tiny websites are great

#166

Earlier quoted context omitted.

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.

That's a cool initiative. The HN in me wants to critique it a bit. Why no markdown or WYSIWYG editor? Is it because that would turn it into wordpress? I feel like there's a place for a service that can, * Host static content like netlify/neocities on a CDN * Allow you to register a domain * Choose a template and enter content with basic markup This should be able to be done in edit: ~~markup~~ markdown/WYSIWYG

[deleted]

Re: Tiny websites are great

#167
post #92

Most of the "small" designs and frameworks I've seen are quite large, in my mind. I just finished building a minimalist html/css template for some of my own projects. I'm starting to feel like this is some lost art form. https://neat.joeldare.com

Your `pre` elements are set to `overflow: scroll;`. You pretty much never really want that. (And it looks terrible on platforms that still have real scrollbars instead of the iOS-style overlay indicators that fade away. It should be `auto`. See https://www.w3.org/TR/CSS21/visufx.html#propdef-overflow

Thanks, I'll try auto and see how it goes.

Re: Tiny websites are great

#168

Earlier quoted context omitted.

It really depends on the editor. Some editors give you raw access to the underlying code and apply styles to it as you type, kind of like syntax highlighting. Some actually try to be rich text editors with a (usually restricted) Markdown input. You can guess which ones make me want to flip a table. (Hint: Slack, fix your editor!)

i think slack now allows you to disable the visual editor in settings - you can still format with markdown but the formatting isn't rendered until you send.

Yeah but it's half-arsed; specifically, doesn't do [links](...).

Re: Tiny websites are great

#169
post #160

Earlier quoted context omitted.

I do agree that beyond the site being tiny, an important part of taking control back is to question the hosting part. The "traditional" web is, unfortunately, not fit for minimum hosting without either shelling out some money or depending on a third-party (however good it is). It is high time decentralized web alternatives gain adoption. How to host your tiny website with beaker ( https://beakerbrowser.com/ ) 1. Open…

You do need to keep your computer always[0] on, though. I don't mind depending on external companies, I mind depending on external companies that I can't pay to ensure their loyalty to me. [0] For varying values of "always".

If it’s really a tiny website could it be hosted on a Raspberry Pi that you kept always on?

Re: Tiny websites are great

#170

Most of the "small" designs and frameworks I've seen are quite large, in my mind. I just finished building a minimalist html/css template for some of my own projects. I'm starting to feel like this is some lost art form. https://neat.joeldare.com

Why you don't center your body? We need to turn our head to read.

I couldn't decide on this one. When I centered it, it didn't feel quite right. I searched the web for examples, and found a lot of left aligned examples, so I went with that. I also had this in my design decisions, but because I hadn't really decided yet, I took it out.

I'll try centered again.

Post reply on HN