add log and remove notes

This commit is contained in:
2025-04-29 18:40:20 +02:00
parent 26f290357d
commit 97db6c54e7
19 changed files with 71 additions and 1231 deletions

View File

@@ -1,15 +1,14 @@
# cws
A minimal web server written in C. This is a personal project; it is not intended to be a production-ready tool, nor
will it ever be. Use it at your own risk.
A minimal web server. This is a personal project; it is not intended to be a production-ready tool, nor will it ever be. Use it at your own risk.
## Requirements
- [meson](https://mesonbuild.com/index.html)
- [doxygen](https://www.doxygen.nl/)
- Optional, just to build the docs.
- libcyaml
- libyaml
- [doxygen](https://www.doxygen.nl/)
- Optional, just to build the docs.
## How to build
@@ -24,7 +23,6 @@ And then run `cws`!
## Docs
```bash
# inside the cws directory
$ git submodule update --init
$ doxygen
```
@@ -33,23 +31,14 @@ And then open the `docs/html/index.html`.
## Roadmap
- [x] Understanding basic web server concepts
- [x] Basic server
- [ ] CLI args
- [ ] Enhance web server
- [ ] IPv6 compatible
- [ ] Request parser
- [x] Serve static files
- [ ] Implement Keep-Alive
- [ ] Multithreading to handle concurrent requests
- [ ] Logging
- [ ] Advanced Features
- [ ] HTTPS support with TLS
- [ ] Compression (Gzip)
- [ ] Support for virtual hosting
- Request parser
- Implement Keep-Alive
- Support for virtual hosting
- HTTPS support with TLS
## Resources
- [Beej's Guide to Network Programming](https://beej.us/guide/bgnet/)
You can find my journey inside the `notes` directory.
## Future
- CLI args
- IPv6 compatible
- Multithreading to handle concurrent requests
- Logging
- Compression (Gzip)