News for hackers. Stuff that matters.
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?
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.
Re:RHttp: REPL for HTTP by eddd-ddde on Thursday April 18, 2024 @09:47AM (#40076201)
For what is worth, you can also run containerized GUI apps.
Re:RHttp: REPL for HTTP by efrecon on Friday April 19, 2024 @10:55AM (#40087622)
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.
Re:RHttp: REPL for HTTP by 1buran on Saturday April 20, 2024 @07:30PM (#40101927)
interesting thought... i've never think about TUI in this perspective
Re:RHttp: REPL for HTTP by 1buran on Saturday April 20, 2024 @07:31PM (#40101933)
> 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...

Re:RHttp: REPL for HTTP by mxuribe on Thursday April 18, 2024 @07:46AM (#40075155)
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!