Overview
The Library Manager is your personal EPUB collection hub. It provides a modern interface for managing downloaded novels, tracking reading progress, and accessing a built-in EPUB reader with customizable themes.All EPUBs stored in your library include extracted cover images, metadata, and automatic progress synchronization.
Library Views
Grid View
The default card-based layout displays:- Cover images extracted from EPUB files
- Reading progress bars (for in-progress books)
- Completion badges (green “Completed” tag)
- Quick actions on hover (Read, Open, Download, Delete)
- Features
- Implementation
- Visual browsing with large cover previews
- Hover effects reveal action buttons
- Progress indicators at bottom of each card
- Animated transitions on page load
- Responsive grid (2-6 columns based on screen size)
List View
Compact row-based layout showing:- Thumbnail covers (12x16px)
- Title and author in single row
- Progress text (e.g., “Ch 45 / 120”)
- Quick actions on hover
Library Statistics
The header displays interactive filter buttons:Total Books
Complete count of all EPUBs in your library
Reading
Books with progress > 0% but < 100%
Completed
Books where you’ve reached the final chapter
Status Filtering
Click any statistic card to filter the library:Active filters are highlighted with a blue border and ring effect.
Search & Sort
Search Bar
Instant search across:- Title: Novel name
- Author: Author metadata
Sort Options
- Available Sorts
- Direction Toggle
| Sort Type | Order |
|---|---|
| Title | A-Z or Z-A |
| Author | A-Z or Z-A |
| Newest First | By date added (recent first) |
| Oldest First | By date added (oldest first) |
| File Size | Smallest to largest |
Book Actions
Individual Actions
Hover over any book card to reveal:Read Now
Opens the built-in EPUB reader (preserves progress)
Open Externally
Launches EPUB in your system’s default reader (e.g., Apple Books, Calibre)
Download
Downloads the EPUB file to your system
Delete
Removes the EPUB from library (requires confirmation)
Bulk Actions
Enable Selection Mode to manage multiple books:EPUB Reader
Opening a Book
Click Read Now or the book card to launch the full-screen reader.The reader automatically resumes from your last read position using locally stored CFI (Canonical Fragment Identifier) bookmarks.
Reader Interface
- Controls
- Progress Tracking
- Theme Customization
Top Navigation Bar:
- Title & Author: Displayed prominently
- Chapter Progress: Live indicator (e.g., “Ch. 24 / 150”)
- Theme Toggle: Switch between dark and light modes
- Close Button: Exit reader and save progress
- Click left edge to go to previous page
- Click right edge to advance to next page
- Click center to toggle navigation overlay
- Table of Contents: Hamburger menu (left sidebar)
Keyboard Navigation
Arrow Keys
Left/Right: Navigate pagesUp/Down: Scroll within current page (if content overflows)
Escape Key
Quickly exit the reader and return to library
Importing EPUBs
Manual Import
Browse Library Directory
Click Browse Directory to open your library folder in the system file manager:- Windows:
%APPDATA%/UNS/library/ - macOS:
~/Library/Application Support/UNS/library/ - Linux:
~/.config/UNS/library/
You can manually add EPUBs by copying them to this directory. Restart the app to see them in the library.
Reading Progress Details
Progress Calculation
| Status | Condition |
|---|---|
| Not Started | current === 0 |
| In Progress | current > 0 && current < total |
| Completed | current === total |
Visual Indicators
- Grid View
- List View
- Progress bar: Thin line at bottom of card (blue gradient)
- Percentage: Hidden in grid, visible on hover
- Completion badge: Green “Completed” tag at top-left
Empty State
When no books match filters:Advanced Features
Cover Extraction
Covers are automatically extracted from EPUB metadata:Metadata Display
- Title: Extracted from
<dc:title>in EPUB metadata - Author: Extracted from
<dc:creator>in EPUB metadata - Date Added: File creation timestamp
- File Size: Calculated from EPUB file size
Troubleshooting
Books not appearing in library
Books not appearing in library
- Check that files are valid EPUB format (not MOBI or PDF)
- Restart the app to trigger library refresh
- Verify Python backend is running (
http://localhost:8000/api/library) - Check file permissions in library directory
Progress not saving
Progress not saving
- Browser localStorage might be full (clear app cache)
- Check console for JavaScript errors
- Ensure you’re using the same device (progress is local)
Reader not opening
Reader not opening
- Large EPUBs (>50MB) may take 5-10 seconds to load
- Check console for errors like “Failed to fetch EPUB”
- Verify EPUB is not corrupted (try opening in another reader)
Covers not displaying
Covers not displaying
- Some EPUBs don’t include cover metadata
- Backend cover extraction requires valid image format (JPG/PNG)
- Check
/api/cover/{filename}endpoint directly in browser
Next Steps
Download Novels
Scrape new content to add to your library
Search & Discover
Find novels across multiple sources
EPUB Reader
Read your novels with the built-in reader
Provider System
Add more novel sources
