logoalt Hacker News

Slumber a TUI HTTP Client

155 pointsby jiceatoday at 4:29 AM57 commentsview on HN

Comments

hunter2_today at 6:42 AM

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 feature formerly named "Terminal Services" is for GUI terminals, not TUI terminals. A likely source of confusion is the MacOS app named Terminal, which only becomes a terminal in the real sense of the word once you decide to let some other machine draw your UI (ssh, telnet, rlogin, etc.).

But it looks very cool!

show 5 replies
ananthakumarantoday at 7:52 AM

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.

show 1 reply
marcuskaztoday at 2:41 PM

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.

show 3 replies
whittentoday at 5:48 PM

There is some discussion here about text user interface versus terminal user interface.

There is also the term CHUI for Character User Interface that is contrasted with TUI.

jhytoday at 7:47 AM

> Slumber is a terminal-based HTTP client, built for interacting with REST and other HTTP clients

I wonder what that means -- I looked around the docs but didn't see that it interacts with other clients. I thought maybe it would show a generated curl command or something along those lines. But perhaps it's just a typo for HTTP servers?

show 1 reply
tracker1today at 4:15 PM

Not sure if it's supported, but would be cool to take an openapi spec doc and generate the scaffold for queries, similar to swaggerui but inside this tui.

vladdetoday at 7:30 AM

looks nice when you want to quickly get something up and running! i'm trying to move away from GUI-based, and i haven't really found a nice workflow with just using curl

https://justuse.org/curl/

show 2 replies
keyletoday at 6:44 AM

If it could import and export postman collections and env, you'd have a customer for life!

onionytoday at 12:54 PM

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.

voidUpdatetoday at 7:10 AM

> "To that end, configuration is defined in a YAML file called the request collection"

Genuine question, why do people use YAML? I've been using it a little bit recently (reading existing documents, not writing my own), and it just seems like a more overcomplicated and less human-readable version of JSON? With potential security vulnerabilities?

show 7 replies
unkn0wn_roottoday at 9:04 AM

Resterm is also another api TUI client https://github.com/unkn0wn-root/resterm but uses .rest/.http files instead.

smetjtoday at 6:42 AM

That looks great! Will give it a spin during my daily work. Thanks for making and sharing it.

cafebabbetoday at 12:22 PM

looks very polished and neat. Alas for me 10-20ish lines for the json response is really, really not enough

zdkastertoday at 6:33 AM

Love the support for neovim integration

uallotoday at 7:19 AM

https://github.com/darrenburns/posting is another TUI client.

show 1 reply
rastrojero2000today at 12:33 PM

Doesn't feel particularly accessible, NVDA kept yelling at me all kinds of confusing things for daring using it :(

sgttoday at 8:04 AM

The "Postman" team hates this one app...

PikitiDevtoday at 6:55 AM

[flagged]

thelookintoday at 9:24 AM

[dead]

bmn__today at 11:28 AM

> built for interacting with REST

I just tried it to verify that claim, but the software does not follow a hyperlink. How did you manage to screw up such a basic feature?

dhruv3006today at 7:16 AM

Great to see this space so active.I see this a TUI.

You can also try out Voiden : https://voiden.md/ which has a different approach to this.

Also YAML is a interesting choice - any reasons for this.

PS : I am associated with Voiden.