Game development and more

Static blog generator released

Finally, I've released the software I use to make this blog. It is a simple static site generator written in Python.

You can download it here https://github.com/rasmaxim/static-blog-generator.

The drafts are written in Markdown language, then the script is run to generate HTML files. Then I just upload the files to the server. Since it's just html, css, javascript and some images, any hosting will do. It doesn't require any server-side scripts to run.

Initially, I used wheezy.templates as the templating engine. But its syntax was too uncomfortable to use. "If I want someone else to use this software, I need to change the templating engine" —, I had thought. So I changed it to Jinja2.

Also, I removed a lot of useless classes and abstractions. As a result, my script has only ~400 lines of Python code and only one class.


Share Back to main