A New Way of Blogging
Monday, January 2nd 2017, 10:40:49 pm
It’s been a while since I wrote a blog post. Why? Well on the one hand, I’ve had a shortage of free time. On the other, I’ve spent way too much time configuring and dealing with random blogging platforms without really getting the things I want out of them:
- The ability to write in Markdown.
- Simple syntax highlighting for code.
- Manage my own post data using the file system.
- Use modern web development tools to build.
- Easy to publish from a bash terminal.
These factors have made blogging just not feel very fun to me over the past few years. However, over this past winter holiday, I decided to spend a few of my vacation days building my own platform with all of the above features.
This very post is in fact, written in pure markdown. It also supports:
var msgArray = ["easy", "syntax", "highlighting"].join(" ");
As for the data itself, the entire system doesn’t require databases or a backend. It uses the file system and compiles markdown (as well as ES6, stylus, etc.) to plain static assets using modern build tools like webpack.
Best of all, I can publish from the terminal with a simple:
$ npm run build
$ git commit -m "Added a new post!"
$ git push origin master
So yeah, this new website is still a work in progress, but more posts and updates to come.
Written by Omar Delarosa who lives in Brooklyn and builds things using computers.