Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

An automaton that post pretty pictures of space extracted from OPUS database

Notifications You must be signed in to change notification settings

StreetWanderer/HelloSpaceBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOVED

This repository is now hosted on GitLab. This version is archived and will be deleted in the future https://gitlab.com/streetwanderer/HelloSpaceBot

Hello Space Bot

A bot that extracts random photos from the OPUS database and post them to Tumblr with a description of what the picture is about.

 

About the code

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.

Possible Improvements

  • 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

About

An automaton that post pretty pictures of space extracted from OPUS database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages