Skip to content
/ ogi Public

A tool to generate social media images with a geopattern background.

License

Notifications You must be signed in to change notification settings

soulim/ogi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ogi

ogi (open graph image) is a tool that generates social media images with a geopattern background.

Install

$ go get github.com/soulim/ogi

Usage

$ ogi --text="Hello, world." \
      --note="https://www.example.com" \
      --width=1200 \
      --height=628 \
      --pattern="nested-squares" \
  > cover.png

The command above created cover.png file with the following image:

Example

See more examples in docs/examples directory.

NOTE: The color of the background depends on the value of the text option. This value is used a seed for color generation. In other words, each text has it's own color.

Credits

Thank you everyone for making ogi possible!

Contributing

PRs accepted.

License

MIT © Alexander Sulim

About

A tool to generate social media images with a geopattern background.

Topics

Resources

License

Stars

Watchers

Forks