Skip to content

cwielder/srvr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 Overview

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.

🚀 Features

  • Extreme simplicity, everything is in your control.
  • Native speed using C++, allowing for scalability of users.
  • Familiar routing API using Flask-like macros.

📚 Documentation

See the example site application for a super simple quick-start using srvr.

🔨 Building

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.

Steps

  • 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

License

All code in the srvr repository has been made available under the MIT License.

About

Lightweight HTTP server from scratch

Resources

License

Stars

Watchers

Forks

Contributors