Giter VIP home page Giter VIP logo

console.meme's Introduction

Note 2/Apr/2013: apparently the memegenerator api is having problems, so check before you try it. (It would be pretty easy to build a generator, maybe I add that to the node app someday). Sorry :(

console.meme

by @escusado

What is this?

A stupid express app and a js script to print memes in the console.

console.meme

Usage

Paste this in your console or html document.

console.meme=function(e,t,n,r){var i="http://lit-atoll-9603.herokuapp.com/api/v1/";if(typeof r==="undefined"){r=200}var s=i+e+"/"+r+"/"+encodeURIComponent(t)+"/"+encodeURIComponent(n);var o="background-image: url("+s+");";o+="background-repeat: no-repeat;";o+="background-position: center center;";r=Math.floor(r/2);o+="padding: "+r+"px "+r+"px; background-size: 100%;";var u="";var a=Math.ceil(r/14)+2;while(a--){u+="\n"}console.log("%c %c"+u,o,"background: none;")}
console.meme('grumpy-cat', 'paste this in my console?...', '...is this it?');

Alternatilvely you can set a size too :

console.meme('nobody-got-time', 'Write an extra parameter?', 'Ain t Nobody got time fo that', 300);

Currently supported

  • 'y-u-no'
  • 'i-dont-always'
  • 'orly'
  • 'success'
  • 'all'
  • 'too-damn'
  • 'good-news'
  • 'not-sure-if'
  • 'yo-dawg'
  • 'all-your-base'
  • 'fuck-you'
  • 'have-a-bad-time'
  • 'one-does-not-simply'
  • 'grumpy-cat'
  • 'it-looks-like-you'
  • 'feel-bad'
  • 'nobody-got-time'
  • 'bad-luck-brian-meme'
  • 'first-world-problems-ii'
  • 'scumbag-steve'
  • 'what-if-i-told-you-meme'
  • 'san-juan-cholo'
  • 'good-guy-greg'
  • 'prepare-yourself'
  • 'stoner-stanley'
  • 'all-the-things'
  • 'conspiracy-keanu'
  • 'disaster-girl'
  • 'pleaseguy'
  • 'annoying-facebook-girl'
  • 'trollface'
  • 'skeptical-3rd-world-kid'
  • 'correction-guy'
  • 'insanity-wolf'
  • 'kill-yourself-guy'
  • 'joseph-ducreux'
  • 'so-youre-telling-me'
  • 'african-children-dancing'

Comments:

blog-post

Notes

The image proxy server is deployed on a free Dyno on Heroku, you can deploy your own if you like :)

this thing uses the npm package memeGenClient by https://npmjs.org/~phill.rosen kudos man!

Also the MemeGenerator API

Free GPL libre whatever use it as you like :)

I work @freshout on @Breezi

console.meme's People

Contributors

coens97 avatar escusado avatar johnknaack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.