SRVR is a tiny HTTP webserver written in C++ using Linux sockets. It offers an easy way to set up server-side webpage generation and serving using familiar constructs for Flask users.
- Extreme simplicity, everything is in your control.
- Native speed using C++, allowing for scalability of users.
- Familiar routing API using Flask-like macros.
See the example site application for a super simple quick-start using srvr.
This project is built upon the Premake5 metabuild system, meaning that it can compile using native build systems depending on the host. Currently, only Linux is supported, and build configurations for GNU Make can be generated by running the respective setup script found in the scripts directory at the root of the repository.
- Clone the repository:
git clone https://github.com/cwielder/srvr.git
cd srvr
- Compile the project:
"./scripts/setupMake.sh"
make
- Start the application:
./bin/srvr-Debug/out/srvr
All code in the srvr repository has been made available under the MIT License.