Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keychron Launcher Offline
A desktop app for the Keychron Launcher that also works without an internet connection. It wraps the official web app in Electron, keeps a local copy of everything it needs, and talks to your keyboard or mouse directly over WebHID, the same way the website does in Chrome.
| DPI settings | Launcher settings |
|---|---|
![]() |
![]() |
Features
- Works offline. App code, images, translations and device data are served from a local cache.
- Learns while online. Everything the launcher loads while you are online is saved automatically. A device that was connected online once keeps working offline afterwards.
- Always up to date when online. Device data, translations and the start page are fetched from Keychron first and only fall back to the cache when there is no connection.
- Native device access. WebHID, WebUSB and Web Serial work without a browser. If several devices match, a picker dialog asks which one to use.
- Custom title bar with the native window buttons, a reload button and a ⚙ settings panel:
- Offline only: never touch the network
- Start page: "Mouse · Advanced" or the launcher home page
- Cache statistics, open the cache folder, clear learned data
- Reload (F5) and DevTools (F12)
- The title bar follows the launcher's light or dark theme.
- No tracking. Google Analytics and Keychron's event tracker are blocked.
Download
Every push to main builds two Windows files (see the latest build run under Actions), and every v* tag
attaches them to a Release:
| File | Use |
|---|---|
Keychron-Launcher-Offline-Setup-<version>.exe |
Installer with Start menu and desktop shortcuts |
Keychron-Launcher-Offline-Portable-<version>.exe |
Single exe, no installation |
Firewall: if your Windows Firewall blocks programs until they are allowed, add an outbound allow rule for the app. Otherwise it just runs offline from the bundled cache.
How it works
┌──────────────── Electron window (frameless) ────────────────┐
│ shell page https://launcher.keychron.com/__shell/ │ title bar + ⚙ settings
│ ┌──────────────────────── iframe ──────────────────────────┐ │
│ │ https://launcher.keychron.com/#/mouse/advance │ │ the original web app
│ └──────────────────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────────────────┘
every https request ─► protocol.handle('https')
├─ launcher.keychron.com ─► cache (seed/ + learned) ⇄ network
├─ analytics / trackers ─► blocked
└─ anything else ─► network
The launcher runs under its real origin, so its host-based configuration, localStorage and API URLs stay
unchanged. main.js intercepts all requests to that origin:
- Hashed bundles and
assets/never change, so they are served cache-first. index.html,/vapi/…and/static/…are fetched from the network first (4 s timeout), stored, and served from the cache when offline.- Data comes from two places:
seed/, which ships inside the app, and%APPDATA%\keychron-launcher-offline\launcher-cache\, where everything learned at runtime is stored.
Development
npm install
npm run prefetch # download the launcher into seed/ (required once)
npm start # run the app
npm run offline # run with "offline only" forced on
npm run dist # build installer + portable exe into dist/
| Script | Purpose |
|---|---|
scripts/prefetch.js |
Downloads index.html, all JS chunks, referenced assets, every translation and the entries from scripts/seed-extra.txt into seed/ |
scripts/seed-extra.txt |
Extra files and devices to bundle. device <id> adds product info, firmware list and device JSON (id = VID << 16 | PID in decimal) |
scripts/screenshots.js |
Recreates docs/*.png from the real window. Needs a connected Keychron mouse |
scripts/make-icon.js |
Renders build/icon.svg to build/icon.png |
Adding a device to the bundled data
- Connect the device and use it once in the app while online.
- Find the
vendor_product_idunderlauncher-cache/launcher.keychron.com/vapi/v2/product/. - Add
device <id>toscripts/seed-extra.txtand runnpm run prefetch.
Limitations
- Firmware updates, the AI assistant and feedback still need the internet.
- A device that was never connected online has no product data offline. Add it to
seed-extra.txtor connect it online once. - When Keychron ships a new launcher version, the cached
index.htmlpoints to new bundles on the next online start, and they get cached automatically. Rebuilding refreshes the bundled seed.
Legal
This is an unofficial personal tool and is not affiliated with Keychron. The Keychron Launcher, its code and its assets belong to Keychron. They are not part of this repository; the build downloads them from launcher.keychron.com.



