The source code for @HourlyCatPhotos, a Twitter bot I run that posts a new cat photo every hour. It fetches images from TheCatAPI. I also crosspost to Mastodon, Tumblr & Bluesky.
Run pip install -r requirements.txt
to install the required dependencies.
Then, run main.py
. It will create a file named config.json
, which you need to fill out with your own API keys.
Once you have filled out config.json
, run main.py
again - it will then post photos every hour.