Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memegen

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memegen

  • 1.0.9
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

memegen

An RMagick-based two-caption meme generator.

Profit

Install

You'll need ImageMagick and ghostscript installed. The easiest way is to use Homebrew.

brew install ghostscript
brew install --build-from-source imagemagick

Then install the gem!

gem install memegen

Usage

To see a list of available images:

$ memegen --list
a_dog
p_obama
...

To generate an image:

$ memegen a_dog "Eat Crayons" "Poop Rainbows"
/tmp/meme-1234567890.jpg
$

You only have to supply one piece of text:

$ memegen a_dog "" "AWESOME"
/tmp/meme-1234567890.jpg
$

You can also use URLs for one time use memes:

$ memegen http://example.com/stupid.jpg "Generated" "From a URL"
/tmp/meme-1234567890.jpg
$

Adding your own images

You can add images to your local ~/.memegen folder:

$ ls ~/.memegen
my_custom_image.png

Upload to Campfire

If you have a Campfire account and token, you can automatically upload your image:

$ memegen a_dog "Hello" "Campfire world" --campfire

It will prompt you for your subdomain, token, and room name the first time.

Upload to GroupMe

If you have a GroupMe account and token, you can automatically upload your image:

$ memegen a_dog "Hello" "GroupMe world" --groupme

It will prompt you for your phone number, password, and group id the first time. (your password will NOT be stored in plain text).

Bash completion

Source or copy script/autocomplete.sh inside ~/.bashrc to get image name autocompletion.

See also:

memegen --install-autocomplete

Contribute

Pull requests welcome!

FAQs

Package last updated on 05 Nov 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc