139
submitted 9 months ago by Fredol@lemmy.world to c/linux@lemmy.ml

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.

top 21 comments
sorted by: hot top controversial new old
[-] tdawg@lemmy.world 23 points 9 months ago

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

[-] Aatube@kbin.social 14 points 9 months ago

you can write a shell script for that

[-] stepanzak@iusearchlinux.fyi 6 points 9 months ago

Piping is the real superpower of CLI.

[-] matcha_addict@lemy.lol 1 points 9 months ago

The beauty of the shell script world. The application they mentioned already exists now, and array of additional ones.

[-] Zachariah@lemmy.world 11 points 9 months ago

you mean send ALL of them to everyone

[-] fmstrat@lemmy.nowsci.com 20 points 9 months ago

Nice creation. I'd recommend packaging the Linux version as tgz instead of zip, 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 like gam.

[-] callyral@pawb.social 3 points 9 months ago

i think the .tar.gz extension is more common than .tgz

[-] fmstrat@lemmy.nowsci.com 1 points 9 months ago

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.

[-] TWeaK@lemm.ee 15 points 9 months ago

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.

[-] Fredol@lemmy.world 17 points 9 months ago

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.

[-] TWeaK@lemm.ee 9 points 9 months ago
[-] Fredol@lemmy.world 2 points 9 months ago

I actually ended up adding it today

[-] TWeaK@lemm.ee 1 points 9 months ago
[-] perishthethought@lemm.ee 13 points 9 months ago* (last edited 9 months ago)

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.

https://filetransfer.io/data-package/y089cuJF#link

[-] Fredol@lemmy.world 5 points 9 months ago

I actually wanted to add a template command to fetch some templates, I'm not sure if there's a good source though.

[-] andrew_bidlaw@sh.itjust.works 1 points 9 months ago

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.

[-] delirious_owl@discuss.online 8 points 9 months ago

God damn it

[-] orca@orcas.enjoying.yachts 6 points 9 months ago

Hey, I’m learning Golang too! I’m gonna check this out. Really cool idea.

[-] br4b0@lemmy.eco.br 3 points 9 months ago

Cool and practical!

[-] ashley@lemmy.ca 2 points 9 months ago

Nice! I’ve found this useful btw https://github.com/golang-standards/project-layout

Not mandatory but I found it helpful

[-] EtzBetz@feddit.de 2 points 9 months ago

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.
this post was submitted on 08 Feb 2024
139 points (93.7% liked)

Linux

48376 readers
980 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS