Algernon is a self-contained web server designed for serving websites and developing dynamic web applications. It combines HTTP handling with an embedded scripting environment, template processing and support for several database systems, allowing developers to create interactive sites with relatively little external infrastructure.
The server can render Markdown documents, execute Lua application code and process web templates and stylesheets. Changes to supported source files can trigger automatic browser refreshes during development, making it convenient for editing websites and testing application behaviour. Its integrated scripting environment also provides access to database operations and server-side request processing.
Algernon can use embedded storage or connect to external relational and key-value databases. Its support for modern HTTP protocols, caching and content compression allows it to serve both development projects and deployed web applications. Extensions can provide additional functionality through the project’s plugin interface.
This is free and open source software.
Key Features
- HTTP/1.x, HTTP/2 and HTTP/3 support.
- Dynamic request handling through embedded Lua scripts.
- Optional Teal support for typed Lua development.
- Markdown rendering with configurable page metadata and syntax highlighting.
- Template processing using Pongo2 and Amber.
- Stylesheet processing with Sass and GCSS.
- Transformation of JSX, TSX and TypeScript for browser applications.
- Automatic browser refresh when supported source files change.
- Interactive scripting environment with a Lua REPL.
- Integrated key-value storage using BoltDB.
- Database connectivity for PostgreSQL, SQLite, MariaDB, MySQL and other supported systems.
- Redis and Valkey integration for data storage.
- Support for storing and retrieving JSON documents.
- Built-in file caching with configurable cache policies.
- Gzip compression for suitable HTTP responses.
- Request rate limiting and access controls.
- User and permission management through integrated facilities.
- Plugin interface for extending server-side functionality.
- Graceful shutdown and IPv6 support.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/xyproto/algernon
Support:
Developer: Alexander F. Rødseth
License: BSD 3-Clause ‘New’ or ‘Revised’ License
Algernon is written in Go and Lua. Learn Go with our recommended free books and free tutorials. Learn Lua with our recommended free books and free tutorials.
Related Software
| Web Servers | |
|---|---|
| nginx | Very powerful and efficient web server powering the top web sites |
| Apache | Like nginx, Apache is a hugely popular web server |
| Caddy | Powerful, enterprise-ready web server written in Go |
| Lwan | Experimental, scalable, high performance HTTP server |
| H2O | Optimized HTTP/1.x, HTTP/2, HTTP/3 server |
| Tengine | Distribution of nginx |
| lighttpd | Fast, compliant and very flexible low memory footprint web server |
| Ferron | Web server optimized for speed, security and efficiency |
| CivetWeb | Small embeddable web server library written in C |
| Angie | Scalable web server that was forked from nginx |
| Algernon | Small self-contained pure-Go web server |
| Node.js | Server-side JavaScript environment for network applications |
| Yaws | High-performance web server written in Erlang |
| Hiawatha | Web server that focuses on security |
| OpenLiteSpeed | Lightweight HTTP server |
| rwasa | Full-featured high performance web server |
| devd | Local web server for developers |
| Cherokee | Fast, flexible and embeddable web server |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.