Static Web Server
Reverse proxies and web servers
Small Rust web server for serving static files, with TLS, HTTP/2 and compression
2.4k 144 today Thriving Apache-2.0
Single-binary web server with Lua, Markdown and built-in database support
Listed by Alston Antony, founder & editor
Health
ActiveStars
3,028
Last commit
yesterday
Nov 2026
Repository age
11 years
since Mar 2015
Latest version
v1.18.0
Nov 2026
Contributors
–
1 active in 90 days
Releases
9
last 12 months
Language
JavaScript
Algernon is a web server written in Go that ships as one small executable. It serves static files and also renders dynamic pages from Markdown, Pongo2, Amber, JSX, TSX and Lua, with Teal for type-safe Lua. Sass and GCSS are compiled to CSS.
It speaks HTTP/2 over TLS when you give it a certificate and key, falls back to plain HTTP otherwise, and can serve HTTP/3 (QUIC) with a flag. Databases supported include a built-in Bolt file store, SQLite, PostgreSQL, MariaDB, MySQL, MSSQL, and Redis or Valkey. It also includes rate limiting, graceful shutdown, plugins, and a users and permissions system.
File names drive behavior. An index.lua file acts as a handler, index.md is rendered as HTML, and an index.prompt file can generate content with an Ollama model. The Docker image is under 17MB.
It is BSD-3-Clause licensed and runs on Linux and macOS, with a Homebrew formula. It can stand in for a small Nginx or Apache setup plus an application server.
One binary serves Markdown, templates and Lua handlers with a database, with no extra stack.
Skip if: You need a large module ecosystem or heavy reverse-proxy features.
Drop an index.md in a folder and it is rendered as HTML.
Skip if: You want a full CMS with an admin editor.
A small dynamic site often needs a web server, a template engine, a database driver and a user system wired together. Algernon bundles these in one executable so you can start serving pages quickly.
go install github.com/xyproto/algernon@latest From the project's own install instructions. Check the docs for production settings.
Yes. It is open source under the BSD-3-Clause license.
Linux and macOS, with a Homebrew formula. Releases are provided for several platforms and architectures, and a Docker image exists.
Yes. If you give it a certificate and key, it serves HTTP/2 over TLS. HTTP/3 (QUIC) can be enabled with a flag.
Run go install with Go 1.26 or later, download a release, or use the Docker image.
Reverse proxies and web servers
Small Rust web server for serving static files, with TLS, HTTP/2 and compression
2.4k 144 today Thriving Apache-2.0
Reverse proxies and web servers
2.2k 101 today Active MIT
Reverse proxies and web servers
5.6k 341 4 days ago Thriving AGPL-3.0
Reverse proxies and web servers
3.8k 274 3 days ago Thriving GPL-3.0
Reverse proxies and web servers
3.1k 109 5 days ago Thriving AGPL-3.0
Reverse proxies and web servers
192 15 2 days ago Active GPL-3.0