@febog/ogp-image-generator
v1.2.2
Published
Open Graph Protocol image generator for my personal blog.
Maintainers
Readme
Open Graph Image generator
Open Graph Protocol image generator for my personal blog.
This script generates an open graph PNG image file for my personal blog for the given title and date.
Installation
npm install -g @febog/ogp-image-generatorUsage
Set the required options title, date and filename. You can change the site name with the optional argument site.
Example:
ogp-image-gen -t 'Hello world!' -d 'March 12th, 2026' -f 'my-image'Options
Options:
-t, --title Blog post title [string] [required]
-d, --date Date of the blog post i.e. March 2nd, 2026 [string] [required]
-f, --filename File name for the PNG i.e. my-image [string] [required]
-s, --site Site name [string] [default: "febog"]
--version Show version number [boolean]
--help Show help [boolean]Output
The generated PNG image will be located under images/.
Sample image
The script will generate an image as follows:

