TUI Studio – visual terminal UI design tool

(tui.studio)

113 points | by mipselaer 3 hours ago

29 comments

  • eterps 1 hour ago
    This is nonsensical, there is nothing textual about the UIs being shown here. It doesn't stop being a GUI if you have a 1:1 representation of the concept within character cells.

    The UX actually matters, and TUIs are generally built for effectiveness and power (lazygit being an excellent example). But once you start adding mouse clickable tabs, buttons, checkboxes etc. you left the UX for TUIs behind and applied the UX expected for GUIs, it has become a GUI larping as a TUI.

    • banach 56 minutes ago
      One justification for TUIs is remote access over SSH.
      • theowaway213456 32 minutes ago
        You can tunnel a port over SSH and get a web UI locally, though it's not commonly done. I feel like more people would actually do this if tunneling a port was just ever so slightly easier (like, you're already SSH'd into a box, then you run a command, then you somehow automatically get a tunnel for that command's UI port plus a local browser window open to the page)
        • jasongill 5 minutes ago
          While in an SSH session, press enter, then type tilde and capital C (enter ~C) and you can add command line options to the current session. To add a port forward from your local 8080 to the remote port 80 without closing the connection, do:

            enter ~C -L 8080:localhost:80
        • roywiggins 9 minutes ago
          Even easier is just using an X server, if you have it set up properly you just need to run the remote app and the window pops up on your machine.

          (I think terminal-based GUIs are neat just for fluidity of use- you can pop one open during a terminal session and close it without switching to mouse or shifting your attention away from the terminal. They can also be a nice addon to a primarily CLI utility without introducing big dependencies)

      • eterps 51 minutes ago
        Sure, but my point was that UX matters for TUIs. A TUI with a UX that fits its paradigm , again like lazygit, works great over SSH.
    • mikkupikku 8 minutes ago
      Bitch please, mouse events work over SSH just fine and enabling that virtually the only legitimate reason, other than style and fashion, to make a TUI instead of a real GUI. Since the whole point of a TUI is to show off your "hacker man" aesthetic, the more fancy features you can cram into it the better. Mouse clickable tabs isn't even very exotic, vim and emacs both have it, even htop has it, I wouldn't count it as fancy and just table stacks for any modern TUI.
      • eterps 4 minutes ago
        If you think the 'mouse-clickable' aspect is bothering me, you missed my point entirely.
  • vidarh 52 minutes ago
    I really don't want my TUI's to look like GUI's rendered in low res. The appeal to me of a TUI is that it is built specifically to be a TUI, and that means eschewing complexity and detail, and favouring compact text.
  • NSPG911 2 minutes ago
    Nope, check out something like wiretext, look at this example I put together very quickly

    https://wiretext.app/w/WUtjS1bk

  • sabas123 23 minutes ago
    What is the point of having this if code generation is not functional yet? That is the entire point of this app.
  • __alexs 10 minutes ago
    The TUI hype seems like nostalgia for COBOL mainframe apps that most people have never even used. A sort of secondhand cyberpunk role play with zero focus on actual UX.

    Also if TUIs are so great, why isn't this a TUI app?

  • jbstack 29 minutes ago
    Interesting idea, but:

    > Design once, generate production-ready code for your framework of choice. Switch targets without touching your design. Alpha notice: Code export is not functional yet. We're actively working on it — check back soon.

    In other words, it isn't at all usable right now. You can't produce a TUI with it, not even a limited one.

  • SvenL 17 minutes ago
    So we’re going full circle here right? Can’t wait for the first TUI MVC/MVVM/MVP/M-whatever framework to show up.
  • fidotron 1 hour ago
    This is going to end up with TUIs that resemble old BBS ANSI art, such as https://16colo.rs/

    It completely misses the reason people like current TUIs.

    • lsaferite 1 hour ago
      FWIW, I still love to see the old BBS UIs and ANSI art. But that's probably just nostalgia talking.
      • calgoo 13 minutes ago
        FYI LLMs are great at generating the ascii art, so you can create real fun games and TUIs that look like old school BBSs.
  • pcmoore 57 minutes ago
    Watched the video. Why isn't the editor a TUI itself?
    • jappgar 24 minutes ago
      Because a website is easier to use and more accessible.....
    • baranguneysel 29 minutes ago
      Great question.
  • _pdp_ 8 minutes ago
    Am I the only one who thinks the recent TUI explosion is absolutely not necessary?

    I mean yes, code editor are great for this but a lot of the TUIs I see are so slow it begs the question why they exist to begin. CLIs are supposed to be remixable and scriptable.

    I think a better architecture would be to generally keep CLIs work like CLIs and have separate processes that add terminal rendering functionalities for those that need / want it but in general it is an anti-pattern to start from this as default.

    • mikkupikku 6 minutes ago
      Of course it's not necessary, it's a fashion. Choosing to make a TUI instead of a GUI is a fashion statement, it signals aesthetic alignment with nerdy shit and says the program isn't meant for common proles. There's pretty much nothing a TUI can do that a GUI can't do, while the opposite is very much not the case.
  • moron4hire 4 minutes ago
    Anyone notice the computer image at the top of the page doesn't have the right number of keys?
  • glhaynes 1 hour ago
    > No install fuss — download and start designing immediately.

    also

    > Gatekeeper blocks the app immediately. You'll see either "TUIStudio cannot be opened because it is from an unidentified developer" or "TUIStudio is damaged and can't be opened" on newer macOS after quarantine flags the binary. To get past it: right-click the .app → Open → Open anyway — or go to System Settings → Privacy & Security → "Open Anyway".

    • mholt 1 hour ago
      tbf that's Apple's fault, not the choice of the free, unpaid open source developer.
      • glhaynes 1 hour ago
        Apple's fault that they didn't bother to edit the text that says "No install fuss"?
  • lagrange77 32 minutes ago
    The background ASCII animation is so cool! Is it an actual simulation?
  • tim-projects 1 hour ago
    This is so cool I immediately wanted to convert my apps. But then when I thought about it, well it's trying to recreate CSS but in a majorly worse way.

    Browsers are ubiquitous and I can just tell ai to build a web page. I can't really see a use case other than novelty.

    • purerandomness 1 hour ago
      k9s, ncdu, htop, powertop are good showcases how a TUI reduces mental load and are superior to browsers and / or other GUI tools
  • webprofusion 24 minutes ago
    Ha, well proof that AI let's you build anything you can imagine. Wait till I show you Remote Desktop, one day macOS and Linux will catch up.
  • kantord 1 hour ago
    tip: your git repo's description (not readme, repo description) does not link the website. It should.
    • mcraiha 1 hour ago
      Also fill the Website field in About section.
  • elxr 10 minutes ago
    The fact that this isn't a TUI itself is a bit disappointing.

    The fact that even the preview isn't a TUI is just lame. Keyboard controls are also non-functional right now.

  • gattilorenz 1 hour ago
    Look up Visual Basic for Dos for a surprisingly good TUI editor!
  • jappgar 25 minutes ago
    Why did they make a website?
  • raincole 28 minutes ago
    When your TUI is so complex that you need a GUI to design it, perhaps you shouldn't use TUI in the first place.
    • jbstack 25 minutes ago
      I'm not sure that's a fair criticism. Many things require or benefit from something even more complex to make them (car -> factory, code -> IDE, text -> editor, food -> kitchen). I think the real debate here is that which is found in the other comments: do we want TUIs to look like GUIs?
  • varjag 28 minutes ago
    Turbo Vision strikes back
    • JSR_FDED 15 minutes ago
      One can only dream
  • MPSimmons 25 minutes ago
    This is like QTdesigner but for the terminal. Huh.
  • worthless-trash 44 minutes ago
    The corners of the boxes appear in the wrong place in the cell.

    I don't think there is utf8 characters that allow for drawing on the outside of the cell, (happy to be wrong)

    ┌ (U+250C), ┐ (U+2510), └ (U+2514), ┘ (U+2518) <-- these 4 draw in the middle of the cell.

    「 (U+FF62), ⌟, (U+231F), <-- these are two that cover part of the outside, but not the other corners.

    「┐└」

    Can anyone tells me how to get those 'corner of cell' characters, including uprights and horizontals ?

  • aethorn 1 hour ago
    The website UI is unreal, I loved the idea
  • trollbridge 36 minutes ago
    I don’t want to be a curmudgeon, but why not just use CSS, HTML, React, etc. at this point? You could choose a style that looks like a TUI.
  • grilo16 2 hours ago
    Noice figma for terminals! Dude super cool idea, great job =D
  • kantord 1 hour ago
    this looks insanely cool.

    One of the most original ideas I have seen on HackerNews in the past few years.

  • lsaferite 1 hour ago
    I find it slightly annoying and disappointing that the blocks saying what frameworks it's designed to export to aren't links to those frameworks.
  • mipselaer 3 hours ago
    Amazing cool design tool for TUI's I got it running instantly and it feels stable and complete as well. Only 10 stars in GitHub.