Live data from Hacker News

Slumber a TUI HTTP Client

slumber.lucaspickering.me

41–50 of 73 posts

Re: Slumber a TUI HTTP Client

#42
I tried to delete the example entries from my newly created collection but seems this is impossible on Mac without remapping the keys?

Delete key does not exist, Fn-Backspace does not work too.

Re: Slumber a TUI HTTP Client

#44
post #8
post #4

TUI stands for "Text User Interface" not "Terminal User Interface" considering that the point of TUI vs GUI is to distinguish text mode from graphical mode. The word "terminal" isn't really meant to imply text even if quite a few terminal emulators are, indeed, text mode; rather it typically means that the UI is drawn by some other machine than the one you're touching. For example, a very popular Windows Server featu…

On the other hand, there are many elements in the user interface that are not text. In fact, I think it would be quite understandable if one even separated REPLs like bash or octave to be "text user interfaces" while applications that make use of character placement and border special characters "terminal user interfaces", because they use means beyond text stream to communicate with the user. One might even render s…

> character placement and border special characters

These characters _are_ text though. They can be copy pasted like text, I can use them in my text editor, you can stick em in a string.

Re: Slumber a TUI HTTP Client

#45
These small utilities are great, now so quick and easy to create. I made a TUI version and then grew tired of it and ported it to Electron, took less than an hour for each. For those complaining about YAML format, you can create your own in less than an hour using whatever format you want.

The potentially disheartening thing about the ability to create apps like this, they are just low effort are they even worth sharing anymore? I have personal clones of Postman, Teux Deux, Goodreads and a few other utilities. Previously I would clean them up, document, and share out, but now I don't bother with most of it. Just not worth it, when people can make their own customized to their whims.

Re: Slumber a TUI HTTP Client

#46

For those who are using Emacs, https://github.com/federicotdn/verb provides similar UX, I have been using it as a postman alternative for quite some time.

Postman has turned from something that's bad, that I put up with, to something that's god awful that I simply refuse to engage with. Now days, I just do everything with curl, shell functions and history

Re: Slumber a TUI HTTP Client

#47

These small utilities are great, now so quick and easy to create. I made a TUI version and then grew tired of it and ported it to Electron, took less than an hour for each. For those complaining about YAML format, you can create your own in less than an hour using whatever format you want. The potentially disheartening thing about the ability to create apps like this, they are just low effort are they even worth shar…

Yea I don't bother trying to share my personal tools anymore. Many are just quickly slopped out by Claude and work well for me but they're not passion projects or polished to be consumable by others.

Re: Slumber a TUI HTTP Client

#48

These small utilities are great, now so quick and easy to create. I made a TUI version and then grew tired of it and ported it to Electron, took less than an hour for each. For those complaining about YAML format, you can create your own in less than an hour using whatever format you want. The potentially disheartening thing about the ability to create apps like this, they are just low effort are they even worth shar…

Being able to make apps like these so quickly with AI now has actually let me learn more than anything. I agree that most are not worth sharing, but as primarily C# developer, I've been making it a point to try out different languages that I would have otherwise never have touched like Rust and Go. That being said, I think with enough polish and a little bit of passion like this Slumber app, they do become worth sharing.

Re: Slumber a TUI HTTP Client

#49

Earlier quoted context omitted.

YAML: - - "hello" YAML expanded: - - "hello" JSON (typical formatting): [ [ "hello" ] ] And EDN for good measure: [["hello"]] I know which one I prefer :) Silly example perhaps, but once you have X lists nested in Y lists, it does become a lot easier to see why some prefer a bit more visually hierarchically stronger syntaxes

I still prefer ini files for configuration. Easier to grep and sed.

They work wonderfully until you need to do anything more advanced than a key-value store.

Re: Slumber a TUI HTTP Client

#50
post #4

TUI stands for "Text User Interface" not "Terminal User Interface" considering that the point of TUI vs GUI is to distinguish text mode from graphical mode. The word "terminal" isn't really meant to imply text even if quite a few terminal emulators are, indeed, text mode; rather it typically means that the UI is drawn by some other machine than the one you're touching. For example, a very popular Windows Server featu…

TUI also means terminal user interface. But this is wrong: > it typically means that the UI is drawn by some other machine than the one you're touching I guess you're conflating thin-client terminal in the networking sense vs vt100 hardware terminal lineage (where "terminal" comes from here), but it means a text mode interface that runs in the terminal emulator and uses, say, ansi escape sequences. Rather, when you s…

> I guess you're conflating thin-client terminal in the networking sense vs vt100 hardware terminal lineage

Yes, I didn't really think to separate the two. While my examples of ssh/telnet/rlogin are all of the networking variety, I didn't mean to exclude RS-232 (which the VT100 used). Regardless of whether the wire is for serial or packet data, if you're at a terminal (including any of the thin/dumb/smart varieties), you're not at the box doing the heavy lifting because that's on the other end of a wire representing an important demarcation, a demarcation that doesn't really apply to a local app running a text-mode user interface (or if the mental gymnastics are performed that does introduce such demarcation even within a local app -- think backend vs frontend -- then all local apps are terminals).

Post reply on HN