3 ms·
I'm predominantly working on an easier system to post new content to a blog. I still have a wordpress site, but it was starting to feel bloated and required too
by vunderba 2y ago
I'm predominantly working on an easier system to post new content to a blog. I still have a wordpress site, but it was starting to feel bloated and required too much effort to maintain, keep the plugins updated, backup the MySQL database, etc.
I wanted to have more end-to-end control over everything, so I decided to switch to a static site generator (Pelican). But I was looking to develop a turnkey solution so I could post to my blog directly from Obsidian using a custom plugin that runs directly inside it.
With one click of a button, my markdown note is converted/formatted and all the image assets are compressed into optimal WebP format. All of that is then handed off to Pelican, a static site generator which combines it with a custom theme, and creates a set of exportable HTML files. These files are then pushed to my GitHub repo. From there, a GitHub runner takes over, copies the new article onto my VPS, and then everything is instantly refreshed on my website.
It's less about the overall aesthetic—because I know the site looks like hot garbage—and more about a frictionless experience for posting new content.
The first test of the POC was an article about building the entire system.
https://mordenstar.com/blog/obsidian-to-pelican-exporter https://mordenstar.com/blog/obsidian-to-pelican-exporter
- xwowsersx 2y agoHadn't heard of Pelican. Looks pretty good. I'm also looking to move away from WP. I use Obsidian as well so your blog post is really helpful. Do you have examples of what Pelican sites look like out of the box? I can't seem to find any examples to get an idea of what things will look like...or is that entirely up to me?
- vunderba 2y agoGlad it was helpful for you. I honestly chose pelican over other static site generators like Hugo or Jekyll because it's written in python, a language that I'm very comfortable with. Mordenstar is using a slightly modified version of the octopress theme. They also have a gallery of some of the themes that you can use: https://pelicanthemes.com https://pelicanthemes.com The creator of pelican is very responsive on GitHub as well.
- xwowsersx 2y agoThanks! Yeah, I'm proficient in Python as well so that is very appealing. Thanks for the link. The docs had a themes section, but I didn't see a link to preview them.