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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址