This project demonstrates real-time 3D satellite visualization in the browser using SGP4GL, CesiumJS, and Next.js 14. It provides a framework for rendering satellite orbits with web-based ephemeris propagation.

Clone the repository and install dependencies:
npm install
npm run dev
npm run build
npm run start
Cesium is configured to use an external tile provider.
Set the following environment variable in .env.local:
NEXT_PUBLIC_CESIUM_TOKEN=<your_cesium_token>
NEXT_PUBLIC_TILES_URL=<your_tile_provider_url>
You can get your own tokens here https://cesium.com/learn/ion/cesium-ion-access-tokens/
Cesium requires specific static assets to be served publicly.
This is handled with CopyWebpackPlugin in next.config.js.
Note: Each copy statement must include:
js info: { minimized: true; }
Integrating Cesium with Next.js can introduce build/runtime challenges.
This repository is configured to maximize compatibility between:
If you are adapting this project, refer to this repository:
Barebones Cesium + Next.js Example: github.com/hyundotio/next-ts-pagerouter-cesium-example
MIT – feel free to use and adapt this project.
$ claude mcp add sgp4gl-demo \
-- python -m otcore.mcp_server <graph>