I decided to rebuild my personal website. In doing so, I built a blog engine that I call Dragon.
All posts are written in Google Drive (If you're curious about what generated this post, click here).
When I log in, the blog checks my blog folder for new posts and updates the blog with those posts. It's using a Markdown engine, making it super easy for me to write and edit posts. I'm still getting used to Dragon myself, but I'm liking it so far.
I've tried blog engines like Wordpress, but was never completely satisfied.
I have always been frustrated with blogging for a few small (yet key) issues:
I wanted a certain set of features for my blog engine:
Also, something I've always been frustrated by as a coder is the inability to nicely add code into a Google doc. Using Markdown, I could solve this problem:
def add(x,y): return x + y
I write my posts entirely in Google Drive, using Markdown. The posts live under a folder for my blog posts.
During the editing process, I visit my own "admin panel" at rm -rf /. Using my Google authentication, it polls the blog folder for unadded posts and updates any new or unpublished posts.
The admin panel where I manage new posts |
Finally, when I'm happy with the post, I hit "publish." The published posts come with a comment section from Disqus and with style that I've added for all posts on the site.
<br />
to create blank lines; Python-Markdown's nl2br
package doesn't seem to cut it).Special thanks to the awesome technology that helped me build this engine:
If you'd like to checkout the source, please check out https://github.com/akivab/dragon