Skip to content

rahulbakale/meta-image-generator

Repository files navigation

Meta Image Generator

Generates images that can be used in <meta> tags of web pages.

1. Installation

  1. Clone this repository.

  2. Create a symlink that links to the package.

    $ cd meta-image-generator
    
    $ npm link

2. Usage

  1. Generate an image.

    $ cd meta-image-generator
    
    $ create-meta-image \
        --title 'Covariance and Contravariance in Generic Programming' \
        --subtitle 'Tech Blog' \
        --author 'Rahul Bakale' \
        --date '2018-09-27' \
        --graphic 'examples/input-avatar.png' \
        --output '/tmp/output.png'

This will generate the following image:

output

3. Uninstallation

  1. Delete the symlink that links to the package.

    $ cd meta-image-generator
    
    $ npm unlink
  2. Delete the repository clone.

4. Attribution

examples/input-avatar.png image was downloaded from Pixabay. At the time this image was downloaded, Pixabay license allowed free usage without attribution.

About

Generates images that can be used in <meta> tags of web pages.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors