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.

  • DreamButt
    link
    fedilink
    English
    235 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

  • fmstrat
    link
    fedilink
    English
    205 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 [he/they]
      link
      English
      35 months ago

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

      • fmstrat
        link
        fedilink
        English
        15 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
    link
    fedilink
    English
    155 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.

  • @perishthethought@lemm.ee
    link
    fedilink
    English
    13
    edit-2
    5 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.worldOP
      link
      fedilink
      55 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.

      • Андрей Быдло
        link
        fedilink
        15 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.

  • EtzBetz
    link
    fedilink
    25 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.