Minimal starter template combining SvelteKit and Electron
sveltekit-electron — Svelte Starter Template
By braebo
A minimal starter template based on SvelteKit and Electron for building cross-platform desktop applications, licensed under MIT.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Preview provided in the project README.
One original preview is available. Open the full image to inspect the design.
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
Provides complete command instructions for cloning, installing, developing, and building
Build targets can be adjusted in package.json, with the default covering Mac, Windows, and Linux
README explicitly requires npm and notes that pnpm and yarn have issues
Licensed under MIT, permitting free use, modification, commercial use, and distribution
Template Details
This template combines SvelteKit with Electron to provide a minimal desktop application starter structure. The workflow given in the repository description is: clone with npx degit, install dependencies with npm install, enter development with npm run dev, and build with npm run build. Build targets can be adjusted in the build:electron command flags in package.json's scripts; the default is -mwl, targeting Mac, Windows, and Linux simultaneously.
There are clear usage restrictions: the README states that npm must be used, and that pnpm or yarn will cause problems; it also recommends running npm update and npm audit fix to apply overrides and reduce vulnerabilities introduced by Electron itself. Development with the Svelte for VSCode extension in VSCode is recommended.
Regarding licensing, the repository uses the MIT license, permitting free use, modification, commercial use, and distribution of this version of the code, provided the copyright notice and license notice are retained when distributing. Third-party assets such as demo images, fonts, and icons must be checked separately for their licenses; external services such as domains, hosting, and databases may incur separate charges.
Is it right for your project?
Use Cases
- Starting a new project with SvelteKit as the frontend and Electron as the desktop shell
- Building a cross-platform desktop application from a minimal structure rather than a feature-rich scaffold
- Building the same desktop application on Mac, Windows, and Linux
- Using VSCode with the Svelte for VSCode extension for Svelte desktop development
Suitable For
- Developers familiar with npm and the basic SvelteKit workflow
- Teams needing a minimal starting template for an Electron desktop application
- Projects that want to control build targets and dependency updates themselves
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
Clone the template with npx degit fractalhq/sveltekit-electron
- 2
Run npm install to install dependencies; do not use pnpm or yarn
- 3
Run npm run dev for development and npm run build for building
- 4
Run npm update and npm audit fix to apply overrides and reduce Electron-related vulnerabilities
- 5
Modify the build:electron flags in package.json's scripts to adjust build targets; the default is -mwl
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis entry covers the free version under the MIT license in the public repository; the free scope is the code of this version and does not mean external services or third-party assets are free.
Must comply with when using
- Permits free use, modification, commercial use, and distribution of this version of the code.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the complete MIT license notice.
- The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- npm must be used to install dependencies; pnpm or yarn will cause problems, so these two package managers cannot replace npm.
- To eliminate vulnerabilities introduced by Electron itself, npm update and npm audit fix must be run to apply overrides, which is a necessary maintenance step when using this template.
- Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis
Permission is hereby granted, free of charge
Original License Text
Unfortunately you must use `npm` as there are issues that arise when using `pnpm` or `yarn`
Original README
https://github.com/braebo/sveltekit-electron/blob/master/LICENSEhttps://github.com/braebo/sveltekit-electron/blob/master/README.mdIn order to eliminate vulnerabilities caused by electron itself, please run `npm update` and `npm audit fix`. This will apply overrides.
Original README
Compiled by DeepSeek based on repository license and README ·2026-10-01. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- Partly documented · 64 / 100
- Technologies
- Svelte
- Website type
- Starter
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2023-09-18
- Screenshot last checked
- 2026-10-01
No demo link is recorded. Use the repository instructions to evaluate the project locally; the screenshot alone cannot establish interactive behavior.
The catalog identifies Svelte as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Automatically checked against source and license rules; no manual editorial review.
Inspect the recorded source material
SHA-256: ee3e11eed381f6faf1ac611a9ae705e328c1bf6cc69141ababb4a3cbe421ed65
2026-10-01T14:51:01.278Z
Source file / repository<p align="center"> <img src="static/sveltekit-electron.svg" /> </p> # Sveltekit + Electron Minimal [Sveltekit](https://github.com/sveltejs/kit#readme) + [Electron](https://www.electronjs.org/) starter template. <br /> ## Getting Started Unfortunately you must use `npm` as there are issues that arise when using `pnpm` or `yarn` | | | | ------- | ------------------------------------------- | | Clone | · `npx degit fractalhq/sveltekit-electron ` | | Install | · `npm install` | | Develop | · `npm run dev` | | Build | · `npm run build` | In order to eliminate vulnerabilities caused by electron itself, please run `npm update` and `npm audit fix`. This will apply overrides. <br /> <p align="center"> <img src="screenshot.png" /> </p> ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/) + [Svelte for VSCode](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode) ## Change Build Targets In the scripts section of package.json you can update the `build:electron` command and change the flags to set the targets, by default it uses `-mwl` which is Mac, Windows, and Linux
Explore similar templates
Compare previews and descriptions within the same stack and category.

CMSaasStarter
CMSaasStarter is an MIT-licensed SaaS starter template built with SvelteKit, TailwindCSS, DaisyUI, and Supabase, with Stripe Checkout and Stripe Portal for payments.
Svelte · Admin dashboard

tauri-sveltekit
A minimal Tauri 2 and SvelteKit desktop starter template that builds the frontend as a static SPA via @sveltejs/adapter-static and loads it in Tauri's WebView.
Svelte · Starter

modernstack-saas
A SaaS starter template built with SvelteKit, Convex, Better Auth, and shadcn-svelte. It includes subscription billing via Autumn/Stripe, user and admin dashboards, user settings, organization multi-tenancy with roles and invitations, and a waitlist mode that can disable public registration.
Svelte · Admin dashboard

sveltekit-mdsvex-blog-template
A SvelteKit and MDsveX blog starter for Markdown writing with embedded Svelte components, Tailwind CSS typography, tags, dark mode, SEO metadata, and Cloudflare Workers deployment configuration. Requires Node.js 22.12+ and pnpm 11.17.0; third-party demo assets need separate license verification.
Svelte · Portfolio

sveltekit-shadcn-blog-starter
A SvelteKit blog starter that combines shadcn-svelte, Tailwind CSS, MDsveX, and TypeScript, offering multi-author support, tag archives, built-in search, light/dark themes, and automatic sitemap and RSS generation.
Svelte · Blog

monorepo-template
A FastAPI + Svelte 5 full-stack monorepo starter with Docker, CI/CD, and OpenAPI type synchronization.
Svelte · Starter
