ogi

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2021 License: MIT Imports: 13 Imported by: 0

README

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" \
  > output.png

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

Sample output

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL