A cross-platform desktop application for creating and managing sticky notes, built with Svelte and Electron.
Clone the repository:
git clone https://github.com/fstubner/stickies.git
cd stickies
Install dependencies:
npm install
or if using pnpm:
pnpm install
To run the app in development mode:
npm run dev
This will start both the Vite dev server for Svelte and the Electron process.
npm i @skeletonlabs/skeleton @skeletonlabs/tw-plugin @tailwindcss/forms
npx svelte-add@latest tailwindcss
Then update your tailwind.config.js as shown in the Skeleton UI cheatsheet.
npx shadcn-svelte@latest init
Follow the prompts to set up your project configuration.
To build the application:
npm run build
This will create a production-ready build in the dist directory.
electron/ - Electron main process codemain.js - Main Electron processpreload.js - Preload script for secure renderer accesssrc/ - Svelte application codecomponents/ - Reusable UI componentsNoteCard.svelte - Card component for notes in the dashboardStickyNote.svelte - Standalone sticky note componentviews/ - Main application viewsDashboard.svelte - Main view with all noteselectron.d.ts - TypeScript definitions for ElectronApp.svelte - Main application componentmain.ts - Application entry pointpublic/ - Static assetscheatsheets/ - Development reference materialsThe project includes several cheatsheets for reference:
cheatsheets/svelte-cheatsheet.md - Svelte syntax and patternscheatsheets/electron-cheatsheet.md - Electron development guidecheatsheets/skeleton-ui-cheatsheet.md - Skeleton UI components (if using)cheatsheets/typescript-cheatsheet.md - TypeScript referenceMIT