Re:RHttp: REPL for HTTP
by sublinear on Thursday April 18, 2024 @01:00AM
(#40073118)
Maybe I'm missing something. How is this better than browser devtools in say firefox?
[ Parent
| on HN ]
Re:RHttp: REPL for HTTP
by knallfrosch on Thursday April 18, 2024 @07:43AM
(#40075130)
How is it better than Bruno, or Postman? Who knows.
I've got the feeling that some people fetishize terminal application.
Re:RHttp: REPL for HTTP
by quectophoton on Thursday April 18, 2024 @09:03AM
(#40075766)
Probably differences on how different people work.
One convenient thing you can do with terminal stuff is running it in a disposable Docker container without having to install anything on your PC (assuming you already have docker):
docker run --rm -it "${TERMINAL_APPLICATION}"
I do this stuff all the time.For what is worth, you can also run containerized GUI apps.
I've built dew for this. It "knows" about many of those apps (and where to get a container from). https://github.com/efrecon/dew. Adding a term app is usually just a matter of crafting an .env file with the necessary settings.
Re:RHttp: REPL for HTTP
by brain_elision on Thursday April 18, 2024 @11:16AM
(#40077118)
Yea TUI never sat well with me since the whole point of CLI over GUI applications is that you have control over the interface that doesn't require changing the source/using an extension system. TUI applications is like a step in-between GUI and CLI that I feel isn't necessary.
interesting thought... i've never think about TUI in this perspective
> This is project was created when I needed something like REPL for http request in terminal, there are many great tools exist: Postman, Insomnia, httpie, curl etc but i wanted something little bit different, something lightweight, simple and fast, something like REPL when I can quickly modify request, send it and see the response with all the details. I wanted such utility with minimal magic, ideally without any black magic under the hood.
> The project has no ambitious goals. It is not killer of Postman or httpie or curl. I hope you may find it useful.
https://github.com/1buran/rHttp?tab=readme-ov-file#introduct...
I'd say it lives somewhere between curl and postman....that is, more than curl since it seems interactive to me, but not as "feature-visible" as say postman. Sort of like a REPL but with a TUI. It does seem pretty neat though!