Live data from Hacker News

Tiny websites are great

tinyprojects.dev

121–130 of 227 posts

Re: Tiny websites are great

#121
post #13

Earlier quoted context omitted.

with static sites server-side analytics are doable. You can still cookie the browser, record it to access log and you can get pageviews and uniques easily

Problem is if you're using a CDN it might not give you access to complete logs. Still there's at least one better free option than GOOG analytics IMO[0] [0]: https://anderspitman.net/20/#get-off-google-analytics

So? I have javascript disabled so a frontend analytics option also won't give you complete analytics.

It's a tradeoff, you get to decide if you run code on your visitor's computers without consent and get analytics that are wrong in one way, or if you run code on your server with your own permission, and get analytics that are wrong in another way and simpler.

Re: Tiny websites are great

#122
post #115

Managing a website and writing for it are two different activities to me. I prefer to do the latter in a WYSISYG editor. I don't want to fire up a terminal to deploy content changes. With proper caching, the output of a CMS can be indistinguishable from a static site, but it can also include RSS, pagination, categories, tagging, responsive images, tables of contents, etc. Take https://allaboutberlin.com . In my brows…

RSS, pagination, categories, tagging, responsive images, ToCs - all these things work just perfectly in static sites.

Re: Tiny websites are great

#123
I have been working on a tiny website aiming to teach Japanese using HTML/CSS and Emojis. It is hosted on Github pages. I take this opportunity to share it since I believe it is the kind of website that people miss.

https://drdru.github.io/

The main problem I have is that despite some love for this type of website on Hackernews they are not really popular. Also, they are not accepted in Show HN.

Re: Tiny websites are great

#124

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

I had more or less the same idea, but perhaps with the markdown syntax extended (I understand this is a touchy topic since there are various markdown parsers that don't all work the same) to allow for simple generation of form controls and navigation bars/layouts.

E.g for navigation sidebar:

* [Home](/home)

* [Blog](/blog)

etc

For form controls:

[ ] I'd like to receive marketing emails.

( ) Female

It'd be even better if it can support basic CRUD/BREAD operations. Basic CRUD webapp with just markdown, imagine that.

Re: Tiny websites are great

#125
post #115

Managing a website and writing for it are two different activities to me. I prefer to do the latter in a WYSISYG editor. I don't want to fire up a terminal to deploy content changes. With proper caching, the output of a CMS can be indistinguishable from a static site, but it can also include RSS, pagination, categories, tagging, responsive images, tables of contents, etc. Take https://allaboutberlin.com . In my brows…

RSS, pagination, categories, tagging, responsive images, ToCs - all these things work just perfectly in static sites.

Sure, but they need to be generated by some sort of framework, somewhere. If your definition of a static site includes framework-generated index pages and page structures, aren't almost all websites static already? Making them tiny is just a matter of writing better templates, not picking more obscure frameworks.

Re: Tiny websites are great

#127
I see that this is your first submission. I love that it is refreshingly original.

Now, there are two main steps to making a website public.

* Developing the website (idea, design, development)

* Hosting it (domain, email, host, server)

What you posted is great for emphasizing that the first step can be done in a very simple way, without any complicated frameworks.

The way you did the second part - hosting your site (Using Node.js/npm, Firebase, and npm package) - does not fit well with the simplicity you demonstrated while doing part one.

However, if considered as a how-to for building a tiny website using Firebase, it is awesome.

Re: Tiny websites are great

#128
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…

There are also "tiny" solutions for analytics. I'm working on Plausible Analytics which is only 1.4 KB right now and provides a modern dashboard. It also doesn't use cookies and doesn't collect personal data so you're not required to show the cookie/GDPR prompts which would make tiny websites much less tiny. See https://plausible.io/ There's an issue on our Github which will help us perhaps reduce it to under 1 KB to…

this looks amazing! I might consider using this for my sideproject and some a/b testing.

Re: Tiny websites are great

#129
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…

There are also "tiny" solutions for analytics. I'm working on Plausible Analytics which is only 1.4 KB right now and provides a modern dashboard. It also doesn't use cookies and doesn't collect personal data so you're not required to show the cookie/GDPR prompts which would make tiny websites much less tiny. See https://plausible.io/ There's an issue on our Github which will help us perhaps reduce it to under 1 KB to…

If you don't need detailed information about visitors, you can also consider server log analytics.

Re: Tiny websites are great

#130

>It's your little corner of the internet to do as you please with. > >Follow me on social media: > >Twitter Instagram Really makes you think huh?

Everyone knows solo blogging is lonely. That's why RSS is valuable, and the indieweb folks have tried to make new social protocols.
Post reply on HN