Skip to content

Go application to build article template MD file in astro blog

License

Notifications You must be signed in to change notification settings

jahnen/article-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

스크린샷 2025-02-01 오후 9 14 43

article-generator

A CLI tool for generaing blog article templates.

Features

  • Interactive CLI Interface.
  • Generate markdown files with frontmatter.
  • Creates directory strucrture for image of blog article.

article-generator

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"
---

Install

go install github.com/jahnen/article-generator@latest

How to use

  1. 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

  1. run the command in your blog directory:
go run github.com/jahnen/article-generator@latest

Acknowledgement

About

Go application to build article template MD file in astro blog

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages