feat(komga): add Komga read-status sync with reports and history

Adds Komga sync feature to import read status from a Komga server.
Books are matched by title (case-insensitive) with series+title primary
match and title-only fallback. Sync reports are persisted with matched,
newly marked, and unmatched book lists. UI shows check icon for newly
marked books, sorted to top. Credentials (URL+username) are saved
between sessions. Uses HashSet for O(1) lookups to handle large libraries.

Closes #2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 22:04:19 +01:00
parent 1b9f2d3915
commit 127cd8a42c
11 changed files with 833 additions and 2 deletions

View File

@@ -83,3 +83,9 @@ impl From<std::io::Error> for ApiError {
Self::internal(format!("IO error: {err}"))
}
}
impl From<reqwest::Error> for ApiError {
fn from(err: reqwest::Error) -> Self {
Self::internal(format!("HTTP client error: {err}"))
}
}