https://github.com/asivery/tinyhttp
A tiny, zero-configuration HTTP server written in C++
https://github.com/asivery/tinyhttp
Last synced: about 1 year ago
JSON representation
A tiny, zero-configuration HTTP server written in C++
- Host: GitHub
- URL: https://github.com/asivery/tinyhttp
- Owner: asivery
- License: gpl-2.0
- Created: 2022-09-19T22:25:31.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-19T22:29:46.000Z (over 3 years ago)
- Last Synced: 2025-02-14T16:02:07.280Z (over 1 year ago)
- Language: C++
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# TinyHTTP - A tiny, static HTTP server
---
## What is it?
I built TinyHTTP as an extremely simple, zero-configuration HTTP server, which should only be used for testing.
Its only job is to serve the files in the server's current working directory.
It is compatible with Linux, Windows and Mac.
## How to use it?
No configuration is required - just launch the file.
The default port the server starts listening on is 8000. It can be overwritten by supplying a different port as the first argument from the command line.
## What is supported?
- Serving files from the current working directory
- MIME type autodetection based on file extensions