kitpack-cli
v1.0.0
Published
SvelteKit Desktop App Packager
Readme
Kitpack
Package a SvelteKit app as a desktop executable with Bun and a system WebView.
npx kitpack buildCommands
kitpack init my-app
kitpack dev
kitpack buildkitpack build creates:
<app>.exe<app>-debug.exe
The debug build opens with a console. The normal build opens as a GUI app.
Native APIs
Packaged apps get window.kitpack:
const settingsPath = await window.kitpack.fs.path('config', 'settings.json');
await window.kitpack.fs.writeJson(settingsPath, { theme: 'system' });
await window.kitpack.window.setTitle('My Desktop App');For TypeScript app code:
/// <reference types="kitpack/client" />