4 ms·
I use libghostty for Trolley[0], which packages TUIs as desktop apps, like Electron does for web apps. It really is quite an amazing piece of software. I just
by oDot 7mo ago
I use libghostty for Trolley[0], which packages TUIs as desktop apps, like Electron does for web apps.
It really is quite an amazing piece of software. I just wrapped it in a useful GUI and a bundle/package CLI and it just works. Even on Windows. Kudos to the Ghostty developers.
[0] https://github.com/weedonandscott/trolley https://github.com/weedonandscott/trolley
- nout 7mo agoI think your github readme is really missing a picture/screenshot to quickly understand what is the experience like. I.e. if your app is mainly about adding the chrome (as in the surrounding UI pixels) around the TUI, then it would be good to show what is the chrome like.
- cstrahan 7mo agoNah, I think it’s pretty clear. It would look like a terminal emulator. Just like how Electron looks like a bunch of browser widgets - because it’s literally a single-web-app browser.
- nout 7mo agoDoes it have any extra controls? And is it using native windows (as opposed to Electron)?
- theblazehen 7mo agoA screenshot would still make it clear that that's all you're getting - and no extra chrome etc
- qn9n 6mo agoI agree a screenshot or even better a video of lazygit, btop or something similar running in the tui side by side with the trolley app
- theowaway213456 7mo agoThis is a pretty cool idea. Kind of a neat distribution hack if all you have is a TUI (and not a full GUI). Curious whether you know of any success stories yet
- oDot 7mo agoThanks. This was written for my own screenwriting software, which is now in private alpha. It works quite nicely for an alpha https://blisswriter.app https://blisswriter.app
- girvo 7mo agoI kind of want to use this to turn Wordgrinder into a Mac app haha
- Imustaskforhelp 7mo agoOh this is nice! You mention that Android/IOS support is possible. I hope that you can please add these support properly as your project matures. Asking this because I would love to have a cli tool where I can just point to for example golang codebase from any device (mac/windows/linux) etc. and thanks to golang's cross compilation simplicity, have it be compiled for android (well linux arm fwiw) and then have it all be compiled into a single android apk. And if you do that, I would love to have something like zenity but for android so as to abstract the cli behind a nice gui for mass-adoption. This is almost a million dollar problem as there are so many good cli tools and its incredibly easy and versatile to make a gui even with scripts on top of that cli but Android/Ios usually don't have that versatility.