HeadlinesBriefing favicon HeadlinesBriefing.com

Vermell: Zero-Bloat C++ Web Framework

Hacker News •
×

Vermell is a minimal, zero-bloat web framework for modern C++ environments, designed as a successor to Vibe. It requires only one header to include and one static library to link, with no runtime, garbage collector, DSL, or vendored dependencies. Built on an event-driven engine using a non-blocking epoll loop and worker thread pool, Vermell achieves high performance under load and resilience against slow clients.

It depends solely on base Linux APIs (sockets, epoll, pthreads, fork/exec) and compiles with a single command: g++ -std=c++20 server.cpp -o exe -lvermell. Supported platforms include x86_64, ARM (aarch64, armv7), Android via Termux, WSL, Raspberry Pi, and containers; macOS and Windows are not supported due to epoll reliance. Security features like timeouts, request caps, connection limits, and a render jail are enabled by default.

An in-tree JSON DOM provides strict RFC 8259 parsing, typed parameters, raw bodies, and multipart uploads. C++ templates enable compose() modules and render() variables, with fluent configuration via a single configure() call. Full bilingual documentation (EN/ES) is available at vermell.cc.

Installation options include CMake, npx create-vermell-static, Docker, and signed APT packages for Debian/Ubuntu.