Banbu, the Banner Builder

This code was extracted from the Code Maven SSG.

The goal is to create a library that will make it easy to create various simple banners for YouTube, Meetup, and also for the Code Maven SSG.

There is a way to use this as a command line tool:

Examples

Hello World

examples/hello_world.yaml

---
width: 1000
height: 500
text: Hello World!

banbu site/examples/hello_world.yaml hello_world.png

YouTube Thumbnail

{% include file="examples/youtube_thumbnail_text_background.yaml" %}

Wrap long text

{% include file="examples/wrap_text.yaml" %}

Banners generated by DEV.to are 1000x500 pixel

Some other banners I saw on Facebook and LinkedIn:

  • 1000x500
  • 800x400
  • 500x300