Site.js: Small Web construction set
sitejs.org
sitejs.org
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.
Buying a domain name, buying web space, pointing the domain name to the web space, uploading files. Does seem ever so simple compared with a million other complex workflows.
And yet, it didn't really catch on.
Give someone a one-click installer and the bottleneck will still be content creation and design by committee.
Your comment already assumes that just because a person can type in commands on a terminal, they need to know about version management, nginx configuration and letsencrypt setup.
If you look at the site docs [0], it further syncs from local to remote.
Also, in many cases all the overhead that we, as software developers assume we should have for everything, need not be the case for just a simple website.
[0]: https://github.com/small-tech/site.js/blob/master/README.md
sudo apt-get install nginx
Check where nginx puts the www directory by doing a google search, "myos version nginx default directory". cp index.html /var/www/
cp latestphoto.jpg /var/www/
# or use your OS GUI file manager
Set up the port forward from the router to localip:80 and you're done.You're assuming you need HTTPS but it's a personal static site so no letsencrypt is needed yet. You're assuming they need to configure nginx, but they don't the debian/ubuntu defaults are fine. You're assuming they need to learn version management for some unfathomable reason but I can't even understand that. You're assuming people need some sort of 'sync' but they don't. That's what an OS file manager is for.
It's really not that complex unless you make it so.
For simple things I like using next.js with vercel (ex zeit, ex now). You also get simple file-system based routing if you want it (thanks to next.js) and very easy deploy, that is also gets you letsencrypt certificate automatically. It does not have database part of the story atm, but you can use dynamo/fauna/mongo and alike.
Really simple thing is dark lang though! it has all of these concerns integrated in, have IDE and incremental automatic deployment. Absolutely love it. But it is still quite early beta.
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).
I just pushed demonstrable alpha out yesterday.
it's called Calliope.
Is an auto updating daemon what you want? And does it run under its own account? I wouldn't run this as root or under an account with sufficient sudoers privileges.
https://sitejs.org/#dynamic-sites
I am not too familiar with DotJS, but it looks like its depreciated/unmaintained for years.