NASA Space Apps 2026, Port Louis. Challenge: Planet X and SPHEREx.
A public web tool: enter coordinates or a name, watch real SPHEREx frames of that patch play as a series, click any object to see its spectrum, then explore it as a 3D body you can rotate and listen to.
Read the technical paper on how the engine works.
Recorded from the app running on real cached SPHEREx data (20 Nov 2026). The clips have no sound.
![]() |
![]() |
![]() |
| A rocky world. 55 Cancri e, cracked crust and rivers of lava. | A water world. TRAPPIST-1 f, out over its sea. | A gas giant. Jupiter's cloud tops, zone and belt. |
Planet and star surfaces are artist's impressions, and the app labels them so. Spectra, frames and tracks are measured from SPHEREx data unless the caption says otherwise.
| Path | What |
|---|---|
| docs/ | Specs, decision log and UML diagrams. Start with docs/README.md. |
| mockup/spherex-ui.html | Single-file UI mock-up. Open it in a browser. |
| backend/ | Python 3.12 FastAPI: name resolver, SPHEREx frames and cutouts, read-through cache (see its README). |
| frontend/ | Web app, 3D viewer and sound. |
| shared/ | JSON schemas for the ObjectCard and RenderParams. |
You need a computer with internet, a desktop browser (Chrome or Edge recommended) and about 2 GB of free disk space. Nothing here needs coding knowledge: you copy each command into a terminal and press Enter.
What is a terminal? Windows: press the Windows key, type PowerShell, press Enter. Mac: press Cmd+Space, type Terminal, press Enter.
| Tool | Get it from | Check it worked |
|---|---|---|
| Git | https://git-scm.com/downloads | git --version |
| Node.js 24 or later (pick "LTS" or "Current") | https://nodejs.org | node --version shows v24 or higher |
| uv (installs Python for you) | Windows: winget install astral-sh.uv. Mac/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh |
uv --version |
After installing, close the terminal and open a new one so it finds the new tools. You do not need to install Python yourself; uv does it.
git clone https://github.com/0ffrian/SphereX.git
cd SphereXnpm run setup
npm run backend:setupEach takes a few minutes. Warnings in yellow are normal. Red error lines are not; see Troubleshooting.
The app has two halves, so you open two terminals, both inside the SphereX folder.
Terminal 1: the data server
npm run backend:devWait until it says Application startup complete. Leave this window open.
Terminal 2: the website
npm run devLeave this window open too.
Go to http://localhost:5173 in your browser. Type an object name (for example Barnard's Star) or coordinates, and press Enter. The first time you look up an object it can take a minute, because the real SPHEREx images are downloaded from NASA. They are saved, so the second time is fast.
To stop the app, click each terminal and press Ctrl+C.
Skip steps 1 to 3. Just do steps 4 and 5. To get newer code, run git pull, then npm run setup and npm run backend:setup again.
Run npm --prefix frontend run dev:fixtures (one terminal, no Step 4 Terminal 1). It shows made-up sample data, so use it only to see the interface.
| Problem | Fix |
|---|---|
command not found / not recognized |
Close the terminal, open a new one, and try again. If it persists, reinstall that tool from Step 1. |
node --version is lower than 24 |
Install the newer Node.js from https://nodejs.org. |
| Page is blank or says it cannot reach the server | Terminal 1 (backend:dev) must be running. Check it for red errors, then reload the page. |
| "Address already in use" | Another copy is running. Close the old terminals, or restart the computer. |
| 3D view is black or very slow | Use the latest Chrome or Edge, and turn on hardware acceleration in the browser settings. |
| Object takes ages to load | The NASA archive can be slow. Wait, or try again later. |
npm run check # frontend: typecheck + lint + unit tests + build
npm run backend:check # backend: ruff + mypy + pytest (offline, recorded fixtures)
npm run backend:prefetch # fill the cache for the test targets while the internet is good
npm run dev:phone # HTTPS (self-signed) for phones on the same Wi-Fi, so WebGPU is availableSX_OFFLINE=1 makes the backend never touch the network (the demo runs this way); set it before npm run backend:dev. The cache lives outside the repo; details in backend/README.md. Other root scripts (build, preview, test, test:e2e, lint, typecheck, format) forward to frontend/.
Under active development for NASA Space Apps 2026.














