Skip to main content

DIY Meme with Ruby based, CLI Memegen

As in this 2012, we can see a lots of meme scattered on the internet, spoofs of some movies, pictures and others.

Meme's definition can be looked here

I found out meme generator from an internet search, you can download the copy from github:

https://github.com/cmdrkeene/memegen

It works fine with my Linux Mint 12, first you may need to clone the copy to your computer;

git clone https://github.com/cmdrkeene/memegen

The change directory to memegen;

cd memegen

After that you may need to satisfy the dependencies - check the Readme. Most likely you need to install some ruby based library. ImageMagick package is a must.

How it works? Well, you can execute from memegen/bin/memegen --help to see the flag.

If you find (of course you will) typing the path considered difficult, simply use PATH exports:

export PATH=$PATH:/$HOME/memegen/bin

-change accordingly.

Samples of outputs:



It has templates in memegenerator. But if you want to use your own pictures.

mkdir $HOME/.memegen

Put your file in $HOME/.memegen

najmi@vostro-mint:~/memegen$ ls ~/.memegen/
angrybird.jpg  aufa-code.jpg  unifi.jpg
   
najmi@vostro-mint:~/memegen$ memegen unifi "with unifi" "no more complaints on capped bandwidth"
/tmp/meme-1336404480.jpeg
 
najmi@vostro-mint:~/memegen$ memegen angrybird "mum is not here" "you can play angrybird dad"
/tmp/meme-1336404510.jpeg
 
najmi@vostro-mint:~/memegen$ memegen aufa-code "python is cool" "lemme do import antigravity"
/tmp/meme-1336404544.jpeg
 

So basically check your /tmp

Have Fun!!

Comments

Popular posts from this blog

Gue dengan S2 gue. Sronok banget!
Danga Bay, Chevrolet Optra and bio...(eh?) I thought it was Debian(haha). My colleague point me to the AirAsia flight turbin and he told me, "Macam debian punya logo" I saw a spiral on top the turbin blades. Pretty much like Debian Logo That's spark me to shoot for a pix. And I was warned by the airport staff. Uh,uh. Flash lamp will spark burst,eh? I was presented my "mock" research proposal. Suggested "Profiling Bioinformatics Application Behavior on Distributed Computing Architecture". Eh, will this gonna be bioinformatics specific or hardware optimization specific.or? Flashback: I spent almost a week at the office. When it's Subh azan,went back to my house for bath and pray. Reading all the journals and papers was not funny,really. Tough eye balls. No world cup. Ewh. And have some VCD lure. Uh,uh. you gonna be kidding. Anyway, I learned a lot and UTM SLAB Research Course is no joke. Really. My proposal has been corrected with comments so I have