Full-Stack C++20 Web Framework
Routing, template engine, security middleware, WebSocket and more. Everything you need for a web server, built with C++20. This page is served by yNet.
High-performance server with epoll event loop and thread pool. OpenSSL TLS support.
CORS, CSRF, Rate Limiter, Session, Input Sanitizer, Secure Headers as middleware.
Real-time bidirectional communication. Handshake to frame parsing, built from scratch.
Mustache-style syntax. Variables, conditionals, loops, partials, mtime caching.
JSON parser, URL encoding, MIME mapping, SHA-256, multipart file upload parser.
ynet new, build, run, clean. From project creation to launch in one command.
Create, build, and run a project with the yNet CLI. FetchContent pulls yNet automatically — no manual install needed.
Requirements: CMake 3.20+, C++20 compiler, OpenSSL.
# Install CLI
$ git clone https://github.com/dvdsvds/yNet.git
$ sudo cp yNet/cli/ynet /usr/local/bin/
# Create & run
$ ynet new myapp
$ cd myapp
$ ynet build
$ ynet run