2025-05-22 12:06:53 +02:00
2025-04-10 13:56:28 +02:00
2025-05-22 12:06:53 +02:00
2025-05-16 16:00:05 +02:00
2025-05-16 15:59:43 +02:00

Installing

python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Execute

To start a local http server in the dist folder you can simply do:

python3 -m http.server 1312

Then visit localhost:1312

# build it normally
stsg

# start a hot reload server
stsg_dev

build favicon

cd src/static/assets
inkscape -w 16 -h 16 -o 16.png logo.svg
inkscape -w 32 -h 32 -o 32.png logo.svg
inkscape -w 48 -h 48 -o 48.png logo.svg

convert 16.png 32.png 48.png ../icon.ico
Description
This is the Static Translated Site Generator. You can build very easily a static site with markdown with multiple translations, and it will transform it in static site with translations everyone should be able to navigate.
Readme 699 KiB
Languages
Python 85.7%
HTML 13.9%
CSS 0.4%