Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amy-keibler/blog-opengraph-image


https://github.com/amy-keibler/blog-opengraph-image

Last synced: about 19 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Blog Image

A companion tool for generating [OpenGraph](https://ogp.me/) compatible images for [Zola](https://www.getzola.org/) static websites.

Given a filepath to a markdown document that is formatted for use in `zola`, the tool generates a `.png` file with the same name in the same folder.

The `title` and `tags` fields from the header section (the section surrounded with `+++`) are used, but the tool will be customized in the future to include the ability to overwrite the `title` and pull in additional fields.

The `tags` are used to see if any custom backgrounds should be used, with a fallback of a default random bubbles background. Right now, `rust` fills the background with Ferris images.

Currently, this is heavily customized to [my blog](https://blog.amy-k.net/)'s use-case.