web development Tales


New project: yet another [almost pure Python] image optimizer

New project: yet another [almost pure Python] image optimizer

When you want or need a custom tool and you can’t find it, you have two options: you either buy one (or ask someone to build it for you), or you make your own and do the best you can to make it work for you. This week, I decided to start building my own (almost pure Python) utility to optimize images for the web.
Reading time: 3 minutes
Enabling the pelican-minify plugin in Pythonista (iOS)

Enabling the pelican-minify plugin in Pythonista (iOS)

When I started this blog, I had a few technical requirements in mind. First of all, I wanted the whole static website build process to be based on Python and to be reproducible both on desktop and on iOS. So, I was very glad to find out I was able to pip install pelican and a few of its dependencies in Pythonista, using StaSh, and get my iPhone to process a bunch of Markdown formatted text files. But then I went on to add features and optimizations that required Pelican plugins. And soon I would get into trouble…
Reading time: 4 minutes