• Stars
    star
    154
  • Rank 242,095 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Source code for the Twitter Bot

FlagsMashupBot

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

alt text

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

python -m ./ # 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