Skip to content

kpantic/memegen

 
 

Repository files navigation

MemeGen

An API to generate meme images based solely on requested URLs.

Build Status Coverage Status Scrutinizer Code Quality

Generating Images

Visit the live site at http://memegen.link to browse the API and view examples.

MemeGen URLs contain all the information necessary to generate the image. For example, http://memegen.link/buzz/memes/memes-everywhere.jpg produces:

buzz

But, the site can also produce masked URLs to conceal the joke:

http://memegen.link/_YnV6egltZW1lcy9tZW1lcy1ldmVyeXdoZXJl.jpg

For any MemeGen image, lose the extension to see a list of all format options:

http://memegen.link/buzz/memes/memes-everywhere

Special Characters

Spaces can be inserted using dashes or underscores:

  • dash (-) → space ( )
  • underscore _ → space ( )
  • dashes (--) → dash (-)
  • underscores (__) → underscore (_)

Reserved URL characters can be escaped:

  • tilde + Q (~q) → question mark (?)
  • tilde + P (~p) → percentage (%)

For example: http://memegen.link/doge/special-characters~q/underscore__-dash--.jpg

Adding Templates

To add a new template, please follow the contributor instructions.

Thanks go to danieldiekmeier/memegenerator for the inspiration!

Slack Integration

Check out one of these options:

About

Generates memes from URLs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.4%
  • CSS 10.4%
  • Makefile 9.4%
  • HTML 7.0%
  • JavaScript 3.8%