APOD Bots - Automated Astronomy

Automated projects that publish NASA's Astronomy Picture of the Day on different social media networks

Astronomy Picture of the Day

Loading explanation in English...

Source: NASA Astronomy Picture of the Day

I developed two automated systems that daily publish the **Astronomy Picture of the Day (APOD)** from NASA on different social media networks, each adapted to the technical specifications and best practices of each platform.

APOD on Instagram (@apodinsta)

This bot automatically publishes the daily APOD on Instagram, processing both images and videos with special formatting for each media type.

Main Features:

Technologies Used:

Python Instagrapi FFmpeg Google Gemini API NASA API

APOD on Twitter/X and Bluesky (@nasapod and @nasapodsky)

This more sophisticated bot publishes on both Twitter/X and Bluesky simultaneously, with specific optimizations for each platform and thread support for long explanations.

Main Features:

Technologies Used:

Python Tweepy Bluesky API FFmpeg Google Gemini API NASA API

Shared Infrastructure

Both bots utilize:

Deployment

The bots run on a scheduled basis (the Instagram bot daily, the Twitter/Bluesky bot multiple times a day with historical content) using:

Starttrek Space GIF from Starttrek GIFs