C++ Astronomy

Open-source C++ projects categorized as Astronomy

Top 11 C++ Astronomy Projects

  1. stellarium

    Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows, macOS and Haiku. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.

    Project mention: Cosmodial Sky Atlas | news.ycombinator.com | 2026-06-12

    Im not a LLM / vibe code hater (in fact a big user) but I wonder are these people just not looking for an existing solution or do they want their own bespoke version for access to some internals and to (kind of?) learn the high level of what goes into these projects.

    If its the former, people are wasting their own time, money and energy when spending a similar amount of time searching vs prompting might yield better results for their use case. If its the latter, unless there is a killer feature, which I dont see in the github repo, why not point people to use the actively maintained project instead of the one the vibe coder is going to let die on the vine once they get bored. Its fracturing the space, for what gain? (no pun intended)

    Also how much of this code is the LLM lifting from Stellarium either indirectly in the training data or actively searching for it to reference the code in its context?

    https://github.com/Stellarium/stellarium

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. Celestia

    Real-time 3D visualization of space.

    Project mention: Show HN: The whole Solar System and every tracked satellite, live in the browser | news.ycombinator.com | 2026-09-29

    > and the download page looks like this: https://sourceforge.net/projects/celestia/

    The page that states "Please do not download Celestia from this repository. This repository has been abandoned, and the new source and website are here and here, respectively." for the past four years ?

    Try: https://celestiaproject.space/download.html and https://github.com/CelestiaProject/Celestia for version 1.6.4

  4. OpenSpace

    This is the official GitHub repository for OpenSpace: an open source astrovisualization project. For instructions on how to build and run OpenSpace, see the Getting Started Guides on the wiki page at http://docs.openspaceproject.com.

  5. gdl

    GDL - GNU Data Language

  6. heyoka

    C++ library for ODE integration via Taylor's method and LLVM

  7. SwiftAA

    The most comprehensive collection of accurate astronomical algorithms in Swift.

  8. DobsonianDSC

    Simple low cost circuit to connect inexpensive optical encoders to a dobsonian telescope

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. CollimationCircles

    Collimation Circles is application for precise telescope collimation

  11. SolarCalculator

    Arduino library to calculate the times of sunrise, sunset, solar noon, twilight, the solar position, and more.

  12. fips3

    OpenGL-based FITS image viewer

  13. vif

    Easy, robust, and fast numerics in C++. (by cschreib)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Astronomy discussion

Log in or Post with

C++ Astronomy related posts

Index

What are some of the best open-source Astronomy projects in C++? This list will help you:

# Project Stars
1 stellarium 10,028
2 Celestia 2,369
3 OpenSpace 1,262
4 gdl 313
5 heyoka 251
6 SwiftAA 213
7 DobsonianDSC 89
8 CollimationCircles 72
9 SolarCalculator 71
10 fips3 32
11 vif 12

Sponsored
Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?