I'll just browse the repo, thanks

This commit is contained in:
Timothy Farrell 2026-05-12 23:08:28 +00:00
parent 5233e165ac
commit 07fefc47bb

View File

@ -35,34 +35,6 @@ The build produces a **single `dist/index.html`** file with all JavaScript, CSS,
The single-file output is handled by [`vite-plugin-singlefile`](https://www.npmjs.com/package/vite-plugin-singlefile) for JS/CSS inlining, plus a post-build script that inlines the favicon SVG and removes leftover asset files.
## Architecture
```
src/
├── App.svelte # Root — toggles LockScreen ↔ MainLayout
├── main.js # Entry point
├── components/
│ ├── LockScreen.svelte # Vault creation & password unlock
│ ├── MainLayout.svelte # Dashboard shell (sidebar + content)
│ ├── Sidebar.svelte # Group list, search, group CRUD
│ ├── EntryList.svelte # Searchable/filterable entry table
│ ├── EntryDetail.svelte # View single entry, copy, delete
│ ├── EntryForm.svelte # Create/edit entry with validation
│ ├── PasswordGenerator.svelte # Standalone generator panel
│ └── ImportExport.svelte # JSON import/export modals
├── lib/
│ ├── crypto/crypto.js # PBKDF2 key derivation, AES-GCM, generator
│ ├── models/schema.js # Data factories, validation, ID generation
│ ├── storage/db.js # IndexedDB wrapper (idb library)
│ └── stores/
│ ├── app.svelte.js # Reactive app state (lock/unlock)
│ ├── search.svelte.js # Shared search + filter state
│ └── security.svelte.js # Auto-lock timer, visibility detection
└── styles/
└── main.css # Dark theme, CSS variables, responsive
scripts/
└── inline-assets.js # Post-build: inlines favicon, removes leftover files
```
### Encryption Flow