| Crates.io | crablog |
| lib.rs | crablog |
| version | 0.1.0 |
| created_at | 2025-11-25 22:06:12.668146+00 |
| updated_at | 2025-11-25 22:06:12.668146+00 |
| description | A simple tool for writing a blog |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1950513 |
| size | 52,655 |
This is a simple command-line tool to assist with writing blogs.
CraBlog lets you write blogposts in MarkDown, a simple markup language used all over the internet. From there, it lets you use a single command to transform those MarkDown files into an HTML file (with templating provided by Minijinja) and into an Atom feed.
First, initialize a directory using crablog init.
$ crablog init --author "Your Name Here"
This will create a crablog.toml file, which will contain configuration options and allow you to customize your feeds.
To create a post, first write up a simple markdown file:
# My First Blogpost!
This is my first blogpost using CraBlog!
Then, use crablog post to render this markdown file into an HTML file, and add it to your Atom feed.
$ crablog post --md my_first_blogpost.md --title "My First Blogpost!" --feed my_feed
A: Theoretically yes, but making a custom one allowed me to tailor it to my specific needs.
A: Minijinja is a templating language, meaning you can use it to modify a text file with dynamically-loaded data. There are several templating languages available for Rust, but Minijinja was picked for a few reasons: