Web Design

Algernon – self-contained web server

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
nginxVery powerful and efficient web server powering the top web sites
ApacheLike nginx, Apache is a hugely popular web server
CaddyPowerful, enterprise-ready web server written in Go
LwanExperimental, scalable, high performance HTTP server
H2OOptimized HTTP/1.x, HTTP/2, HTTP/3 server
TengineDistribution of nginx
lighttpdFast, compliant and very flexible low memory footprint web server
FerronWeb server optimized for speed, security and efficiency
CivetWebSmall embeddable web server library written in C
AngieScalable web server that was forked from nginx
AlgernonSmall self-contained pure-Go web server
Node.jsServer-side JavaScript environment for network applications
YawsHigh-performance web server written in Erlang
HiawathaWeb server that focuses on security
OpenLiteSpeedLightweight HTTP server
rwasaFull-featured high performance web server
devdLocal web server for developers
CherokeeFast, flexible and embeddable web server

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted