r/tui • • Jun 09 '26 • Mindblown 1

Vibe coded Terminal Space Program - "Kerbal Space Program" space simulator that runs in your terminal, built with Go + BubbleTea

Posting here this subreddit gave me some inspiration for my game project, Terminal Space Program. The app is written in Go and uses BubbleTea to render a graphical interface inside your terminal emulator or SSH session.

I've been iterating on this for the last ~6 weeks and find it increasingly rewarding and capable to play around in. After many failed attempts, I've even flown a round trip Apollo 11 style mission. Not to mention failed landings, rescue missions to grab your stranded-in-orbit vessel, all the familiar stuff.

What works?

Just about everything you can think of around orbital mechanics, surface launch, planned maneuvers, rendezvous / docking (with a simplified relative distance + velocity logic), surface landing, aerobraking.

The main system is our real solar system, Earth, Moon, Mars (etc) all have accurate gravity, requiring accurate Delta-V to create and change orbits.

I recently introduced a familiar 1/10th-scale system named Lumen; home to a familiar planet, Kernel, with two moons, Cursor and Glyph - and a nearby red planet, Rust. A Lumen-specific vessel is scaled to that environment. It's a little rough appearance-wise as I haven't ported any textures over to that system, but vessels fly and hit familiar Delta-V marks for launch, Cursor (Mun) transfers, etc.

Controls

Everything is mapped to your keyboard - nav mode/direction, throttle, staging, etc. Most follow a KSP default mapping. An in-game menu covers them all, and a quick walk-through is available in the controls documentation. There's even a boss key :)

Mouse support is integrated to a small degree.

History

I took early inspiration from KSP (obviously), and another TUI application that crossed my path early this year - furan917/go-solar-system.

Give it a try and drop me some feedback!

473 Upvotes

Duplicates