The GreenText Generator CLI is a command-line tool built with Go that lets you create classic greentext with ease.
- Customizable Inputs: Write your own green-text stories with ease.
- Thumbnail Support: Add an image to your greentext, or don't if you're feeling minimalist.
- Support for External Thumbnails: Use image URLs as thumbnails for your greentext.
- Customizable Colors: Set background and text colors using HEX codes.
- Dynamic Font Options: Choose your preferred font and size.
- Fast and Lightweight: Powered by Go, because performance matters even when making memes.
- Formatted Output: Saves greentext as beautifully formatted PNGs, JPGs, JPEGs, and WEBPs ready for sharing.
-
Add the tap:
brew tap jasonuc/greentext
-
Install the CLI:
brew install greentext
-
Install Go if not already installed.
-
Install the CLI directly:
go install github.com/jasonuc/greentext@latest
Or clone and build:
git clone https://github.com/jasonuc/greentext.git cd greentext go build -o bin/greentext .
-
Run the tool:
bin/greentext -h
greentext -l 13 -t https://wojakdb.com/data/posts/3571_9009cb2dd906dccb.png -o example.png
-l
: Number of lines in the greentext.-t
: Thumbnail image path or URL (optional).-o
: Output file name.
-b
: Background color (e.g.,#FFFFFF
).-c
: Text color (e.g.,#00FF00
).-f
: Font family (e.g.,"Courier New"
).-s
: Font size (e.g.,14
).-i
: Text file with greentext lines.-P
: Preview in browser without saving.
> be me
> buy domain on Vercel for $20
> feeling good about the decision
> couple days later
> Vercel: "lol we're dropping domain prices"
...
Generates:
Contributions are welcome! Open an issue or pull request for ideas or fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy meme-ing! 🚀