A modern Svelte 5.x web interface for searching password dump data via the passdb-backend API.
docs/
directoryhttp://localhost:3000
# Install dependencies
npm install
# Start development server
npm run dev
# Open http://localhost:5000
npm run dev # Start Vite dev server with HMR
npm run build # Build for production
npm run preview # Preview production build
npm run test # Run Vitest tests
npm run test:ui # Run tests with UI
npm run coverage # Generate coverage report
npm run lint # Run ESLint
npm run format # Format with Prettier
npm run check # TypeScript type checking
src/
├── routes/ # Page components for different search types
├── components/ # Reusable Svelte components
├── lib/
│ ├── components/ui/ # shadcn-svelte components
│ └── utils.ts # Utility functions
├── stores/ # Svelte stores (theme, etc.)
├── types/ # TypeScript type definitions
└── index.css # Global styles with CSS variables
The application is configured via:
vite.config.js
- Build configuration with aliasestailwind.config.js
- Tailwind with shadcn design tokenscomponents.json
- shadcn-svelte configurationtsconfig.json
- TypeScript configurationThe project builds static files to the docs/
directory for GitHub Pages:
npm run build