packages/hoppscotch-desktop/README.md
You can use Homebrew (on macOS or Linux) to install Hoppscotch
brew install --cask hoppscotch
[!Note] To enable desktop app support for your self-hosted Hoppscotch instance, make sure to update the
WHITELISTED_ORIGINSenvironment variable in your.envfile with your deployment URL.e.g. to allow connection to
https://hoppscotch.mydomain.comyou need to addapp://hoppscotch_mydomain_com(MacOS, Linux) andhttp://app.hoppscotch_mydomain_com(Windows) to theWHITELISTED_ORIGINSenvironment variable.bashWHITELISTED_ORIGINS=...existing_origins,app://hoppscotch_mydomain_com,http://app.hoppscotch_mydomain_com
To connect to your self-hosted (community or enterprise) instance:
[!Note] For docker setup, the desktop app uses a server at port
3200, and it is part of the frontend container:❯ docker run -p 3000:3000 -p 3200:3200 hoppscotch/hoppscotch-frontendOnce the container is live, you can enter
[your-ip]:3200or simply the base address of the instance if you are using subpath access.
You can also build Hoppscotch Desktop locally to self-host with on-prem infra:
cd ../hoppscotch-selfhost-web
pnpm install
pnpm generate
webapp-bundler:
cd crates/webapp-bundler
cargo build --release
cd target/release
./webapp-bundler --input [path-to-dist-directory] --output [path-to-hoppscotch-desktop]/bundle.zip --manifest [path-to-hoppscotch-desktop]/manifest.json
cd hoppscotch-desktop
pnpm tauri dev
cd src-tauri
pnpm tauri dev
[!Note]
[path-to-dist-directory]should point to thedistdirectory created by thepnpm generatecommand in step 1.
Ubuntu 24.04-like flavors ships with the exact WebKit2GTK version (2.44.0-2) that is stable enough to correctly handle interaction between WebKit, UI libraries, Mesa drivers, and Wayland displays.123
[!IMPORTANT] There may be some display oddities on Wayland systems caused by the interaction between WebKit and the underlying graphics drivers.456
Workaround:
bashWEBKIT_DISABLE_COMPOSITING_MODE=1 hoppscotch # or WEBKIT_DISABLE_DMABUF_RENDERER=1 hoppscotch # or both together
WebKit version pinning and GLIBC explanation - Detailed explanation of why specific webkit2gtk 2.44.0-2 is used and GLIBC 2.38+ requirement ↩ ↩2
WebKit 2.44.0-2 selection rationale - Why this specific version provides the best balance for Wayland support ↩
Ubuntu webkit2gtk package versions - Official Ubuntu package repositories showing version availability ↩
EGL/Mesa/Wayland bug report - Comprehensive bug report about webkit apps showing blank screens on Wayland ↩
WebKit GTK Wayland compositing issue - Upstream WebKit bug about compositing mode failures ↩
Mesa issue with webkit2gtk - Mesa driver interaction with webkit2gtk causing EGL initialization failures ↩
GLIBC compatibility matrix - User reports of specific GLIBC version errors ↩
Specific GLIBC error examples - User reports showing exact GLIBC version error messages ↩
Tauri v2 webkit requirements - Tauri v2's dependency on libwebkit2gtk-4.1 ↩
Hoppscotch Desktop build workflow - Official build workflow and instructions ↩