Git Product home page Git Product logo

Comments (2)

pimterry avatar pimterry commented on September 1, 2024

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.

working-name avatar working-name commented on September 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.