All Projects → storybookjs → shout-out-kit

storybookjs / shout-out-kit

Licence: MIT license
An image generation API template

Programming Languages

javascript
184084 projects - #8 most used programming language
Makefile
30231 projects
HTML
75241 projects

Shout-out Generator Kit

A shout-out image generation API template.

It generates an image with a thank you message and a contour background. Each contour is unique and derived from the username.

image demo

Usage

Deploy to Netlify

Click on the Deploy to Netlify button above to create your own site directly and push this repository to your own account.

Once deployed, try navigating to https://your_app.netlify.app/image?id=GITHUB_USERNAME.

Architecture

The whole thing is powered by an image generation API. The shout-out image is implemented as a React component. A Netlify Functions handles the requests, spins-up a headless browser with Playwright to screenshot the DOM 📸 And returns an image.

shout-out-generator-workflow

It's a pared back version of Christopher Biscardi's wonderful Building an OpenGraph image generation API course.

The build setup is configured via the Makefile.

Run it locally

$ cd image-component
$ npm i
$ npm run storybook
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].