The smallest thing worth installing on a server of your own: a test for one-click installs

4 downloads

Get it

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/hello-server.git
HTTPS
https://gitstable.com/git/askrobots/hello-server.git
SSH
ssh://git@gitstable.com:2222/askrobots/hello-server.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 hello-server 2026.11v1: the smallest thing worth installing on your own server 7298f7b 8 hours, 36 minutes ago History
README.md

hello-server

The smallest thing worth installing on a server of your own, made to test "one click" installs on DigitalOcean (and any cloud that reads cloud-init).

When it works, the new server's address shows It works. with the server's name, the version and commit installed, and how long it has been running. /health gives the same as JSON, so an installer can check:

{"ok": true, "app": "hello-server", "version": "2026.11v1", "commit": "…", "installed_at": "…", "host": "…", "up_seconds": 42}

How it installs

  • cloud-init.yaml is what an installer gives the new server: clone this repository, then run install.sh at

one version.

  • install.sh checks out that version and runs server.py as a service on port 80, with no packages added: a

fresh Ubuntu server has git and Python already. It runs as a throwaway user that can only open port 80.

  • server.py is Python's standard library only.

By hand, on a fresh Ubuntu server, as root:

git clone https://gitstable.com/git/askrobots/hello-server.git /opt/hello-server
sh /opt/hello-server/install.sh 2026.11v1
curl http://localhost/health

Versions

Named by year, month and a count: 2026.11v1 is the first, of November 2026.

Licence

MIT