LibreCosmos — fly spacecraft from a Linux shell

LibreCosmos

4 min read Original article ↗

LibreCosmos OS / independent expeditions

For independent
space explorers.

Join the community of free space researchers in the world of LibreCosmos. You operate automated ships from Earth, connected to their instruments and services through LibreCosmos OS.

A free hobby space simulation in the spirit of free software: small expeditions, shared repair designs, and observations that help the next researcher.

Or from your own terminal: ssh -p 2222 player@play.librecosmos.com — any SSH key, no password.

Made for a keyboard and a larger screen: on a phone, bookmark this page and play on a computer.

Free hobby project · Version 0.7.0 (in development)

☕ Buy me a coffee — support development ↗

KRILL / CERES-PORTGUI

Desktop Stephen proximity view seen from an angle: the wire model of the Ceres-Port docking ring and modules, with the expedition carrier Caravan and the survey ship Krill docked to it.
Krill and Caravan, docked at Ceres-Port.TUI and GUI screenshots

Independent expeditions. Earth & Moon.

Shared tools. LibreCosmos OS.

Research records. Files, wiki & mail.

Working in LibreCosmos OS

Familiar commands,
aboard a spacecraft.

Linux-style tools connect you to the ship’s instruments, research files and running services.

01 / SERVICES

Start a scanner service.

In low lunar orbit, start the surface scanner like a Linux service, then begin mapping. The instrument needs power throughout the scan.

systemctl start scanner
scan
02 / FILE TRANSFERS

Send your findings with scp.

Analyze a sample collected by a probe, then copy the lab report and raw spectra to Tsiolkovsky station over the ansible link.

scp lab-sample-moon.* tsiolkovsky:
03 / MONITORING

Check what your ship is doing.

Use top to watch running services, jobs and power consumption. Switch to sysinfo for the ship’s battery, fuel, cargo and installed modules.

top
sysinfo

>_ TUI / Terminal

For experienced Linux users.

A keyboard-first environment for people who live in the terminal: a braille orbital map, direct commands, jobs, services, files and dedicated RCS controls for docking.

The mission guide is there too. Familiar Linux habits have a place in this spacecraft’s working environment.

Open the terminal

◎ GUI / Graphical

Graphical mission control.

A wireframe map, live ship status, tool panels, an inbox and a flight planner. Use the panels, type commands, or move between both as you work.

Actions are recorded in the console. The orbital mechanics, missions and spacecraft systems are the same in both interfaces.

Open the graphical console

Both interfaces share the same operators and campaigns in this browser. Switch with ui gui or ui tui whenever you like.

Support the real project

Help keep LibreCosmos going.

Outside the simulation, LibreCosmos is a free hobby game. Useful feedback, careful reports and sharing the project all help. If you would like to support further development, you can buy the developer a coffee.

First connection

Getting started.

Both interfaces have the same mission guide. Your first assignment explains the commands and the orbital maneuvers as you use them.

mc> useradd operator

mc> connect kestrel

kestrel> target tsiolkovsky

# Continue with the mission guide.

  1. Create your operator.Use useradd <name>, then choose your first ship's name. Use Kestrel to follow this example.
  2. Connect to your spacecraft.Type connect kestrel, or substitute your chosen ship name, to open its ansible link and receive your briefing.
  3. Follow the mission guide.Click a suggested command or press F4 to fill the terminal; Enter runs it.
  4. Ask when you need a hand.hint repeats the next step. man start explains the basics. Tab completes commands.

Development notes

Recent work on the project.

All updates

Version 0.7.0

From outlines to photographs.

Continental coastlines, lunar maria and Ceres crater outlines share the camera’s geography. Follow daylight and shadow across a turning world.

Read the update

Version 0.6.8

Your expeditions, between consoles.

Save an expedition to your account and continue on another device, with photographs and a private mission overview. Photos previews your Orbital Commons cover before sharing.

Read the update

Version 0.6.7

A calendar, and a gallery for your photographs.

Mission control counts days from 8 October 2035, and the Orbital Commons gallery shows photographs operators sent in from their spacecraft.

Read the update