😳 😳 🤖 😳
Blog Content Management System for your Command-Line Interface
Blog-o-Matic connects your markdown-editing software to your chosen method of blog distribution with as little friction as possible. I made this so that I can have this process:
- Write a markdown blog post on my computer or on my phone
- Sync edits between my devices via iCloud
- Have a 1-step publish process from my computer to my blog
Blog-o-Matic fills the 3rd step of that process. It takes my blog posts as source, optimizes images into multiple sizes for speed and progressive loading, parses markdown into various formats, minifies and compresses where useful, and uploads the results to S3. I currently use Blog-o-Matic to power my blog, running on bpev.me.
You'll want to download Blog-o-Matic as a global dependency. They we can initialize a blog, where you'll be prompted by a few options:
npm install -g blog-o-matic # Installs our `blog` bin blog init # Generate a blog
Now there are a few different commands we can use:
||Generate Markdown for a blog post|
||Serve the blog, and open it as a local website|
||Publish the blog, using the selected publisher|
Currently, only the basics of these commands work. As more options are added, more docs will be added.
We use Yarn to handle dependencies
npm install -g yarn yarn install yarn start
Blog-o-Matic should now be linked as a global npm binary
I'm mostly focusing on the cli tool at the moment, but if you want to contribute, let me know what piece of Blog-o-Matic you're interested in, and I can start making issues that are a little more organized that you can tackle.