Skip to content

This is my take on a web server written from scratch

Notifications You must be signed in to change notification settings

AnshulKanwar/Anya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anya

A web server written from scratch in C++

Usage

$ anya --help
Allowed options:
  --help                    produce help message
  -p [ --port ] arg (=3000) set port to run on
  --log arg (=info)         set logging level (debug, info, warn, err)
  --source-dir arg (=.)     set the source directory
$ anya --port 3000
[2022-10-06 14:15:31.249] [info] Starting App
[2022-10-06 14:15:31.251] [info] Listening on port 3000

Building

git clone https://github.com/AnshulKanwar/Anya
cd Anya
make

TODO

  • Express like API
  • Add error handling
  • Add tests
  • Add logging
  • Log Custom Objects
  • Colored Logging
  • select()
  • Document Code
  • Use std::format (C++20) used fmt

About

This is my take on a web server written from scratch

Topics

Resources

Stars

Watchers

Forks