r/tui
•
u/jasonfen77
•
Jun 09 '26
•
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!
2
u/SyanticRaven Jun 28 '26 edited Jun 29 '26
I love it! Very beautiful looking (Im Furan917)
Took me a little to get used to the controls, I just enabled the tutorial and was pretty fun.
1
2
u/Klutzleo Jun 10 '26
This is great. God I love seeing a project like this. I feel inspired. Thank you
2
u/Klutzleo Jun 10 '26
Sorry, I need to elaborate haha.
I've been working on a ASCII looking game but never thought about actually putting it in terminal.
My brain is going nuts right now.
Thank you for sharing!
2
u/jasonfen77 Jun 10 '26
I grew up on a lot of BBS games (Trade Wars if anyone is as old as me), and am in a tab of Ghostty all day anyway, so I figured I should have a game of my own to play in it.
When you put something out, send it my way! I have a few other concepts bouncing around (like a new Trade Wars).
2
u/Klutzleo Jun 10 '26
I miss the old BBS ways of life.
But yeah that makes a ton of sense and a great place for inspiration.
I'll follow you on GitHub. Not sure how long it could take, I have a lot of silly irons in the fire...
1
u/Next-Foot7833 Jun 10 '26
I'm already installing it!!!
1
u/jasonfen77 Jun 10 '26
Looking for genuine feedback - leave a comment on the repo or drop me something here!
2
2
2
2
2
u/AtmosphereRich4021 Jun 09 '26
How you made the circle? Im using ratarui can't figure it out