Skip to content

Display settings

Colour theme
Text size
Reading and motion

Saved on this device only.

Automated social media bot

Astronomy Bot

A Node.js Mastodon bot that posts astronomy content from NASA and other APIs, from the ISS's position to moon phases, and can locate any body in the solar system.

Status
Live
Built with
Node.js, JavaScript
Astronomy Bot's Mastodon profile

Why I built it

A learning exercise in Node.js and the Twitter and Mastodon APIs, connecting to third-party APIs like NASA, and doing the calculations to locate any body in the solar system at any date and time. It started as a Twitter bot and moved to Mastodon.

What I built

Daily posts include NASA's Astronomy Picture of the Day, the EPIC Blue Marble image and a Mars rover photo. Every fifteen minutes it also posts one of: the ISS's current position, an astronaut or spacecraft spotlight, upcoming launches, the number of people on and off Earth, a James Webb telescope image, or the moon phase in both hemispheres.

You can message it your coordinates to find out which planet you're looking at. pm2 keeps it running, and the codebase has been cloned and repurposed for other bots.

Screenshots

More projects

Live match screen with match events, score and player ratings

Browser-based football management game

Touchline Manager

A web-based football management game with contracts, transfers, tactics, press conferences and multiple seasons, currently in a closed, invite-only beta playtest.

  • Next.js
  • Firebase
Workflow canvas showing a supervisor agent connected to specialist agents

AI workflow platform running on local models

Agentic Workflows

A platform for building multi-agent AI workflows that runs entirely on locally hosted Ollama models, with a supervisor agent, live step-by-step logs and analytics.

  • Next.js
  • Ollama
  • Firebase
  • Recharts

Have a project in mind?

Tell me what you're trying to achieve and what you have already, and I'll get back to you.

Start a conversation