I made this as a challenge to learn golang. If you ever wanted to make memes without having to use those pesky GUI tools, there you go! The only dependency is lmageMagick and the windows version comes batteries-included.
Now to just have another tool that randomly selects a template and one which randomly generates a phrase. Run it 200 times and send the best ones to your friends
you can write a shell script for that
Piping is the real superpower of CLI.
The beauty of the shell script world. The application they mentioned already exists now, and array of additional ones.
you mean send ALL of them to everyone
Nice creation. I’d recommend packaging the Linux version as
tgz
instead ofzip
, as it’s a default compression on Linux systems and will always store the executable flag. Plus that makes it compatible with Github Application Managers likegam
.i think the
.tar.gz
extension is more common than.tgz
More common, but… more better? Some HTML libraries still improperly rename
tar.gz
files when they pre-exist, and it’s more characters to type.
Nice, but it really only expands the image at the top and puts text above, rather than doing the classic Top Text / Bottom Text over the image.
It can be done, but the goal of this app was to reproduce the classic top caption memes in a single command. I might add more features like the one you’re talking about.
That would be awesome!
I actually ended up adding it today
Nice one!
Thanks OP! This seems helpful but it also seems you would need to have a folder with a bunch of templates in it already.
Does anyone know a place where I could download a ton of templates all at once?
EDIT: I was able to grab about 60 or so images, manually. They’re very low res though - like 250x200px - but something to play around with.
I actually wanted to add a template command to fetch some templates, I’m not sure if there’s a good source though.
If there were simple web LLM picture gens you can fetch or run locally without too much of a hustle, it could’ve been nice to pass them a prompt and use the result as a template with an option to save it separately for next memes.
God damn it
Hey, I’m learning Golang too! I’m gonna check this out. Really cool idea.
Cool and practical!
That’s nice, always wanted to have some cli tool for making memes. Features I’d like
- Write the text on top of the image, not above it (already asked by others)
- add a third parameter to be able to add a bottom caption
- maybe it would be cool to ship with assets of the most known meme templates, either baked in or just as an additional folder, or maybe an online api, lol.
Nice! I’ve found this useful btw https://github.com/golang-standards/project-layout
Not mandatory but I found it helpful