A tiny Python-authored static site generator with procedural canvas support
Posted by VicksTurtle@reddit | Python | View on Reddit | 2 comments
[This Website](https://pysitegen.ujjwalvivek.com) took 400 lines of python to write. I know it can be written the same in html and done with the day. But some of us really love using yet another framework for the sake of it.
Well, that’s what happened to my partner, who simply have worked in python without much exposure to web technologies. Web intimidated them. Web this. Framework that. Libraries everywhere. So I tried solving this for them by making a python ssg, abstract just enough of the web for it to not become a crutch, a snappy compile/build pipeline, hot reloads, and some other QoL features.
Idk how useful is any of this. I guess if you like writing in python, you’d enjoy this little piece of shit.
Minute_Day_2758@reddit
"Interesting approach with the procedural canvas support! For a 400-line pipeline, a hot reload feature is definitely a massive QoL improvement. Do you plan to add any markdown support next?"
Minute_Day_2758@reddit
"Interesting approach with the procedural canvas support! For a 400-line pipeline, a hot reload feature is definitely a massive QoL improvement. Do you plan to add any markdown support next?" (Переклад: Цікавий підхід із підтримкою процедурного canvas! Для пайплайну на 400 рядків функція hot reload — це безумовно величезне покращення життя. Плануєш далі додати підтримку markdown?)