Skip to content
Snippets Groups Projects

This is a meme Generator implemented with Jinja2 and Flask, which suggest that this is a server-side dynamic website! What's GREAT about this meme generator is that it uses minimum space! It does not store any image on local disk and will not record any information! You can even deploy it on your Raspberry Pi! The meme generation functionalty uses memegen public api. You can checkout this repo for more info on the implementation or usage of that api: https://github.com/kyluca/memegen/

This is tested on Linux and macOS environments. For windows users, please use WSL2.

Don't forget to give permission to the scipt file before you run the script. For more info on how to do this, please refer to the end of README.

To run this, please first run following command:

./bin/MemeGenerator init

or

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
pip install -e .

After the intial setup is complete, you can run the script to turn on the server!

./bin/MemeGenerator start

To shutdown, run this

./bin/MemeGenerator stop

Notice! If the above command does not work, please run

chmod u+x ./bin/MemeGenerator

For formal deployment usage, please replace the api key for flickr in MemeGenerator/views/index.py to your api key for legal reason.

To run tests, please use

pytest -v