Webb Skyframe is an interactive explorer for real observations from the James Webb Space Telescope. Each card brings together an image captured by its NIRCam instrument, a view of the region of the sky it observed, and the positions of Earth, the Moon, and the telescope at the time of the exposure.
The Next button loads another observation at random.
View the source code on GitHub · See the integration on my GitHub profile
Context, goals, and my contribution#
I built Webb Skyframe as a personal project, starting with the idea of adding an interactive experience to my GitHub profile despite the limitations of a conventional README.
I wanted to offer more than a collection of astronomical images: a way to explore real James Webb observations and understand which part of the sky they captured and where the telescope was at the time.
To do that, I built a system for processing astronomical data, generating visualizations dynamically, and publishing observations. I integrated it into both my GitHub profile and this portfolio.
Features#
- Random exploration of calibrated NIRCam observations from the MAST astronomical archive.
- A view of the observed field within its constellation and the surrounding sky.
- A schematic view of the positions of Earth, the Moon, and James Webb using data from JPL Horizons.
- Dynamic generation of SVG cards from preprocessed astronomical data.
- Automated preparation and publication of new observations, with a review step.
- Interactive GitHub integration that changes the displayed observation without editing the README or making a commit.
The orbital view uses positions from the time of each exposure, with distances and trajectories drawn at an illustrative scale.
Technologies#
Python, Astropy, Astroquery, and GWCS for astronomical data processing; TypeScript and SVG for card generation; Cloudflare Workers and R2 for running the service and storing assets; GitHub Actions to automate the preparation and publication of observations; and JavaScript and Hugo for the web integration.
Behind the project#
How can an image in a GitHub README change dynamically without modifying the repository? How do you turn an astronomical observation into a card that shows the observed field and the telescope’s position?
In Exploring the universe from my GitHub profile, I explain how I built Webb Skyframe, how its architecture and astronomical data processing work, and what happens behind each interaction.
Data sources#
The observations come from the Mikulski Archive for Space Telescopes (MAST), and the position data come from JPL Horizons.
Observation credits: NASA/ESA/CSA, the scientific teams for the respective observing programs, and MAST at STScI.