| .gitignore | add source and build script | |
| build.sh | add source and build script | |
| LICENSE | Initial commit | |
| README.md | update readme | |
| screenshot.png | update readme | |
| tinywebserver.py | add source and build script | |
Tiny Web Server
A local web server that is very small (in size and features) for serving files via HTTP.
Purpose
Tiny Web Server is useful for development and local testing, for example when working with static websites. While it is possible to just open an HTML file in the browser (file://), it is not possible to have JavaScript load resources (even locally!) for security reasons. Accessing the same HTML file via a web server (http:// or https://) solves this problem. Tiny Web Server allows you to do that.
Warning
Please note: This web server only provides HTTP (the "S" in HTTPS is for "Secure"). Only use this web server for local testing and development, but never in an untrusted environment.
Download
Download from the Releases page. Available for Windows and Linux.
Using
Start the program, select the directory you want to serve via HTTP, and click start. That's it.
You can change the port number, if you like (default 8080).
Other notes
Files will be served on localhost and IPv4 only.
This is basically a graphical interface for python -m http.server -d <dir> <port>.
License
GNU Affero General Public License (AGPL) version 3 or later