Algernon is a highly versatile web server packaged as a single, self-contained executable. Written in Go, it eliminates the need for complex setups and external dependencies, allowing you to serve dynamic content and build applications with minimal configuration. It's designed to be a comprehensive toolkit for web development, bundling a wide array of modern technologies directly into one binary.
Its power lies in its extensive built-in support for numerous tools and languages. You can create dynamic handlers and server-side logic using Lua and Teal, render content with templating engines like Pongo2 and Amber, and serve pages written directly in Markdown. It also includes on-the-fly transpilation for styling with Sass/SCSS and scripting with JSX. Key features include:
Whether you need a quick Markdown previewer, a powerful backend for a web application, or a standalone Lua runtime, Algernon provides a fast and efficient solution. Its small footprint, with a Docker image under 12MB, makes it ideal for a wide range of use cases.
services:
algernon:
image: xyproto/algernon:latest
container_name: algernon
ports:
- "3000:3000"
volumes:
- ./public:/srv/algernon
restart: unless-stopped# No sensitive environment variables are required for the default static/Lua server setup.
# Add database credentials here if extending with PostgreSQL or Redis.Auto-fetched about 20 hours ago
Auto-fetched about 20 hours ago