Take questions posted on a particular Stack Exchange site, generate a meme out of them and tweet them.
- @pi_stack (Raspberry Pi)
- @overflow_meme (Stack Overflow)
- @worldbuildingme (World Building)
- @askubuntumemes (Ask Ubuntu)
-
Sign up for a Twitter account, create an app and get your four API keys.
-
Sign up for an imgflip account and note your username and password.
-
Register for a Stack Exchange App Key
-
Install this project:
sudo pip3 install memeoverflow
-
Copy the example script
example.py
(e.g. toraspberrypi.py
) and edit your copy to specify:- the Stack Exchange site you wish to follow (get the exact string here) and your Stack Exchange API key
- your Twitter account's API keys
- your imgflip's username and password
-
Run it:
python3 raspberrypi.py