About Algernon
Algernon is a BSD-3-Clause web server packed into one executable. It speaks HTTP/2 and HTTP/3 over QUIC, runs Lua or Teal scripts as request handlers, and renders Markdown, Pongo2 and Amber templates without plugins.
A built-in Bolt database lets a small site or API run with no separate database server. On a CloudSat VPS, Redis, PostgreSQL or MariaDB can join later on the same machine.
After deploy Algernon serves on port 3000 by default; with --letsencrypt it moves to ports 443 and 80 and fetches its own certificate.
What you get with Algernon
- HTTP/2, HTTP/3 over QUIC and TLS 1.3
- Lua and Teal request handlers
- Markdown, Pongo2, Amber and JSX rendering
- Bolt, Redis, PostgreSQL, MariaDB or SQLite backends
- Users and permissions, plus auto-refresh while editing
Algernon use cases
- Publish a Markdown site with no build step
- Prototype a small Lua API with storage included
- Test HTTP/3 on a real public server
After you deploy Algernon
- Wait for Running in the console, then log in as root over SSH with your deploy key or the Access tab password.
- Run
algernoninside the directory you want to serve; add--httponlyfor plain HTTP. - Check the result at
http://<server IP>:3000. - Point a domain at the server and start with
--letsencryptto serve HTTPS on 443, with port 80 redirecting there.
Algernon ports
Open these in your firewall if you use one: 3000/tcp default listener, 80/tcp and 443/tcp with --letsencrypt.
Algernon FAQ
Does Algernon need a database server?
No. It bundles Bolt, so users, sessions and simple data work out of the box. Redis, PostgreSQL, MariaDB and SQLite are there when you need more.
Can Algernon get its own certificate?
Yes. Once a domain points at the server, run it with --letsencrypt: it serves on port 443 and redirects port 80 there.
Disclaimer. The Algernon project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.