Skip to main content

generates og image for the binx.io blog

Project description

Binx image generator

The binx-og-image-generator is a tool to generate images for your blog.

Usage: binx-og-image-generator [OPTIONS] IMAGE

  generate an og image for blog

Options:
  --title TEXT     of the blog  [required]
  --subtitle TEXT  of the blog  [required]
  --author TEXT    of the blog  [required]
  --output TEXT    filename of the image  [required]
  --help           Show this message and exit.

To generate an images, type:

docker run --rm \
    -v $PWD:$PWD \
    -w $PWD \
    ghcr.io/binxio/og-image-generator \
    --title "foo" \
    --subtitle "bar" \
    --author "binx consultant" \
    ./banner.jpg

The generated image can be found in your current directory and is named og-banner.jpg.

Pipenv

If you which to install the binx-og-image-generator on your host machine follow these steps.

Prerequisites

  • Python 3.9
  • Pipenv

Steps to use the OG Image Generator

  • pip install pipenv
  • pipenv shell
  • pipenv install
  • binx-og-image-generator --title "foo" --subtitle "bar" --author "binx consultant" banner.jpg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

binx-og-image-generator-0.5.0.tar.gz (2.1 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page