2024-11-26 17:16:04 +01:00
2024-11-26 17:16:04 +01:00
2024-11-10 18:56:52 +01:00
2024-11-14 22:42:29 +01:00
2024-11-26 17:32:33 +01:00
2024-11-26 17:32:33 +01:00
2024-11-26 17:16:04 +01:00
2024-11-11 00:50:39 +01:00
2024-11-26 17:32:33 +01:00
2024-11-10 18:56:52 +01:00
2024-11-10 18:56:52 +01:00
2024-11-08 17:30:06 +01:00
2024-11-26 17:16:04 +01:00
2024-11-26 17:16:04 +01:00

cws

A simple Web Server written in C (learning purposes), it works only on Linux systems.

Requirements

How to build

$ meson setup build
$ cd build
$ meson compile

And then run cws!

Docs

$ git submodule update --init # inside the cws directory
$ doxygen

And then open the docs/html/index.html.

Roadmap

  • Understading basic web server concepts
  • Basic server
  • CLI args
  • Enhance web server
    • IPv6 compatible
    • Request parser (methods and headers)
    • Serve static files
    • Multithreading (non blocking I/O with epoll)
    • Logging
  • Advanced
    • HTTPS support
    • Caching

Resources

You can find my journey inside the notes directory!

Description
A minimal Web Server (gh mirror)
Readme GPL-3.0 572 KiB
Languages
C 71.6%
HTML 26.5%
Meson 1.9%