mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 21:11:10 +00:00
Updates architecture diagrams with the book reading flow
This commit is contained in:
1 parent
3a3c0c047c
commit
fb0aa431df
4 files changed
+23
-5
No files matched your search
@@ -7,11 +7,11 @@ title System Context diagram for Lumina Media Library Manager
|
||||
Person(user, "Home User", "A person who wants to manage and stream their personal media collection")
|
||||
Person(admin, "Administrator", "A person who manages the media library system")
|
||||
|
||||
System(lumina, "Lumina 1.1", "Allows users to organize, manage and stream their personal media content [detailed in '2 container-diagram.puml']")
|
||||
System(lumina, "Lumina 1.1", "Allows users to organize, manage, stream and read their personal media content [detailed in '2 container-diagram.puml']")
|
||||
|
||||
System_Ext(metadataProvider, "Media Metadata Services", "External services that provide media information and metadata (TMDB, TVDB, GoodReads, MusicBrainz, etc)")
|
||||
|
||||
Rel(user, lumina, "Views and streams media content")
|
||||
Rel(user, lumina, "Views, streams and reads media content")
|
||||
Rel(admin, lumina, "Manages media library and system settings")
|
||||
Rel(lumina, metadataProvider, "Retrieves media metadata and artwork")
|
||||
|
||||
|
||||
@@ -10,11 +10,13 @@ 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 and playback [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, and manages metadata synchronization [detailed in '3.2 component-api-server-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, and serves books for reading through format plugins [detailed in '3.2 component-api-server-diagram.puml']")
|
||||
|
||||
ContainerDb(db, "Database", "SQLite", "Stores user data, media metadata, library configuration, automated jobs information, etc")
|
||||
|
||||
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")
|
||||
}
|
||||
|
||||
System_Ext(metadata, "Media Information Services", "External services like TMDB, TVDB, GoodReads, MusicBrainz, that provide media metadata")
|
||||
@@ -24,6 +26,7 @@ Rel(admin, webapp, "Manages media library 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")
|
||||
|
||||
caption [Container] Lumina 1.1
|
||||
|
||||
@@ -9,24 +9,28 @@ Container_Ext(api, "API Server 2.2", "Lumina.Presentation.Api", "Provides media
|
||||
Container_Boundary(wb, "Web Application 2.1") {
|
||||
Component(fileSystem, "File System Management", "ASP.NET MVC Controllers", "Handles file system operations including drives, directories, and files browsing")
|
||||
|
||||
Component(library, "Library Management", "ASP.NET MVC Controllers", "Manages media libraries and their content (books, etc)")
|
||||
Component(library, "Library Management", "ASP.NET MVC Controllers", "Manages media libraries and their content (books, etc); the library edit page lets the owner enable or disable the reader plugins per library")
|
||||
|
||||
Component(bookReader, "Book Reading", "FastEndpoints + JavaScript", "Serves the book reader view and proxies the reading manifest, section and resource endpoints to the API")
|
||||
|
||||
Component(admin, "Administration", "ASP.NET MVC Controllers", "Handles system administration and configuration")
|
||||
|
||||
Component(users, "User Management", "ASP.NET MVC Controllers", "Handles authentication and user management")
|
||||
|
||||
Component(clientJs, "Client-Side Logic", "JavaScript", "Handles dynamic page updates and persistent media playback")
|
||||
Component(clientJs, "Client-Side Logic", "JavaScript", "Handles dynamic page updates, persistent media playback, and the book reader (table of contents, page navigation, font size)")
|
||||
|
||||
Component(httpClient, "API HTTP Client", "C# TypedHttpClient", "Handles communication with the API server")
|
||||
}
|
||||
|
||||
Rel(fileSystem, httpClient, "Uses")
|
||||
Rel(library, httpClient, "Uses")
|
||||
Rel(bookReader, httpClient, "Uses")
|
||||
Rel(admin, httpClient, "Uses")
|
||||
Rel(users, httpClient, "Uses")
|
||||
Rel(httpClient, api, "Makes API calls to", "JSON/HTTPS")
|
||||
Rel(clientJs, fileSystem, "Makes AJAX calls to")
|
||||
Rel(clientJs, library, "Makes AJAX calls to")
|
||||
Rel(clientJs, bookReader, "Makes AJAX calls to")
|
||||
Rel(clientJs, admin, "Makes AJAX calls to")
|
||||
Rel(clientJs, users, "Makes AJAX calls to")
|
||||
|
||||
|
||||
@@ -17,23 +17,34 @@ Container_Boundary(api, "API Server 2.2") {
|
||||
|
||||
Component(backgroundServices, "Background Services 3.2.1", ".NET Worker Services", "Handles media scanning, metadata synchronization and other maintenance tasks [detailed in '4.1 code-media-library-scanning-diagram.puml']")
|
||||
|
||||
Component(bookReading, "Book Reading 3.2.2", "Application + Infrastructure services", "Resolves the reader plugin of a book, checks its per-library enablement, extracts the book into the reading cache on first access, sanitizes every section, and serves the reading manifest, sections and resources")
|
||||
|
||||
Component(readerPlugins, "Book Reader Plugins", "Lumina.Plugins.Epub, Lumina.Plugins.Pdf", "Decode a book format into a normalized reading document (spine, table of contents, sections, resources), loaded into the host by the plugin loader")
|
||||
|
||||
Component(repositories, "Repositories", "EF Core", "Provides data access abstraction for domain entities")
|
||||
}
|
||||
|
||||
ContainerDb(db, "Database", "SQLite", "Stores user data, media metadata, and system configuration")
|
||||
|
||||
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")
|
||||
|
||||
System_Ext(metadataServices, "External Metadata Services", "Provides media information (TMDB, TVDB, GoodReads, MusicBrainz, etc)")
|
||||
|
||||
Rel(webapp, endpoints, "Makes API calls to", "JSON/HTTPS")
|
||||
Rel(endpoints, mediaManagement, "Uses")
|
||||
Rel(endpoints, userManagement, "Uses")
|
||||
Rel(endpoints, fileSystem, "Uses")
|
||||
Rel(endpoints, bookReading, "Uses")
|
||||
Rel(mediaManagement, repositories, "Uses")
|
||||
Rel(userManagement, repositories, "Uses")
|
||||
Rel(fileSystem, repositories, "Uses")
|
||||
Rel(backgroundServices, mediaManagement, "Uses")
|
||||
Rel(repositories, db, "Reads from and writes to", "SQL")
|
||||
Rel(mediaManagement, metadataServices, "Retrieves metadata from", "HTTPS")
|
||||
Rel(bookReading, readerPlugins, "Resolves and invokes")
|
||||
Rel(bookReading, repositories, "Reads the per-library reader enablement")
|
||||
Rel(bookReading, readCache, "Extracts into and serves from", "File system")
|
||||
Rel(readerPlugins, readCache, "Extracts into", "File system")
|
||||
|
||||
caption [Component] Lumina - API Server 2.2 (Lumina.Presentation.Api)
|
||||
|
||||
|
||||
Reference in new issue
Block a user