This repository is now hosted on GitLab. This version is archived and will be deleted in the future https://gitlab.com/streetwanderer/HelloSpaceBot
A bot that extracts random photos from the OPUS database and post them to Tumblr with a description of what the picture is about.
Grab pictures from the NASA/SETI OPUS database using the JSON API.
The script then extract the mission data and tries to make sens of it. It then generates an HTML snippet that is posted alongside the picture to Tumblr.
Most of the complexity comes from handling the messiness of the data without causing the script to exit.
- Add the picture in the tweet
- Search more time indicators for when the picture was taken
- there is sometimes a timestamp in <probe-name> LORRI Constraints
- Avoid posting the same picture twice
- maybe store posted IDs somewhere
- Add snarky and overly enthusiastic comments to posts