A cross-platform desktop application for creating and managing sticky notes, built with Svelte and Electron.
- Create and manage sticky notes that persist across app restarts
- Pin sticky notes to always be on top of other applications
- Drag notes to any position on your screen
- Customize note colors and content
- Simple, intuitive interface with modern UI options
- Local storage for all notes
- System tray support for quick access
- Cross-platform support (Windows, macOS, Linux)
- Frontend: Svelte with TypeScript
- UI Framework: Options include:
- Native CSS styling (current implementation)
- Skeleton UI - Optional enhancement
- shadcn-svelte - Optional enhancement
- Desktop: Electron
- Build Tools: Vite
- Node.js (v16 or higher)
- npm or pnpm
-
Clone the repository:
git clone https://github.com/fstubner/stickies.git cd stickies -
Install dependencies:
npm installor 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 tailwindcssThen update your tailwind.config.js as shown in the Skeleton UI cheatsheet.
npx shadcn-svelte@latest initFollow 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 access
src/- Svelte application codecomponents/- Reusable UI componentsNoteCard.svelte- Card component for notes in the dashboardStickyNote.svelte- Standalone sticky note component
views/- Main application viewsDashboard.svelte- Main view with all notes
electron.d.ts- TypeScript definitions for ElectronApp.svelte- Main application componentmain.ts- Application entry point
public/- Static assetscheatsheets/- Development reference materials
The 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 reference
MIT