Aral Balkan

Mastodon icon RSS feed icon

Site.js: now with auto updates in production

A quick demonstration of the new auto-reload feature.

Site.js version 12.10.2 introduces automatic updates in production.

Why auto update?

Site.js is a personal web tool for individual developers – not startups or enterprises. It’s a tool for building everyday things for everyday people that do exactly what they say on the tin and nothing more.

In other words, Site.js is a tool for building small technology.

With that in mind, it goes without saying that the sites and apps you build and serve with Site.js will not have dedicated operations teams to keep them up to date and secure. And while you may be a dev-ops unicorn who also plays smashing electric guitar, not everyone is. And the people who will run their own instances of the things you build with Site.js definitely won’t be. So Site.js has to be your operations team and come with secure defaults out of the box.

Because security

One of the biggest security issues in tech is running outdated software. While I was running my servers on nginx, I couldn’t tell you when they were last upgraded as the process was so convoluted. With Site.js, running your own web server has to be deploy and forget. We cannot assume that folks are going to update their servers.

So auto updates of production servers is a crucial security feature.

Manual updates during development and testing

Automatic updates are a feature for production servers only (in other words, whenever you launch Site.js as a service/daemon using the enable command).

When running Site.js during development and testing, you can check for updates manually using the update command.

Like this? Fund us!

Small Technology Foundation is a tiny, independent not-for-profit.

We exist in part thanks to patronage by people like you. If you share our vision and want to support our work, please become a patron or donate to us today and help us continue to exist.