LocalWeb is a minimal localhost HTTP server written in Python.
It is essentially a small Python wrapper around:
python -m http.server 8080 --bind 127.0.0.1
- Python 3
- No external dependencies
Clone the repository:
git clone https://github.com/YOUR_USERNAME/localweb.git
cd localweb
Start the server:
python lib/localweb.py
On Windows, you can also use:
py lib/localweb.py
Then open:
http://127.0.0.1:8080/
Press Ctrl+C to stop the server.
LocalWeb binds to 127.0.0.1 by default.
The HTTP server is therefore accessible only from the local machine and is intended for development, testing, and temporary local file serving.
See LICENSE.