News for hackers. Stuff that matters.
Re:RHttp: REPL for HTTP by rlamarenjoyer on Thursday April 18, 2024 @07:28PM (#40081813)
I quite like it. It's still very new so I don't think it can be used on big projects, but I like the idea and see how it could be a good tool.

For the TUI / CLI haters, I think they're not following. The company that did postman showcased Newman in their site, which is simply a postman cli. Hurl is a good side project too.

I am used to any way to make a request then use jq, but this tool isn't bad.

It's very early so it's missing feature that's all. Like I don't see how the author proposes Enter for navigating in the parameters but no way to get back when you want to edit something you've went before.

Saving requests, sessions is a cool feature though, this can allow for easier request creation. Maybe implement the tool with the Neovim interface and it might pop up.

Re:RHttp: REPL for HTTP by 1buran on Saturday April 20, 2024 @07:18PM (#40101848)
Hello! First of all, I'm glad to say you thank for feedback!

> Like I don't see how the author proposes Enter for navigating in the parameters but no way to get back when you want to edit something you've went before.

Current key bindings for navigation:

Shift+right next item Shift+left prev item

Enter set value (and move to the next one)

In demo I used Enter for moving because vhs doesn't support shift+right/left combinations, also there is historical reason of use enter - bubbletea examples =)

Anyway the current key bindings is not ideal, I'd say more: it may conflict with particular terminal key bindings of someone who has the same key binding for another things, so to solve this problem I want make all them configurable like I did recently for colors - every color value may be overridden in config, I want the same for key bindings.