• Stars
    star
    290
  • Rank 142,981 (Top 3 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A command line utility for creating memes

Meme

A command line utility for creating image macro style memes

Go report card

Requires Go v1.16+ to compile.


Am i the only one around here?

Features

  • Create memes from built-in templates
  • Create memes from image URL's
  • Create memes from local image files
  • Supports drawing on animated gifs
  • Supports intensifing images by shaking them slightly
  • Supports adding the 'triggered' banner
  • Resizes oversized images
  • Automatically upload to imgur.com (when passed a client id)
  • Works on Linux, Mac and Windows

Simple example

To create a meme use the following command. The image can be an built-in template, a URL or the path to a local file.

meme -i brace-yourselves -t "brace yourselves|the memes are coming"

When the command finishes, the location of the newly generated meme is printed to the terminal. This location can be overriden using the -o flag.

Installation

  • Install Go
  • Run go get -u -v github.com/nomad-software/meme

Automatic uploads

If you supply an imgur client id when invoking the command, the meme will automatically be uploaded to imgur.com. To get a client id, follow these steps.

  1. Create an imgur account
  2. Register this application for anonymous usage
  3. Once registered, you get a client id for use when invoking the command. See meme -help
  4. Read the rate limits

Help

Run the following command for help and to list all of the available built-in templates.

meme -help

Other examples

meme -i brace-yourselves -t "brace yourselves|the memes are coming"

Brace yourselves


meme -gif -i http://www.reactiongifs.com/r/trmp.gif -t "|when somebody mentions china"

When somebody mentions china


meme -shake -i kirk-khan -t "|khaaaaan"

khaaaaan


meme -trigger -i https://i.giphy.com/3o7abKGM3Xa70I7jCU.gif

triggered


Built-in templates

To create a meme using one of the built-in templates, use one of the following id's with the -i flag. (You can also list these using the meme -help command.)

More Repositories

1

vend

A dependency vendor for Go programs
Go
159
star
2

tkd

GUI toolkit for the D programming language based on Tcl/Tk
D
117
star
3

dunit

Advanced unit testing toolkit for the D programming language
D
62
star
4

go-channel-compendium

Interesting ways of using Go channels by John Graham-Cumming
Go
22
star
5

x11

Bindings to X11 for the D programming language
D
20
star
6

wrend

Bindings to the Wren language for use with the D programming language
D
8
star
7

purebasic-a-beginners-guide

A beginner's guide to computer programming (2006)
PureBasic
7
star
8

etcetera

A common library for D language programs
D
5
star
9

screensaver

A simple Linux screensaver framework
Go
4
star
10

vim-posix

Vim configuration for Posix systems
Vim Script
3
star
11

grope

A small command line utility for finding text in many files
Go
3
star
12

findr

A small command line utility for finding files based on a pattern
Go
3
star
13

bfg

A fast Brainfuck interpreter and compiler written in the Go programming language
Brainfuck
2
star
14

tcltk

Bindings to Tcl/Tk for the D programming language
C
2
star
15

matrix

The Matrix's digital rain in a terminal.
Go
1
star
16

game-of-life

Conway's game of life
Go
1
star
17

bfd

A Brainfuck interpreter written in the D programming language
Brainfuck
1
star
18

retry

A small command line utility for running other command line programs
Go
1
star
19

vscode

Visual Studio Code configuration
Shell
1
star
20

stream

Go
1
star
21

crypt

A command line utility for encrypting and decrypting files
Go
1
star
22

vim-win

Customised Vim for Windows
Vim Script
1
star
23

keylogger

A Linux based keylogger
Go
1
star
24

assert

A testing helper library for Go programs
Go
1
star
25

goat

GUI toolkit for the Go programming language based on Tcl/Tk
Go
1
star