Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 851 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 851 Bytes

TinyServer

This is a simple static HTTP web server written in Python

It provides minimal HTTP server to serve simple HTML pages

Features

  • Content Cahing
  • Gzip compression
  • No dependencies!
  • Native TLS encryption #TODO
  • Diretory listing #TODO
  • Byte-serving for large files #TODO

Screenshots

TinyServer in action alt text

alt text

Default 404 Page alt text

Usage

It serves HTML pages. At least one .hmtl file should be in the current directory.

If no specified filename is given in URL then it will serve index.html.

Start the server in specified port.

python main.py 8888

Start the server in default port 5000

python main.py

This server is for serving static files only. Not for production use cases