Coder Social home page Coder Social logo

neuroradiology / urlmeme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from captbaritone/urlmeme

0.0 3.0 0.0 7.81 MB

A meme generator where the URL is the user interface

Home Page: http://urlme.me

License: MIT License

Python 21.41% CSS 23.69% JavaScript 39.17% HTML 15.73%

urlmeme's Introduction

Build Status

urlme.me

A meme generator where the URL is the user interface.

http://urlme.me/<meme_image>/<top_text>/<bottom_text>.<ext>

How?

I keep a list of meme images which I think make the cut in memes.json. I then use N-gram comparison to find the closes meme to the image you specified.

Ussage

Some additional features are offered, also via the URL:

  • Request a meme with the extension .json to get results in the form: {"image": "success-kid", "top": "typed a url", "bottom": "made a meme"}.
  • Pass query params ?host=imgur to have the image uploaded to Imgur and then have your request 301 redirected to that Imgur URL.

Setup

pip install -r requirements.txt
python url.py

Run the tests

python tests.py

Contribute

If there is a popular meme image that you think I'm missing, please either file an issue, or open a pull request. To add an image, simply add the image to:

templates/memes/

And then add a reference to memes.json and include at least one name for that meme image.

urlmeme's People

Contributors

captbaritone avatar jaredforshey avatar seanlane avatar

Watchers

 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.