Open-source cosmos

Open-source projects on GitHub about the cosmos, life and civilization.

Open source, maintained or historically important, and tied to a page in our wiki. Stars counted on 2026-10-15.

Cosmos

eht-imaging

5.33K stars

achael/eht-imaging

Radio interferometry imaging software. When the Event Horizon Telescope published the first black hole image in 2019, this was one of the three imaging pipelines the collaboration used.

OpenSpace

1.28K stars

OpenSpace/OpenSpace

Astronomy visualization software developed by Linköping University in Sweden and the American Museum of Natural History. Its goal is to draw the whole known universe.

REBOUND

1.14K stars

hannorein/rebound

An N-body simulator that computes how bodies in planetary systems, moons and rings pull on each other. The three-body problem has no general closed-form solution, so you have to step through it.

Lightkurve

543 stars

lightkurve/lightkurve

Processes light curves from the Kepler and TESS space telescopes. When a planet crosses in front of its star, the brightness dips slightly. You can find one yourself.

PyCBC

390 stars

gwastro/pycbc

The core software package for finding signals in gravitational-wave detector data: it picks the "chirps" of merging black holes and neutron stars out of the noise.

CAMB

260 stars

cmbant/CAMB

Computes the temperature fluctuations of the cosmic microwave background. Cosmologists fit programs like this to Planck satellite data to work out the universe's age and composition.

Life

Lenia

3.88K stars

Chakazul/Lenia

A continuous version of the Game of Life. A few math rules grow patterns that move, turn and split, like tiny creatures under a microscope. The online version is playable right away.

Particle Life

3.36K stars

hunar4321/particle-life

Particles of a few colors move by one table of who attracts and who repels whom, and they clump into cell-like structures on their own. Without the interface, the code is under a page.

AlphaFold 2

14.9K stars

google-deepmind/alphafold

Predicts 3D protein structure from an amino acid sequence. Half of the 2024 Nobel Prize in Chemistry went to two of its developers, Demis Hassabis and John Jumper.

The Life Engine

573 stars

MaxRobinsonTheGreat/LifeEngine

An evolution simulation in your browser. Small creatures are built from a few cell types, eat, move and reproduce, and every generation can mutate.

OpenWorm

3.07K stars

openworm/OpenWorm

A full computer simulation of the roundworm C. elegans: 302 neurons and 95 body wall muscles, from nerve signals to how the body wriggles.

Avida digital evolution

669 stars

devosoft/avida

Self-replicating computer programs mutate, compete and evolve inside it. A 2003 paper in Nature used it to watch how complex functions evolve step by step.

Civilization

Apollo 11 source code

75.1K stars

chrislgarry/Apollo-11

The guidance computer program for the 1969 Moon landing, transcribed from scans of printouts held by the MIT Museum. The file that handles ignition is called BURN_BABY_BURN.

Arctic Code Vault

3.12K stars

github/archive-program

On 2 February 2020, GitHub wrote every active public repository of the time onto 186 reels of film and stored them in permafrost on Svalbard, Norway.

Historical basemaps

845 stars

aourednik/historical-basemaps

Borders of countries and cultural regions across world history. The earliest map is 123,000 BCE, marked with Homo erectus, Homo heidelbergensis and Neanderthals.

Our World in Data Grapher

1.57K stars

owid/owid-grapher

The chart engine behind Our World in Data. Population, life expectancy, energy and carbon emissions: thousands of charts with a timeline you can drag.

Orbiter space flight simulator

2K stars

orbitersim/orbiter

Fly spacecraft by Newtonian mechanics. There are no preset missions. You work out how to reach orbit, dock with a station and fly to another planet.

BOINC volunteer computing

2.49K stars

BOINC/boinc

Lets your home computer help scientists crunch numbers while idle. SETI@home used it to analyze radio telescope data in the search for alien signals, and stopped sending new tasks in 2020.