OpenTranscribe — Frontend Module Map

OpenTranscribe — Frontend Module Map An architecture diagram generated by Archify. routes/ · SvelteKit pages · Architecture component routes/ SvelteKit pages components/ · 75 shared UI components · Architecture component components/ 75 shared UI components stores/ · Svelte state · Architecture component stores/ Svelte state lib/api, lib/axios · HTTP client + endpoints · Architecture component lib/api, lib/axios HTTP client + endpoints lib/cloud/ · stub seam, code is private · Architecture component lib/cloud/ stub seam, code is private Backend API · FastAPI · Architecture component Backend API FastAPI fetch/post isCloudEdition gate Legend Frontend Backend Cloud External

Why madge couldn't show this reliably

  • • madge silently failed to parse the largest route file (2,493 lines) — a real, confirmed parser limitation, not a config issue
  • • This diagram is hand-verified against the actual directory listing instead

The cloud seam is real, not aspirational

  • • lib/cloud/ components are committed stub files ('replaced wholesale by the commercial overlay at image-build time')
  • • Every usage is additionally gated by isCloudEdition, so community builds tree-shake it out entirely

One HTTP client, not several

  • • lib/axios.ts is the single axios instance — httpOnly cookie auth, no JS-readable token
  • • stores/auth.ts imports it back via a dynamic import specifically to break a load-order cycle (see Findings)