Live data from Hacker News

Site.js: Small Web construction set

sitejs.org

11–20 of 31 posts

Re: Site.js: Small Web construction set

#11
post #10

following the dynamic part of this, it looks like they recommend DotJS. https://sitejs.org/#dynamic-sites I am not too familiar with DotJS, but it looks like its depreciated/unmaintained for years. https://github.com/defunkt/dotjs

That dotjs is for user scripts (ie a chrome extension) not for the thing their talking about which is php for node.

Re: Site.js: Small Web construction set

#13
post #3

Followed the links and came across https://small-tech.org/ which is pretty interesting. An example of how technologist can make a dent in how technology has been progressing thanks to an ad-driven internet.

For the rationale behind building site.js, refer to the post "What is the Small Web?" [0] by Aral Balkan.

[0] https://ar.al/2020/08/07/what-is-the-small-web/

Re: Site.js: Small Web construction set

#15
Meta on the site’s presentation:

If you’re going to use thick light link underlines (text-decoration-color: #ccd6ce; text-decoration-thickness: .2em; text-underline-offset: .25em), please also turn off descender skipping with `text-decoration-skip-ink: none`. With this style of underline, descender skipping becomes a surprisingly large distraction if it kicks in, achieving precisely the opposite of what it was introduced to achieve (reducing distractions and improving readability).

(Tested in Firefox and Chrome on Windows on a 2× display. In Firefox, shifting the underline about half a CSS pixel further clears the ink skipping. In Chrome, it already clears it by about 2.7 CSS pixels, because the default underline position already takes font metrics into account, which seems a very-dubious-to-wrong choice to me once you’re offsetting, but is currently within spec since the `text-underline-position: auto` spec just says “The user agent may use any algorithm to determine the underline’s position; however it must be placed at or under the alphabetic baseline.” `text-underline-position: from-font` explicitly opts into this behaviour (works on Firefox), and there is no way of opting out (so I don’t think there’s any way to instruct Chrome to draw the underline touching the text baseline).

Re: Site.js: Small Web construction set

#17

Wow. That looks super complicated. For a small website I'd recommend just using your system repo to install nginx and then putting html and media files in the web directory.

It didn't strike me as that complicated or hard to follow.

The method you describe is fine but the average user will quickly run into a lack of features that are taken for granted with that approach, and if they then progress to something more "mainstream" it will probably be way more complicated than this.

Re: Site.js: Small Web construction set

#20
post #10

following the dynamic part of this, it looks like they recommend DotJS. https://sitejs.org/#dynamic-sites I am not too familiar with DotJS, but it looks like its depreciated/unmaintained for years. https://github.com/defunkt/dotjs

https://github.com/olado/doT is what they are talking about I think.
Post reply on HN