This repo contains the desktop build setup for HTTP Toolkit, a beautiful, cross-platform & open-source HTTP(S) debugging proxy, analyzer & client.
Looking to file bugs, request features or send feedback? File an issue or vote on existing ones at github.com/httptoolkit/httptoolkit.
This repo is responsible for building HTTP Toolkit into standalone desktop installers & executables that users can run directly on Windows, Linux & Mac.
HTTP Toolkit consists of two runtime parts: a UI, written as a single-page web application, and a server, written as a node.js CLI application.
This repo builds a single executable that:
This means this is mostly Electron configuration & setup, and build configuration for the executable and various installers. It's built using Electron Builder.
This isn't the only way to run HTTP Toolkit! It's the most convenient option for most users, but it's also completely possible to run the server as a standalone tool and open the UI (hosted at https://app.httptoolkit.tech) in any browser you'd like.
Note that the resulting executable doesn't autoupdate (at the moment). Instead both the server (as an oclif app) and the web UI (via service workers) include their own auto-update functionality.
The builds themselves are done on GitHub Actions, and tagged main
builds are automatically published from there as github releases.
If you want to change the behaviour of the HTTP Toolkit desktop shell (but not its contents), change how it's built, or add a new target platform or format, then you're in the right place :+1:.
To get started:
npm install
npm start
- runs the desktop app, downloading the latest live server & using the live UI from app.httptoolkit.tech
.
npm run start:dev
- runs the desktop app, with no built-in server using the UI from localhost:8080
npm start
, to work on the UI within the desktop app.npm start
in the server project, and npm run start:web
in the UI project, to work on the server or both.npm run build
- this will attempt to build & package the desktop app for your current platformA few tips:
build
field in package.json
.
forceCodeSigning
to disable that.The HTTP Toolkit desktop application source code is licensed under AGPL-3.0, as documented in this repo.
The binary downloads available in this repo or from httptoolkit.tech however may be used under one of two licenses: