Skip to content

sophiabrandt/go-generate-social-banners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-generate-social-banners

go-generate-social-banners is a Go program that automatically generates social media images.

The project applies the idea from these two blog posts:

Installation

  1. You need Go on your machine. Then clone the repository:

    git clone https://github.com/sophiabrandt/go-generate-social-banners.git
  2. Build binary:

    cd go-generate-social-banners
    go build -o go-generate-social-banners

Usage

./go-generate-social-banners -h

>
Usage of go-generate-social-banners:
-d string
      Default Text (domain name) (default "https://www.rockyourcode.com")
-i string
      Path to background image to generate banner from (default "./background.jpg")
-o string
      Full path of the image to generate (default "./social-media-banner.png")
-t string
      Title (default "Programmatically generate social media images in Go")

Example image (1000x420px):

example image

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Automatically generate social media images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages