Lektor is a static content management system. Quote from their website:
[Lektor is a] flexible and powerful static content management system for building complex and beautiful websites out of flat files — for people who do not want to make a compromise between a CMS and a static blog engine.
Since the only officially recommended way to install it on GNU/Linux distros right now is by using an install script, I thought I’d try to create a snap package for it
The snap package is called lektor
and is released to the edge channel:
snap install --edge lektor
Using lektor --help
you can find out more about the available commands.
To create a new project, run lektor quickstart
. Note that the snap only has access to your home directory, so you need to create your projects there.
Test a project by running lektor server
from the project directory. This will run a local server at http://127.0.0.1:5000/
allowing you test the website. You can even use Lektor’s admin web interface at http://127.0.0.1:5000/admin
to manage your site.
Lektor can also be extended using plugins. Please refer to the Lektor documentation for more information.
A known issue is that the “Browse in filesystem” button in the admin web interface is not working yet because of snapd-xdg-open
limitations.
I didn’t test the deploy functionality (yet). If you do, please tell me about your experience below! In general, please report any issues you find here or on GitHub. Thanks!