3 ms·
I think about this a lot. When I build a project, I want it to be as low maintenance as possible. So that even if it never becomes a big commercial success, I
by mg 4y ago
I think about this a lot.
When I build a project, I want it to be as low maintenance as possible. So that even if it never becomes a big commercial success, I can keep it running indefinitely.
The approach I took for my latest project is that I wrote a new static site generator in Python. I could have used Jekyll or something, but all static site generators I tried are much too complex for my liking.
Some of the characteristics of my generator are:
# File based
The content, templates and assets are stored as files on disk. No database is involved.
# Single script
Turning templates, content and assets into a website is not a complex thing. Basically it just means some templating of the content according to the templates. The python script I wrote for it is around 200 lines of code and offers me all the flexibility I need.
The html files it outputs stand a good chance to still function in 2053, just like info.cern.ch still functions today.
Will the Python script still function in 2053? Maybe not with the Python interpreters that ship with the OS, but it will probably still be possible to get a python 3 interpreter.
And it will probably not take more than a few hours to update it to Python 17 or whatever is the current version then.