Skip to content

nye/svelte-electron-better-sqlite3-starter

Repository files navigation

An starter to built Electron apps with Svelte and Better SQLite3.

  • Electron
  • Svelte
  • Better SQLite3
  • Backend server in a separate process wired via IPC for a non-blocking render process (see jlongster/electron-with-server-example)
  • Rollup.js
  • Preprocess (svelte-preprocess) for SCSS in components and globally
  • Live reload
  • Router (with hash routing)
  • App icons, Platform install options, Remember window size and position, Confirm before quit if DocumentEdited, Persist app settings, InterUI font, ...

Get started

Install the dependencies...

cd svelte-electron-better-sqlite3-starter
npm install

...then start Rollup with electron:

npm run electron-dev

See package.json scripts for other build options