That's awesome! The animated GIF on the README does a great job showcasing it. I've been working on a more complex GUI API testing tool (https://insomnia.rest) but, to be honest, nothing beats a simple command line tool like this for "quick tests".
If you mean the general principle of this kind of pseudo-GUI in text mode, look into codepage 437 [1]. It's possible to do more advanced stuff with custom glyphs [3], but it doesn't look like this does anything like that - it generally requires direct hardware access to modify the font.
This was a pretty common technique in 90s DOS programs, but it can be tricky to get working cross platform over a serial terminal. The library you found seems to rely on termbox [2] for that.
For UNIX-style terminals, there are also VT-nnn (can't remember the nnn) line drawing commands, and Unicode line drawing characters.
My favorite DOS app that modified the VGA font was Impulse Tracker. It could actually draw oscilloscopes in text mode, and its source code is available.
What is it with adding "written in Go" to titles like this? Was the title editorialized to get upvotes from the Go fans? Is "written in X" added to project titles in general and somehow I just haven't noticed it?
>Is "written in X" added to project titles in general and somehow I just haven't noticed it?
The "written in X" is a very popular[1] type of post for the HN audience because it usually points to source code like github/sourceforge. Your annoyance about it is puzzling and out of place. It's as if a commenter complains on a photography forum about a post titled "Paris Eiffel Tower taken with Canon 35mm lens"; the "Canon 35mm lens" is part of what makes the post interesting to potential readers of that particular community.
No, it's not just Go - Rust in particular as well at the moment, but also others.
As sibling comment says, it's another angle for HN readers to be interested in. Someone might read it and think "meh, I like postman, I'm fine with that - oh but hey, Go, that's interesting - I like Go, I wonder how they..."
It's pretty much the standard here, 'x' written in Go, Rust, Elixir, C#, Swift, etc
I can't understand how you are just noticing it now ?
Anyway I don't see a problem with it, like someone else mentioned, I might not be interested in yet another implementation of 'x' and would just scroll past it, however if it's implemented in a language I'm interested in then I might want to check out the code.
Nicely done! I've become a big fan of interactive command-line programs. I hate modifying cURL commands inline when I really want something REPL-like :)
These HTTP clients are all very cool, and probably fun pet projects, but they shouldn't stop devs from learning as much cUrl as they can. It's the Swiss army knife of web services.
State and easier navigation/alteration. The most painful part of curl commands (for exploring) is editing the command when you want to change a parameter, header, etc.
I like this interface personally because it separates the path to its own area, then headers and query parameters are separate areas with each instance on its own line.
It makes it quite easy to explore a rest interface and tweak your queries ad hoc.