A lightweight, minimalist, and secure Markdown web server written in Rust
Lumen is designed to serve Markdown files as rendered HTML pages with zero configuration. It features a custom work-stealing thread pool, and aggressive in-memory caching
- Fast: Custom thread-pool, zero-copy HTTP parsing, and sharded LRU caching.
- Media Streaming: Native support for HTTP
Rangerequests (streams.mp4,.mp3out of the box).
Ensure you have Rust installed, then clone and build:
git clone https://github.com/TanF12/lumen.git
cd lumen
cargo build --release- Initialize a new workspace (creates
lumen.toml, content, and theme directories):./target/release/lumen init . - Start the server in developer mode (disables caching for live-reloading):
./target/release/lumen start --dev
Lumen is configured via lumen.toml. See the generated file for options regarding threading, timeouts, cache sizes, and security headers (CORS, CSP, etc.).