- TypeScript 60.5%
- JavaScript 27.8%
- CSS 11.5%
- HTML 0.2%
| apps | ||
| artifacts/acrylic | ||
| docs | ||
| packages/backend | ||
| scripts | ||
| .gitignore | ||
| AGENTS.md | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Music Collection Manager
An Electron desktop starter with a React frontend with a macOS-inspired design system and an integrated TypeScript backend, organized with npm workspaces.
Getting started
Requires Node.js 22.12 or later and npm 10 or later.
npm install
npm run dev
npm run dev builds the backend, starts Vite with frontend hot reload, and opens Electron once Vite is ready. Restart this command after changing backend, main-process, or preload code.
npm test
npm run typecheck
npm run build
npm run smoke
npm run smoke:artists
npm start
npm start builds and launches the local production app. Installer packaging is not configured yet.
Layout
apps/desktop: Electron main process and sandboxed preload bridge. The native frame and application menu are removed; the custom title bar drives minimize, maximize/restore, and close through a narrow IPC bridge.apps/renderer: React, TypeScript, Vite, and reusable semantic HTML/CSS components.TitleBardraws the draggable macOS-style bar with its three window controls on the right. Itsleading,title,data, andactionsslots accept any React content;datacurrently shows the active library and is where future contextual information can live.packages/backend: Application services called by Electron over a narrow IPC interface. No separate server or open backend port is needed.
The Libraries screen creates and registers portable collections with a database stored inside each library folder. See Portable libraries for usage, storage ownership, recovery, and network-drive constraints. The renderer has no direct access to Node.js or Electron APIs.
The Artists screen manages independent people, groups, and circles, including aliases and profiles. See Catalog storage.
Frontend design decisions and the Figma reference are documented in Design system. Agents should start at AGENTS.md.