mejiro-cli - A Tiny Blog Management CLI

TL;DR

I’ve built a tiny Markdown-based blog management CLI: πŸ‘‰ GitHub - tsugumi-sys/mejiro

mejiro-cli is a tiny blog management CLI tool. It’s inspired by the mejiro, a small bird in Japan. Use it to manage a personal blog: create posts and compile Markdown into static HTML.

This blog itself is built with mejiro.

mejiro

Motivation

I needed a simple blog app. I didn’t want complex configurations, just a tool to write blog posts in Markdown and manage them easily. That’s why I built mejiro-cli.

Basic usage

You create and manage posts using the CLI. Metadata is directly in the Markdown files, so you can edit everything in one place. When you’re ready, compile your posts into static HTML that’s easy to deploy anywhere.

Initialize your blog:

mejiro-cli init

Create a new post:

mejiro-cli new

Compile posts to HTML:

mejiro-cli compile

Then, all assets are stored in ./public folder. You can host everywhere.

Example:

public/
β”œβ”€β”€ index.html
β”œβ”€β”€ images/
β”œβ”€β”€ posts/
β”‚   └── post1.html
β”œβ”€β”€ wasm-pkg-for-search/
β”œβ”€β”€ style.css
└── icon.png