techytushar / random-memer

Returns random meme images scraped from Memedroid

Home Page:https://random-memer.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random Memer

Flask API to return random programming meme images scrapped from Memedroid.

Usage Notes:

Just add img tag in your website / README file and it will display a random meme everytime the website is loaded

<img src='URL' title="Meme" alt="Please refresh the page if the meme doesn't show up.">

Deprecation Note: The previous Heroku app link has stopped working due to Heroku discontinuing its free tier services. Deploy your own instance of the app using the links below and use them.

How to deploy

Use Railway (500 hours)

Note No delay

Deploy on Railway

  • Sign in with GitHub to Deploy

  • URL will produce after finish building


Use Replit (unlimited hours)

Warning response delay of up to 30 seconds for the first request that comes in after a period of inactivity

Run on Repl.it

  • Click Import from GitHub Button

  • Run pip install gunicorn==20.0.4 and pip install lxml in console on the right

  • Add line app.run(host='0.0.0.0', port=80) at the end of 'app.py' file

  • Click the $\color{white} \colorbox{Green} {RUN}$ button on top, the console will run, wait to finish and output URL on the right under "Webview"


Use Render (750 hours)

Warning response delay of up to 30 seconds for the first request that comes in after a period of inactivity


About

Returns random meme images scraped from Memedroid

https://random-memer.herokuapp.com/


Languages

Language:Python 98.8%Language:Procfile 1.2%