CaliBrain
cd16f09f2e
Fix local download ( #282 )
2025-09-16 11:19:09 -04:00
RHDev
4e5c9b788f
Display book covers at full height ( #266 )
...
# Why
Book covers in the UI are currently cut off on the top and bottom,
making it hard to see.
# How
doubled the height of the book cover image div so the covers are not cut
off. I found that setting it to a specific size (rather than `h-full`)
resulted in better handling of small images and made for a more
consistent look.
# Before
<img width="488" height="520" alt="Screenshot from 2025-09-02 11-44-49"
src="https://github.com/user-attachments/assets/cf94e5f7-3981-40b6-a148-2a847f565c41 "
/>
<img width="488" height="520" alt="Screenshot from 2025-09-02 11-45-06"
src="https://github.com/user-attachments/assets/5849eb34-57e8-4c36-af26-cb2f9647605f "
/>
# After
<img width="488" height="520" alt="Screenshot from 2025-09-02 11-41-41"
src="https://github.com/user-attachments/assets/6ffdde1f-ba36-4253-8092-12afe1c8f84e "
/>
<img width="488" height="520" alt="Screenshot from 2025-09-02 11-44-38"
src="https://github.com/user-attachments/assets/e44b57b7-ee03-4e8b-a186-444e8a5bf5aa "
/>
---------
Co-authored-by: Ryan Hults <contact@ryanthults.com >
2025-09-02 13:13:10 -04:00
BMillerCodes
a9854b1a5c
UI Overhaul - Tailwind CSS ( #259 )
...
New Homepage
<img width="2559" height="1388" alt="image"
src="https://github.com/user-attachments/assets/787668c6-61a9-4a2d-9878-9daaee8ae114 "
/>
New Card Layout:
<img width="2547" height="1250" alt="image"
src="https://github.com/user-attachments/assets/44d015f9-c29d-4cac-a8b4-1c4ff7d40009 "
/>
Light-Mode:
<img width="2547" height="1253" alt="image"
src="https://github.com/user-attachments/assets/7f81f6d7-ec69-4680-8ddc-4737601d00bb "
/>
New Download Queue and Status:
<img width="1260" height="146" alt="image"
src="https://github.com/user-attachments/assets/4acbb5a3-e985-4b23-8527-392e21151fa4 "
/>
Haven't contributed to open-source before, but figured I could try and
help out on the UI side of the house. Appreciate everything you've done
this far!
Wanted to get something that was a tad bit more mobile-friendly.
Open to any feedback/comments/questions/concerns. :)
---------
Co-authored-by: BMillerCodes <BMillerCodes@users.noreply.github.com >
2025-08-29 22:48:25 -04:00
Stephon Parker
5e04b6bfb8
Add Download Queue Management & Concurrent Downloads ( #231 )
...
## Summary
This PR completely overhauls the download system to support concurrent
downloads, cancellation, and advanced queue
management. No more waiting for stuck downloads to block the entire
queue!
## New Features
### **Concurrent Downloads**
- **3 simultaneous downloads** by default (configurable)
- ThreadPoolExecutor-based architecture replaces single-threaded
bottleneck
- Downloads no longer block each other
### **Download Cancellation**
- **Cancel button** for active/queued downloads
- Clean cancellation with partial file cleanup
- Thread-safe cancellation flags
### **Queue Priority & Reordering**
- **Priority-based queue** (lower number = higher priority)
- **Editable priority inputs** in UI for queued items
- **Bulk reordering** API support
## UI Enhancements
- **Enhanced status table** with Priority, Progress, and Actions columns
- **Progress bars** for active downloads
- **Cancel buttons** for downloads
- **Queue management controls**: Refresh, Clear Completed, Active
Counter
- **Real-time updates** every 60 seconds
## Implementation
### New Architecture
- `queue.PriorityQueue` replaces simple `set()` for proper ordering
- `concurrent.futures.ThreadPoolExecutor` handles worker threads
- `threading.Event` flags enable clean cancellation
- Thread-safe operations with proper locking
### New API Endpoints
DELETE /api/download/{id}/cancel # Cancel downloads
PUT /api/queue/{id}/priority # Set priorityPOST /api/queue/reorder #
Bulk reorder
GET /api/downloads/active # Active tracking
DELETE /api/queue/clear # Clear completed
### New Environment Variables
```bash
MAX_CONCURRENT_DOWNLOADS=3 # Worker thread count
DOWNLOAD_PROGRESS_UPDATE_INTERVAL=5 # Progress frequency
```
### Fully backward compatible - existing functionality unchanged
### Fixes
- Resolves: Downloads blocking when one gets stuck
- Resolves: No way to cancel problematic downloads
- Resolves: No queue management or prioritization
#183
---------
Co-authored-by: CaliBrain <calibrain@l4n.xyz >
2025-08-25 13:28:35 -04:00
CaliBrain
86c642d874
Restart Button when on DEBUG mode ( #211 )
...
Feature for #210
2025-08-06 17:17:32 -04:00
Martijn Ruijzendaal
f9fb6c13b5
Add option to select formats ( #193 )
...
In response to #184 , and for my own desperate need for PDFs, I
implemented this change.
The UI needs some tweaking, the functionality looks complete.
Before this pull request is merged, I'm modifying my docker compose as
follows to use the version that includes format options:
```diff
services:
calibre-web-automated-book-downloader:
- image: ghcr.io/calibrain/calibre-web-automated-book-downloader:latest
+ build:
+ context: https://github.com/mruijzendaal/calibre-web-automated-book-downloader.git
```
@calibrain Could you adjust the UI such that this fits better with the
rest of the application? I'm not well-versed with UIKit. Thanks in
advance for considering this pull request!
2025-07-14 15:31:18 -04:00
CaliBrain
712f71a466
Add DEBUG button ( #147 )
2025-04-20 05:32:11 -04:00
CaliBrain
0ba7031a83
Fix download + add test + fix book move ( #140 )
2025-04-16 11:18:03 -04:00
CaliBrain
0f7d4292a4
feat: implement dark mode with improved UI contrast and full-height layout ( #91 )
...
- Add theme toggle (light/dark/auto)
- Improve text contrast and readability
- Fix viewport height issues
- Ensure consistent styling across components
2025-03-16 03:00:56 -04:00
FunnyPocketBook
aab3d7269a
fix: clear checkboxes on new search query ( #66 )
...
This PR addresses an issue where the "download selected" functionality
behaves unexpectedly. If a user makes a selection of books to download,
performs a new search without clearing the previous selection, and
selects new books, clicking "download selected" would still include the
books from the prior selection. This causes the "download selected"
button to fail, as the books from the previous selection are no longer
available.
A potential enhancement could allow users to select books across
multiple searches and download them collectively. This could be achieved
by creating a dedicated section in the UI to track and display the
currently selected books. This feature might go well with a broader UI
overhaul, as has been suggested in some issues - maybe after your CF
bypass rewrite?
Co-authored-by: CaliBrain <calibrain@l4n.xyz >
2025-01-22 16:52:12 -05:00
mik593
7f56c6b832
feat: support search filters ( #55 )
...
Still a WIP but an initial attempt of search filters. #7
Currently supporting:
- ISBN
- Author
- Title
- Language
- Sort
- Content
first attempt at some sort of UI for it 👇

smaller/mobile

2025-01-22 16:51:06 -05:00
FunnyPocketBook
0034a688c4
[Feature] Select multiple books to queue ( #57 )
...
Related to #34
This PR adds:
- Additional column for checkboxes as the first column to select which
books to download
- Select/deselect all books
- Button and modal to confirm download of selected books
Maybe the checkbox column should be at the end of the table, next to
actions?



2025-01-13 16:37:35 -05:00
FunnyPocketBook
39ac60eaab
[Feature] Sort results table by headers ( #58 )
...
Related to #53
This PR adds sorting to the results table. This can be done by clicking
on the header of the table.
For narrow columns, the arrow indicating the ordering is underneath the
column title instead of next to the title - not sure how to solve that
elegantly without a minor redesign of the table :D

2025-01-13 14:20:11 -05:00
cthorne
abff8de155
Fix closing results section ( #41 )
...
Fix for the closing of results when doing search for a second time
2025-01-07 13:26:03 -05:00
cthorne
348e5c925b
Match size of detail & download btn ( #37 )
2025-01-05 19:41:41 -05:00
cthorne
8dd975abe0
Add further responsive UI using uiKit ( #36 )
...
Utilising [UiKit](https://getuikit.com/ ) as the CSS framework
Adjusted existing functionality & CSS to integrate with UiKits - should
retain same functionality
- Ui colors are UiKit defaults
- Search results automatically expand when searching
- UiKit ensures its automatically responsive for mobile
### **Search results**

### **Details dialog**


**- The dialog could be improved further by adjusting to a modal in
UiKit purely, however wasn't sure on how to do / time reqs.**
### **Search Results & Download Status are in expandable accordions**


### **Adjusted search to UiKits with clickable search icon**

### **Added gitHub link to footer and increased font sizing**

### **Mobile views (Chrome on Desktop) - scales & retains scroll**



### **TODO:**
- Improvements to modal functionality
- Pagination
- Cleaning (removing unused CSS etc)
2025-01-05 13:00:51 -05:00
CaliBrain
18b146af64
Innitial Release
2024-12-16 22:48:26 +00:00