Create Simple Quotes images with Square Size for Social Media Posts and Status.
- 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
andFonts
folder - image name must be in
quotes.png
and size1080x1080
- same as for Font file
fonts.ttf
(Just rename your font file) - For Unicode support, your font must be supported Unicode texts and emojis
- 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
- Go Graphics - https://github.com/fogleman/gg
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
MIT