/FlagsMashupBot

Source code for the Twitter Bot

Primary LanguagePythonMIT LicenseMIT

FlagsMashupBot

Live demo: http://flagsmashupbot.pythonanywhere.com/

Twitter Screenshot

https://twitter.com/FlagsMashupBot

Prerequisites

Clone the repo

git clone https://github.com/antooro/FlagsMashupBot

Start a virtual environment

LINUX/OSX: Inside the repo folder

python3 -m venv ./ # starts the venv in the current folder
source bin/activate # On LINUX or OSX
.\Scripts\activate # ONLY Windows

To exit the Virtual Environment on any OS

deactivate

Install the requirements:

pip install -r requirements.txt

Try the image generator

python formatsvg.py

It will generate 3 files: the 2 country flags, and the mashup flag