Aral Balkan

Mastodon icon RSS feed icon P2P network icon

Set up a live static personal web site in seconds with Indie Web Server 8.0.0

Watch as I set up a secure static personal web site in seconds from installation to live.

On April 1st (no joke), Indie Web Server 7.1.0 introduced the ability to set up a live static web site in seconds on any server that had Node.js installed.

Two weeks of hitting my head on a wall and multiple rewrites later, Indie Web Server 8.0.0 now lets you do that without Node.js thanks to native binaries for Linux.

You can now literally go from installing the server to serving a fire and forget secure personal web site in seconds:

# Make a web page
echo 'Hello, world.' > index.html

# Install Indie Web Server
wget -qO- https://ind.ie/web-server/install.sh | bash

# Start your secure web site
web-server enable

Version 8.0.0 also introduces native binaries for macOS although you can only run regular processes, not daemons on that platform. (Linux systems with systemd are currently the only ones supported for production use.) And those of you on Windows can still install Indie Web Server via npm and use it as a development server with locally-trusted certificates:

npm i -g @ind.ie/web-server

I hope Indie Web Server makes your life easier. It is just one of the earliest modules to come out of the Hyhpa research and development project. It’s what I’ll be using to power the untrusted web node in Hypha.

See the Indie Web Server homepage and the source code repository and documentation for more details, including how you can use it as the basis of your own dynamic servers with Node.js.

As always, if you like and want to support the ongoing work of our tiny two-person not-for-profit, please fund us.