Updates the architecture diagrams and documents the PlantUML rendering workflow.

This commit is contained in:
BinaryAlley committed 2026-11-15 18:04:12 +02:00
1 parent 1c0ec40431
commit b13c9c5ccf
17 files changed
+455 -125

No files matched your search

@@ -1,4 +1,5 @@
@startuml Lumina Container Diagram
!pragma layout elk
!include <C4/C4_Container>
LAYOUT_WITH_LEGEND()
@@ -8,26 +9,26 @@ Person(user, "Home User", "A person who wants to manage and stream their persona
Person(admin, "Administrator", "A person who manages the media library system")
System_Boundary(c1, "Lumina 1.1") {
Container(webapp, "Web Application Client 2.1", "ASP.NET Core MVC", "Delivers server-rendered views with dynamic client-side functionality for media management, playback, and the scheduled jobs dashboard [detailed in '3.1 component-web-client-diagram.puml']")
Container(api, "API Server 2.2", "ASP.NET Core", "Provides media management functionality via a REST API, processes media tasks, manages metadata synchronization, serves books for reading through format plugins, and runs the scheduled jobs that maintain the system [detailed in '3.2 component-api-server-diagram.puml']")
ContainerDb(db, "Database", "SQLite", "Stores user data, media metadata, library configuration, scheduled jobs and their executions, automated jobs information, etc")
Container(webapp, "Web Application Client 2.1", "ASP.NET Core + Razor", "Delivers server-rendered views with dynamic client-side functionality for media management, playback, reading, favorites, playlists, statistics, plugins, themes, and the scheduled jobs dashboard [detailed in '3.1 component-web-client-diagram.puml']")
Container(api, "API Server 2.2", "ASP.NET Core", "Provides media library management, plugin metadata and artwork, music playback, book reading, themes, favorites, playlists, consumption statistics, and scheduled maintenance through a REST API [detailed in '3.2 component-api-server-diagram.puml']")
ContainerDb(db, "Database", "SQLite", "Stores user data, media metadata, library configuration, favorites, playlists, media consumption, plugins, themes, scheduled jobs and their executions")
Container(filestore, "Media Store", "File System", "Stores the actual media files")
Container(readCache, "Reading Cache", "File System", "Temporary directory in the API output, wiped at startup, where the reader plugins extract the contents of the books")
Container(apiStorage, "API Local Storage", "File System", "API-private directories: the reading cache, the transcoding cache, the plugin store and the theme store")
}
System_Ext(metadata, "Media Information Services", "External services like TMDB, TVDB, GoodReads, MusicBrainz, that provide media metadata")
System_Ext(metadata, "Media Metadata and Artwork Services", "External services like MusicBrainz, Open Library and Cover Art Archive, that provide media metadata and artwork")
Rel(user, webapp, "Uses", "HTTPS")
Rel(admin, webapp, "Manages media library and system settings", "HTTPS")
Rel(admin, webapp, "Manages media library, plugins, themes and system settings", "HTTPS")
Rel(webapp, api, "Makes API calls to", "JSON/HTTPS")
Rel(api, db, "Reads from and writes to", "SQL")
Rel(api, filestore, "Reads from and writes to")
Rel(api, readCache, "Reads from and writes to", "File system")
Rel(api, metadata, "Retrieves metadata from", "HTTPS")
Rel(api, apiStorage, "Reads from and writes to", "File system")
Rel(api, metadata, "Retrieves metadata and artwork from", "HTTPS")
caption [Container] Lumina 1.1