Create Blog Script
ยท One min read
I created a script to create a blog post!
Update (May 23, 2022): createBlog.js
is now published as an npm package!
It's not very useful since you'd still have to deploy it through your local dev machine, but at least you won't have to copy-paste existing Markdown files anymore.
[chrlz@mini ~/.../thyck.top]$ pnpm blog
> [email protected] blog ~/.../thyck.top
> ./scripts/createBlog.js
โ Who is creating this blog? โบ cbebe
โ Title of the blog โฆ Create Blog Script
โ URL slug for the blog โฆ create-blog
โ Pick existing tags โบ thyck, hard
โ List new tags (separated by commas) โฆ script
โ Date of blog โบ May 21 2022
Here's another one with for the biker gang post:
[chrlz@mini ~/.../thyck.top]$ pnpm blog
> [email protected] blog ~/.../thyck.top
> ./scripts/createBlog.js
โ Who is creating this blog? โบ cbebe
โ Title of the blog โฆ Biker Gang 2022
โ URL slug for the blog โฆ biker-gang-2022
โ Pick existing tags โบ biking, biker, gang, butt
โ List new tags (separated by commas) โฆ squat
โ Date of blog โบ May 15 2022