https://github.com/bl0nder/http-server
A simple HTTP webserver in C
https://github.com/bl0nder/http-server
c http-server socket-programming
Last synced: about 1 month ago
JSON representation
A simple HTTP webserver in C
- Host: GitHub
- URL: https://github.com/bl0nder/http-server
- Owner: bl0nder
- Created: 2025-01-06T21:07:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-17T10:10:40.000Z (over 1 year ago)
- Last Synced: 2025-12-13T01:33:07.648Z (7 months ago)
- Topics: c, http-server, socket-programming
- Language: C
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌐 HTTP Server in C
A simple webserver in C.
Compile:
```bash
gcc http_server.c -o http_server
```
Run:
```bash
./http_server [port]
```
Go to `127.0.0.1:port/test` for a simple webpage being served. Any other route (including `127.0.0.1:port/`) will return a `404: Page not found`.