/pun-generator

Give me a word, I'll give you some puns

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Pun Generator

Trying to score fake internet points on Reddit? Want to make everyone groan with your bad puns? Need a new Instagram handle? We've got just the thing for you!

Type in a word and see what puns you get!

Running it locally

virtualenv -p python3.5 env
. env/bin/activate
pip3 install -r requirements.txt

cd src
mkdir data
cd util
python build_db.py

cd ../src
python app.py

Running it with Docker

docker build -t ssaamm/pun-generator .
docker run -p 80:5000 -tid ssaamm/pun-generator