I really wanted to focus on writing content and developing unique content rather than fuss with “solved problems” like blogging platforms. I even briefly played with Squarespace but was underwhelmed by their template selection and overwhelmed by their control panel. I didn’t want to have my content look like everyone else that uses Octopress.
I just wanted a few simple features:
- Markdown posts
- Drag-and-drop image uploading
- Code snippet support with syntax highlighting
- Unique, simple, lightweight, and responsive design that focuses on content
So I did what any web programmer would do… against my better judgement I’ve decided to build my own blog engine:
- Rails 4 / Ruby 2
- Slim for templates
- Redcarpet for parsing Markdown
- stringex for URL slug generation
- sqlite3 for storage (for now, I may migrate to an PostgreSQL or ElasticSearch backend)
- pygments.rb for syntax highlighting
Why Write Your Own Blog App? Why Rails?
Sure, Rails is probably overkill for this. But its a known quantity. It actually started when I just wanted to experiment with HTML and render some Scss. It wasn’t long after I found myself saying “I’ll just add a Post model”, and finally a had my own “blog engine”.
It’s rather specific at the moment and doesn’t really offer much in terms of groundbreaking functionality. After the code settles a bit, I’d like to clean it up and release it.