2025-04-13 13:27:58 +02:00
2025-03-04 23:15:55 +01:00
2025-03-04 23:26:36 +01:00
2025-03-04 23:26:36 +01:00
2025-03-04 23:15:55 +01:00
2025-04-13 13:27:58 +02:00
2025-04-13 13:27:58 +02:00

PyWebServer

Installing

Installing and running PyWebServer is very simple.
Assuming you're running Linux:

git clone https://git.novacow.ch/Nova/PyWebServer.git
cd ./PyWebServer/

Windows users, make sure you have installed Git, from there:

git clone https://git.novacow.ch/Nova/PyWebServer.git
Set-Location .\PyWebServer\

From here, you should check from what directory you want to store the content in.
In this example, we'll use ./html/ (or .\html\ for Windows users) from the perspective of the PyWebServer root dir.
To create this directory, do this:

mkdir ./html/

(This applies to both Windows and Linux)
Then, open pywebsrv.conf in your favorite text editor and change the directory key to the full path to the ./html/ you just created.
After that, put your files in and run this: Linux:

python3 /path/to/pywebsrv.py

Windows:

# If you have installed Python via the Microsoft Store:
python3 \path\to\pywebsrv.py
# Via the python.org website:
py \path\to\pywebsrv.py

SSL Support

Currently PyWebServer warns about AutoCertGen not being installed. AutoCertGen currently is very unstable at the moment,

Description
No description provided
Readme GPL-3.0 144 KiB
v1.3.0 Latest
2025-07-22 16:37:18 +02:00
Languages
Python 97.8%
HTML 2.2%