Writing a Lektor publisher plugin
Lektor is a new static site generator which was developed by Armin Ronacher. Armin has written a lot of Python software I really love, particularly Flask. I’ve always been impressed with his careful eye for API design and the excellent quality of his code, so when he released Lektor a few days ago, I was really interested.
I wanted to use Lektor for the website you’re reading right now, but I host it on S3, which isn’t natively supported by Lektor as a deployment target.
Fortunately, there was a clear way forward: Lektor comes with a plugin system which is intended to help developers add functionality to Lektor without requiring the core codebase to sprawl too much. It’s a good model and it’s worked well with Flask; I think it’ll serve Lektor quite well too.
I wrote lektor-s3, which to my knowledge is the first published third-party plugin for Lektor.……