A meme creation API using node.js express & docker.
Run via docker:
docker pull cloughrm/express-meme
docker run -p 3000:3000 cloughrm/express-meme
- Install homebrew
- Install node-canvas
brew install pkg-config cairo pango libpng jpeg giflib librsvg
- Install node packages:
npm i
- Run in development:
npm run dev
- Install tzdata:
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
- Install nodejs repo:
curl -sL https://deb.nodesource.com/setup_14.x | bash -
- Install the dependancies:
apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev nodejs bash
- Install dependancies:
npm i
- Run in development:
npm run dev
Usage: https://localhost:3000/[MEME_NAME]/[TOP_TEXT]/[BOTTOM_TEXT]
Examples:
- https://meme.pkt.li/philosoraptor/i can haz/memes?
- https://meme.pkt.li/scumbag_steve/don't worry bro, i'll pay you/next week
Supported Memes:
- yo_dawg
- success_kid
- socially_awkward_penguin
- socially_awesome_awkward_penguin
- scumbag_steve
- scumbag_brain
- ridiculosly_photogenic_guy
- philosoraptor
- overly_attached_girlfriend
- most_interesting_man
- matrix_morpheus
- lazy_college_senior
- insanity_wolf
- hipster_barista
- grumpy_cat
- good_guy_greg
- foul_bachelor_frog
- forever_alone
- first_world_problems
- confession_bear
- challenge_accepted
- business_cat
- boromir
- bad-joke-eel
- bad_luck_brian
- annoyed_picard
- script_kitty