-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oh my dear god why don't we just wrap it in electron #413
Comments
No need. |
I think there should be an optional build script for people who want to use this in electron. I'm interested in hoppscotch not because its a web app, but because its open source. <3 There are a few problems with running it in the browser because we can't make calls to localhost for example. And for api-servers that don't set cors headers it also is not usable. I have used electron to build a personal application for my use, I can raise a PR to add an electron build for hoppscotch. Thank you sooo much for the lovely product. |
Yes you can. Install our official browser extension to access localhost endpoints. Links are in readme.
Turn on proxy mode from settings. Let me know if there's any other issues. |
Hey @liyasthomas thanks a ton. I really did not know about the extension. Also if I install the browser extension and turn on the proxy will I be able to interface with IPs in my local network or is the localhost the only possible endpoint? |
Proxy and extension can't work at once. To access local server = use browser extension. To access CORS restricted endpoints = turn on proxy mode. Proxy mode will mask your IP with that of the Proxy. Browser extension triggers the request from local server. |
Okay. Well in my usecase I have to interact with multiple services that are in development, usually they are on my localhost but sometimes they are on endpoints that are not publically accessible so can't use a proxy for that case. And turning off cors on them before accessing So there are use cases where running in the browser doesn't cut the mustard. But I'm really happy with this tool, and I'm using it inside an electron build and it works flawlessly without a proxy or an extension. Cheers! |
How about Tauri ? 😊 |
@liyasthomas there is no extension for Safari. Electron build would make everything much easier. I've heard a belief from a couple of devs that Postwoman/Hoppscotch is not usable because it can't access localhost. |
A native build is in our roadmap. Watch this space for updates. Thanks for your patience. |
Electron is a bloat. Huge bloat. Don't send another great project into that hole. If you want desktop app learn and use appropriate language/tools. |
Or, use Tauri |
No. Less overhead but still the same 💩 |
Tauri apps are very lightweight and much less resource-consuming than Electron apps. |
I am working on a native app, just that it is not a big priority compared to the other features we want to work on and along with extension and PWA, most of the things a native app can do is basically possible. The native app project worked on internally is based on a subset of Tauri using only parts of it we intend to use. |
Hi, I have tried to build Windows/Linux/macOS desktop apps using |
super super curious why this isn't officially released for macOS as an electron app. You could even ship on the App Store, kind of perplexing. |
https://electronjs.org/
The text was updated successfully, but these errors were encountered: