Comments (2)
Thanks for the feedback (I've updated the text to focus on the issue itself).
The app download contains a) yes, Electron, b) the backend server, and c) the glue to start that, connect to it from the UI, and handle various error cases. If you're interested in how this all hooks together then there's more detail in the README.
The UI itself is loaded and updated from the network, primarily to ensure that it's easy to update as a tiny download, without rebuilding, rereleasing & redownloading the whole binary for every change. Network connectivity is generally a safe bet here, since it's a networking tool, so it's not much use without internet access anyway. After the first run the latest UI is cached in a service worker, so you don't need any network connectivity to start the app later on.
I'm open to bundling a recent version of the UI with the desktop build, but it's difficult to do cleanly and it's rarely an issue, so it's not a high priority for me right now. If you're interested and you want to open a PR though I'm happy to review it. Note that HTTP Toolkit Pro is totally free for all open-source contributors.
Alternatively, it sounds like you might just not like Electron? Electron isn't strictly required, it's just the default for distribution & consistent deployment behaviour. If you'd prefer you can instead download & run the server directly (from https://github.com/httptoolkit/httptoolkit-server/releases or via npm) and then open the UI via https://app.httptoolkit.tech in any Chromium browser or in Firefox. See https://httptoolkit.tech/docs/guides/troubleshooting/#i-hate-electron
from httptoolkit-desktop.
I see, makes sense, I'll give it another shot one these days.
I'm not at all against Electron, it just took me by surprise to see a white screen. It might be worth your time to have a default notice on there which would be replaced by the actual UI bundle once it's available. Something to the effect of "Waiting to download first time only bundle...". Hopefully that's a lot less headache in terms of management.
I don't know if I have the skill for a PR but will look into it.
As you most likely know there's a lot of bait&switch out there in terms of software. Advertised as doing X and Y, then you run it and find out what the fine print really was. Definitely judged your software too harshly especially for not having actually run it (didn't let it download its bundle).
Thanks again!
from httptoolkit-desktop.
Related Issues (20)
- Add prettier to auto format?
- support for offline usage HOT 3
- Document how to do a silent install on Windows HOT 3
- Error with 3221225785 HOT 1
- Error on Windows 7 HOT 5
- Building issue HOT 5
- app crashes HOT 2
- Building Issue Ubuntu 22.04 (improvement) HOT 2
- npm run start:dev fails to start HOT 7
- [Feature suggestion] Implement Built-in Update Check Feature for Enhanced User Experience HOT 3
- Install issue HOT 9
- HTML markup showing up in the Debian installer HOT 6
- Publish native binaries for Apple Silicon HOT 1
- Build with custom UI HOT 5
- Hi, can you add dark mode please? Everything is way too bright. Thanks. HOT 1
- Publish standalone native Apple Silicon binaries for macOS HOT 1
- HTTP Toolkit not open HOT 1
- 1.14.11 a beta version HOT 1
- how to setting the external proxy like charles HOT 2
- loading error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httptoolkit-desktop.