News for hackers. Stuff that matters.
Re:Show HN: Insomnium – 100% local and privacy-focus fork of... by whiskeytuesday on Friday September 29, 2023 @03:47PM (#37709253)
Insomnia already does this, at least did as of version 2022.6.0. Right click on the name of the request in the sidebar to find "copy as curl" and "generate code", Ctrl+Shift+G also brings up the Generate Code interface.

I'll check if the more up to date version that insomnium is based on has the same feature once I get it built.

Re:Show HN: Insomnium – 100% local and privacy-focus fork of... by whiskeytuesday on Friday September 29, 2023 @04:11PM (#37709539)
Finally got a build, at least on my machine the features are still there except you can't right click on the list items any more, you have to click the little ▼ next to the item.
Re:Show HN: Insomnium – 100% local and privacy-focus fork of... by blacksmith_tb on Friday September 29, 2023 @05:25PM (#37710256)
When I went looking for alternatives to Insomnia I was pleasantly surprised to see that RecipeUI[1] will let paste in curl commands with various flags etc. and parse those to generate new entries, pretty slick.

1: https://github.com/RecipeUI/RecipeUI

Re:Show HN: Insomnium – 100% local and privacy-focus fork of... by Volbohel on Friday September 29, 2023 @05:51PM (#37710539)
Hi, one of the makers of RecipeUI. Happy to hear this is something you liked! We're still finding edge cases when it comes to parsing cURL commands, so if you find any that we missed please file an issue or send us a message (here or discord).

Also glad to hear any other feedback you have :)

Re:Show HN: Insomnium – 100% local and privacy-focus fork of... by postalrat on Friday September 29, 2023 @05:46PM (#37710485)
Thanks. I looked for that feature before in insomnia and didn't find it.