1
100%
u/BootingBot
2 hours ago
MacOS native ui shell (Swiftty) (+ rant on shells)
Vibecoding notice, if you do not agree or are against vibecoded apps this post is not for you, this app was fully developed using claude code so if you are not comfortable with that please ignore the part where I talk about swiftty, but you are still welcome to voice your opinion on the other things in this post.
Recently I started going deeper into what a terminal really is (I always understood how it works generally but I have never really thought about it / questioned the design of the current tools)
For context I am generally really against TUIs I just feel like they are a fundamentally bad concept in today's day and age where to draw ui we can make actual gpu calls instead of trying to "draw" with characters.
I was staring at my customized zsh shell inside ghostty and wandered, why is none of this (my autocomplete, conda env, cwd etc) drawn with characters? Why not just draw a proper ui?
With that I tried using warp terminal because i really liked that they do ui with actual ui (proper text editing like in the rest of the system, scrolling etc etc) but for some reason they just still use zsh and have to use hacky escape sequences and wrappers to manage driving the real shell which is zsh by a modern ui. But why?
This was at a time where I tried to understand why we even have a shell in the first place, the conclusion I came to is that we have it because we need a way to run programs located on our computer and for historical reasons where we didn't use to have desktop environments it naturally had to be text based. But on the most fundamental level it's just a program that launches other programs.
At the end zsh is both the logical part which creates forks with the commands it's running and then the frontend part which we are all familiar with, so why do alternative terminals always just use the same old text frontend which zsh provides?
So, I understand this all might be all chaotic, and i am not in any way saying I have the correct opinion (it is only an opinion based on my time doing programming which many people spent way more time on) and this all might be a bit of a thought dump so sorry that.
Anyway, this all lead me to create swiftty,
Swiftty is a desktop application which is meant to replace your terminal emulator and your shell, it does both because it is both in one. Swiftty uses modern native macos ui elements and tries to approach the problem of interfacing with programs which have no desktop interface with a fresh mind, which allows us to implement features other terminals might struggle to do cleanly.
I would greatly appreciate your feedback on my thoughts and on Swiftty. I am very open to discuss this topic with anyone interested. For longer chats you can always send me a dm over at discord (nick
qb1t)
You can download it for free over at https://swiftty.sh but I have to remind you that I do not recommend using it as your main shell / something you depend on etc, there is no warranty, this is my personal experiment project that i make in my free time (and it is vibecoded) so take it with a grain of salt.