Skip to content

Create Simple Quotes images with Square Size for Social Media Posts and Status - Build using golang

License

Notifications You must be signed in to change notification settings

mskian/go-image-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go image Text

test

Create Simple Quotes images with Square Size for Social Media Posts and Status.

go image Text

Usage

  • Download or clone the repo
https://github.com/mskian/go-image-text.git
cd go-image-text
  • Execute the Script
go run create.go -h
  • create a Quotes
go run create.go -q "Always do your best. What you plant now, you will harvest later."
  • you can replace the font and image with yours in Images and Fonts folder
  • image name must be in quotes.png and size 1080x1080
  • same as for Font file fonts.ttf (Just rename your font file)
  • For Unicode support, your font must be supported Unicode texts and emojis

Build Package

  • Run Make file to build a package for your Systems
  • Use this Script as CLI
  • After Building the Package Just Rename the Package to quotes
  • Give Execute Permission and Run the CLI
make build && make package-zip
## Create Specific Folder for Quotes CLI and store Generated Quotes

mkdir quotes
cd quotes

## Unzip the Build Package

unzip quotes-linux-amd64.zip

## Rename the file

mv quotes-linux-amd64.zip mv quotes

## Give Execute Permission

chmod +x quotes

## Create Quotes image

quotes -q "Always do your best. What you plant now, you will harvest later."
  • Clean Build Packages
make clean

API

Packges Build for

Linux, Apple, Windows and Android - /makefile

  • Linux-386
  • Linux-arm-7
  • Linux-amd64
  • Linux-arm64
  • Andriod-arm64
  • windows-386
  • windows-amd64
  • darwin-amd64
  • darwin-arm64

LICENSE

MIT

About

Create Simple Quotes images with Square Size for Social Media Posts and Status - Build using golang

Topics

Resources

License

Stars

Watchers

Forks