[GH-ISSUE #413] Oh my dear god why don't we just wrap it in electron #157

Closed
opened 2026-03-16 13:46:47 +03:00 by kerem · 17 comments
Owner

Originally created by @suny-yangke on GitHub (Dec 9, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/413

https://electronjs.org/

Originally created by @suny-yangke on GitHub (Dec 9, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/413 https://electronjs.org/
kerem closed this issue 2026-03-16 13:46:52 +03:00
Author
Owner

@liyasthomas commented on GitHub (Dec 9, 2019):

No need.

<!-- gh-comment-id:563117632 --> @liyasthomas commented on GitHub (Dec 9, 2019): No need.
Author
Owner

@NBTX commented on GitHub (Dec 9, 2019):

image
@suny-yangke

<!-- gh-comment-id:563336427 --> @NBTX commented on GitHub (Dec 9, 2019): ![image](https://user-images.githubusercontent.com/43181178/70456621-0fb0e080-1a74-11ea-9136-fa982fc71831.png) @suny-yangke
Author
Owner

@TheSalarKhan commented on GitHub (Mar 31, 2021):

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.

@liyasthomas

<!-- gh-comment-id:811307429 --> @TheSalarKhan commented on GitHub (Mar 31, 2021): 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. @liyasthomas
Author
Owner

@liyasthomas commented on GitHub (Mar 31, 2021):

we can't make calls to localhost for example.

Yes you can. Install our official browser extension to access localhost endpoints. Links are in readme.

api-servers that don't set cors headers it also is not usable.

Turn on proxy mode from settings.

Let me know if there's any other issues.

<!-- gh-comment-id:811452091 --> @liyasthomas commented on GitHub (Mar 31, 2021): > we can't make calls to localhost for example. Yes you can. Install our official browser extension to access localhost endpoints. Links are in readme. > api-servers that don't set cors headers it also is not usable. Turn on proxy mode from settings. Let me know if there's any other issues.
Author
Owner

@TheSalarKhan commented on GitHub (Apr 3, 2021):

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?

<!-- gh-comment-id:812851880 --> @TheSalarKhan commented on GitHub (Apr 3, 2021): 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?
Author
Owner

@liyasthomas commented on GitHub (Apr 3, 2021):

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.

<!-- gh-comment-id:812857151 --> @liyasthomas commented on GitHub (Apr 3, 2021): 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.
Author
Owner

@TheSalarKhan commented on GitHub (Apr 3, 2021):

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!

<!-- gh-comment-id:812868985 --> @TheSalarKhan commented on GitHub (Apr 3, 2021): 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!
Author
Owner

@KaKi87 commented on GitHub (Jul 21, 2021):

How about Tauri ? 😊

<!-- gh-comment-id:884156408 --> @KaKi87 commented on GitHub (Jul 21, 2021): How about [Tauri](https://tauri.studio) ? 😊
Author
Owner

@chimit commented on GitHub (Aug 26, 2021):

@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.

<!-- gh-comment-id:905985625 --> @chimit commented on GitHub (Aug 26, 2021): @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.
Author
Owner

@liyasthomas commented on GitHub (Aug 26, 2021):

A native build is in our roadmap. Watch this space for updates. Thanks for your patience.

<!-- gh-comment-id:905995053 --> @liyasthomas commented on GitHub (Aug 26, 2021): A native build is in our roadmap. Watch this space for updates. Thanks for your patience.
Author
Owner

@im-n1 commented on GitHub (Dec 11, 2021):

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.

<!-- gh-comment-id:991516594 --> @im-n1 commented on GitHub (Dec 11, 2021): 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.
Author
Owner

@KaKi87 commented on GitHub (Dec 11, 2021):

If you want desktop app learn and use appropriate language/tools

Or, use Tauri

<!-- gh-comment-id:991614865 --> @KaKi87 commented on GitHub (Dec 11, 2021): > If you want desktop app learn and use appropriate language/tools Or, use [Tauri](https://tauri.studio/)
Author
Owner

@im-n1 commented on GitHub (Dec 12, 2021):

Or, use Tauri

No. Less overhead but still the same 💩

<!-- gh-comment-id:991914060 --> @im-n1 commented on GitHub (Dec 12, 2021): > Or, use [Tauri](https://tauri.studio/) No. Less overhead but still the same :hankey:
Author
Owner

@KaKi87 commented on GitHub (Dec 12, 2021):

Tauri apps are very lightweight and much less resource-consuming than Electron apps.

<!-- gh-comment-id:991935347 --> @KaKi87 commented on GitHub (Dec 12, 2021): Tauri apps are very lightweight and much less resource-consuming than Electron apps.
Author
Owner

@AndrewBastin commented on GitHub (Dec 12, 2021):

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.

<!-- gh-comment-id:991944099 --> @AndrewBastin commented on GitHub (Dec 12, 2021): 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.
Author
Owner

@liudonghua123 commented on GitHub (Dec 14, 2021):

Hi, I have tried to build Windows/Linux/macOS desktop apps using Tauri. You can try it on https://github.com/liudonghua123/hoppscotch-app/releases. Looking forward to any bug reports, feature requests. 😃

<!-- gh-comment-id:993219870 --> @liudonghua123 commented on GitHub (Dec 14, 2021): Hi, I have tried to build Windows/Linux/macOS desktop apps using `Tauri`. You can try it on https://github.com/liudonghua123/hoppscotch-app/releases. Looking forward to any bug reports, feature requests. 😃
Author
Owner

@DanBurkhardt commented on GitHub (Oct 26, 2023):

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.

<!-- gh-comment-id:1781899644 --> @DanBurkhardt commented on GitHub (Oct 26, 2023): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#157
No description provided.