1,606 karma · joined Feb 4, 2011 (15y ago) · 164 submissions
1.
Is the decline of reading poisoning our politics?(vox.com ↗)
4 points · by jkbr · 1y ago · discuss
comment 2y ago · link · parent
comment 2y ago · link · parent
[0] https://github.com/httpie/cli/blob/master/httpie/internal/up...
[1] https://github.com/httpie/packages.httpie.io/blob/master/lat...
comment 3y ago · link · parent
$ time http --version
3.2.2
real 0m0.113s
user 0m0.087s
sys 0m0.020s
$ time xh --version
xh 0.18.0
-native-tls +rustls
real 0m0.007s
user 0m0.002s
sys 0m0.002s
[0] https://httpie.io/blog/httpie-3.0.0#speed-upscomment 3y ago · link · parent
The desktop app is not ready to be open-sourced yet.
> There is 0% chance that this will avoid the route that POSTman and Insomnia have paved.
HTTPie has been around for 10+ years, and the new desktop product is built around the idea that we can do much better than the incumbents (from a much simpler interface and more pleasant UX to a more aligned set of incentives supporting incognito, free, as well as paying users/companies).
> WTF is it about these tools that the creators think will make us tolerate the sudden switch from free to paid? I am dead tired of watching this play out over and over.
What Postman and Insomnia did is not cool. But that does not mean it’s unavoidable. Even though it complicates development, we’re local-first from the very start. Accounts and sync are optional layers on top of it.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
As the first paragraph in the README says, we use the GitHub repo to host releases and issues.
Having it on GitHub under the same organization as our other projects that already are open-source is convenient for both us and our users — https://github.com/httpie.
> and even sharing it on HackerNews right after the issues with closed source by Postman too. Feels like an "open source alternative", but not really, hence the sketchy accusation.
The person who shared it is not related to HTTPie.
Given the quality of the discourse here, I almost wish they did not! ;-)
comment 3y ago · link · parent
comment 3y ago · link · parent
>> not open-source yet
> Can you be more clear? Is the Desktop app going to be open-source in the future? If so, what license?
Yes, but have no ETA or license choice yet.
> Do you intend to monetize this product? If so, how?
Yes. We strongly believe in a freemium where both free and premium users are happy. We’ll primarily monetize collaboration and enterprise features without cannibalizing free users. In this sense, we’re inspired by companies like GitHub or Figma. And in our case, free also includes users without an account.
> As a side note: I find it strange that you feel the product is not stable enough to share the code, but apparently stable enough to share the product itself.
Running an open-source project well is not easy and takes resources. Building a great product is hard on its own. Our primary goal is to design and build the best API product possible, so we direct all our energy there for now.
comment 3y ago · link · parent
We appreciate your interest, but we never gave an ETA. I do regret having made the intention public, though.
> At a minimum you should remove the banner at the bottom of the page claiming it's open source.
That’s a good point. As I wrote in another comment below: I’ve now updated the website template not to show the image with the slogan on this page. Thanks for the feedback.
comment 3y ago · link · parent
The desktop app also allows you to copy a corresponding HTTPie CLI command, which you can then enrich with --verbose, run in the terminal, and more easily copy the whole exchange output.
comment 3y ago · link · parent
If you mean the request and response message pair, we call it "exchange" [0].
> It goes without saying that this is a hard requirement I have for any API client but sadly most ones I tried always lack some information somewhere.
Both HTTPie Desktop and HTTPie CLI allow you to see the entire exchange. In the CLI, you can use the --verbose flag [0]. In the desktop app, there’s a “Request” tab.
They both also support previewing the request without sending it. The CLI has --offline [1], and the Desktop has a live preview feature [2].
[0] https://httpie.io/docs/cli/what-parts-of-the-http-exchange-s...
[1] https://httpie.io/docs/cli/offline-mode
[2] https://raw.githubusercontent.com/httpie/desktop/master/.git...
comment 3y ago · link · parent
HTTPie CLI has been open-source for a decade. HTTPie Desktop has yet to be open-sourced. We first want to get the product, architecture, and codebase somewhat stable. As the README says, we use the GitHub repo to host releases and issues.
comment 4y ago · link · parent
comment 4y ago · link · parent
The final syntax is heavily inspired by the HTML JSON forms one. But we made it stricter, added type safety, and some other features. It also supports all the existing functionality like embedding raw JSON strings and JSON/text files by paths.
The final implementation[2] is completely custom. We have plans to ship it as a standalone tool as well, publish the test suite in a language-independent format and write a formal spec so that other tools can easily adopt it. This spec will eventually be a subset of one for the overall HTTPie request language, which is currently tied to our CLI implementation but we want to decouple it.
Happy to hear you like the desktop app!
[0] https://github.com/jdp/jarg
[1] https://www.w3.org/TR/html-json-forms/
[2] https://github.com/httpie/httpie/blob/master/httpie/cli/nest... — this is the path parser