How mtothexmax/cv_meister works
CV Meister is a browser-based job-application workspace for maintaining shared personal details and CV content alongside per-employer application data. Its apparent workflow is to edit and tailor application documents, then preview or export them; the sampled code confirms the data models, JSON-format functions, Typst-source generation, image processing, and IndexedDB persistence. The README is only the generic Svelte starter, and the large UI page was not excerpted, so connections from user actions to these services and the final rendering flow remain unverified.
Main entry points: appJson.ts JSON import/export · +page.svelte Workspace UI · cv.ts CV data and source · letter.ts Letter source
Components 15
Application workspace
- Workspace UI
src/routes/+page.svelte - Landing view
src/lib/Landing.svelte - Color picker
src/lib/ColorPicker.svelte
Application data
- Shared details
src/lib/shared.ts - Job records
src/lib/job.ts - CV data and source
src/lib/cv.ts - Static materials
src/lib/static.ts - JSON import/export
src/lib/appJson.ts
Document generation
- Letter source
src/lib/letter.ts - Letter compiler
src/lib/letterCompiler.ts - Typst runtime
src/lib/typst.ts
Files and persistence
- Image processing
src/lib/images.ts - Color extraction
src/lib/colors.ts - Local state
src/lib/storage.ts
Other components
- Applicant
Connections 18
- Applicant → Workspace UI: edits workspace
- Workspace UI → Landing view: shows view
- Workspace UI → Local state: persists state
- JSON import/export → CV data and source: normalizes CV
src/lib/appJson.ts - JSON import/export → Job records: encodes jobs
src/lib/appJson.ts - JSON import/export → Letter source: encodes letters
src/lib/appJson.ts - JSON import/export → Shared details: encodes details
src/lib/appJson.ts - JSON import/export → Image processing: handles file data
src/lib/appJson.ts - JSON import/export → Static materials: encodes materials
src/lib/appJson.ts - CV data and source → Letter source: uses Typst helpers
src/lib/cv.ts - CV data and source → Shared details: uses shared data
src/lib/cv.ts - CV data and source → Job records: filters by job
src/lib/cv.ts - Job records → Letter source: defaults letter
src/lib/job.ts - Static materials → Shared details: creates IDs
src/lib/static.ts - Color extraction → Image processing: rasterizes SVG
src/lib/colors.ts - Workspace UI → Color picker: selects accent
- Letter source → Letter compiler: provides source
- Letter compiler → Typst runtime: compiles document