"Tiny websites are great"
I would suggest to use some tiny analytics such as Plausible Analytics (1.4 KB) instead of Google Analytics (45.7 KB). It also doesn't require cookie/GDPR notice which can make tiny websites much less tiny.
@markosaric My analytics script is 1.55 KB minified because I had to include a polyfill to support IE6, and that's like half the script… :( But only 1.03 KB gzipped though.
@markosaric No analytics is even better and more lightweight 😉
@amolith 👍 i mentioned analytics because that site used ga scripts which are almost 50 KB which doesn't really fit with the tiny sites. for those who like to see some stats there are better options
@claus @judeswae @markosaric @aral Prototype-01 is definitively a wonderful thing, but as Aral says himself: “The audience for this post is tinkerers and developers.” It maybe has that kind of simplicity you only understand when you have coded and published a decade or so. It is also more about having a personal server than writing a webpage in html and css.
Then I visit https://localhost without certificate errors.
If I want to set up a public-facing one, I do:
<paste Site.js install command>
Then I hit https://my.site
If I want to sync my local site to my public one, I do:
Then I have a cup of coffee ;)
@judeswae @markosaric I would first encourage people to just experience the pure simplicity of html and css locally. Write some html, save and open your pages in a browser.
When ready to publish online, I look for a free or cheap, but reliable host solution. Personally I always payed for hosting. I don’t mind paying for a good service. Self hosting always seems to complicated. I want to concentrate on the content of my pages, not on the maintenance of a server.
@markosaric Tiny web sites are fast, too. I got 99% on Google Page Speed even on dirt cheap commodity web hosting.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.