A CLI tool for generaing blog article templates.
- Interactive CLI Interface.
- Generate markdown files with frontmatter.
- Creates directory strucrture for image of blog article.
Will create this file, which you can start with.
---
title: "Title"
description: "Something special"
tags: ["AI", "GO", "Blog"]
pubDate: "Feb 01 2025"
heroImage: "/blog/250201/thumbnail.webp"
---
go install github.com/jahnen/article-generator@latest
- modify your
package.json
(recommend)
{
"scripts": {
"write": "go run github.com/jahnen/article-generator@latest",
"astro": "astro",
// ... other scripts ...
}
}
then run the command in your blog directory
npm run write
or
- run the command in your blog directory:
go run github.com/jahnen/article-generator@latest
- generated gopher image from gopherkon
- go, go mono font from go.googlesource.com
- CLI built with bubbletea