Tripos Bot - for weekly math WTF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Charles Reid 1359d7af55 Merge branch 'master' of https://charlesreid1.com:3000/charlesreid1/tripos-bot 7 years ago
hardy adding gutenberg version of tex of course of pure mathematics 7 years ago
latex Merge branch 'master' of https://charlesreid1.com:3000/charlesreid1/tripos-bot 7 years ago
.gitignore Fixing SimpleListKeymaker so it actually exports to JSON 7 years ago
LICENSE adding license 7 years ago
PhotoADaySheep.py Fix photo a day sheep from production 7 years ago
README.md Update readme with info about files 7 years ago
Tripos.py Fix up Tripos from production 7 years ago

README.md

Tripos Bot

Tripos Bot: your weekly math WTF.

Required Software

This uses pdflatex to convert LaTeX to PDF, and ImageMagick (convert) to convert PDF to JPG.

This bot also uses my rainbow mind machine twitter bot library.

Turn Latex Into Images

One-time thing: run pdflatex and convert on each of the problems in latex/:

./compile.sh

Tweet A Problem A Day

Run the bot to tweet a problem each day.

python3 Tripos.py

How It Works

This uses the Rainbow Mind Machine library, which is designed to run an arbitrary number of Twitter Bots, to run a single bot.

This extends the Sheep class defined in Rainbow Mind Machine (1 sheep = 1 bot) to tweet a photo once per day.

(The Sheep class defines its own tweet scheduling.)