https://github.com/iamabhishekkumar/memer
It returns you, a random programming meme that you can show in your readme.
https://github.com/iamabhishekkumar/memer
flask heroku memes mongodb python3
Last synced: about 2 months ago
JSON representation
It returns you, a random programming meme that you can show in your readme.
- Host: GitHub
- URL: https://github.com/iamabhishekkumar/memer
- Owner: iamAbhishekkumar
- License: mit
- Created: 2021-06-07T13:06:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-10T10:14:35.000Z (over 4 years ago)
- Last Synced: 2025-12-25T18:44:42.779Z (6 months ago)
- Topics: flask, heroku, memes, mongodb, python3
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Memer
It returns you a random programming meme that you can show anywhere, even your github readmes'. Every time you reload the page, a new meme is shown.
### How to use
For Mark-Down files:

For adjust size of image :

Just Copy and paste above, where you want to show the meme.
#### Preview

### Problem Faced
GitHub doesn't allow javascript in markdowns, so i cant simply sent a request to a url. So, I have to do this using "image" tag provided by markdown.
To host your images, GitHub uses the open-source project Camo. Camo generates an anonymous URL proxy for each file which hides your browser details and related information from other users.
So, the main problem was, it caches the image and even the image changes, that doesn't reflect in readme. So, to fix that problem, I have set the cache-control to 'no-cache'.
### References
- [How to enable CORS in flask](https://stackoverflow.com/questions/25594893/how-to-enable-cors-in-flask)
- [About anonymized URLs](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/about-anonymized-urls)
**If you like it, star this repo.If you find any issues, feel free to raise issues. Enjoy!**:upside_down_face:
More programming memes will added soon.....