Commit graph

25 commits

Author SHA1 Message Date
Richard Roberson
42665884d7 feat(audiobook): add chapter-based export with UI and API
Introduce end-to-end chapterized audiobook generation with persistent
storage, resumable workflows, and MP3/M4B support.

API:
- add /api/audio/convert/chapter (GET/DELETE) for per-chapter ops
- add /api/audio/convert/chapters (GET/DELETE) for listing/reset
- enhance /api/audio/convert:
  - accept mp3|m4b, stream combined file, cache complete output
  - robust chapter indexing, docstore persistence, list concat
  - AbortSignal-aware ffmpeg/ffprobe, 499 on cancel

UI/UX:
- add AudiobookExportModal with progress, resume, regenerate, download
- add ProgressCard, enhance ProgressPopup (click-to-focus, richer info)
- add Header, ZoomControl; move TTSPlayer to sticky bottom bar
- redesign EPUB/HTML/PDF pages for full-height layout and controls
- add HomeContent; compact uploader variant; document list polish

TTS/Contexts:
- EPUB/PDF contexts now generate per-chapter to disk, return bookId
- support chapter regeneration; progress/cancel propagation
- pass provider/model/instructions; standardize MP3 TTS output
- HTML context updates for model/instructions

Styling:
- globals: overlay-dim, scrollbar styles, prism gradient utilities
- theme vars: secondary-accent, prism-gradient; tailwind color addition

Misc:
- fix PDF scale calc to use container height
- EPUB theme reader area fills height
- time estimation update cadence stab
- audio util passes format to combine endpoint
2025-11-11 13:32:30 -07:00
RobbyV2
12e30f4ecf Allow clicking of internal links 2025-07-19 12:46:05 -07:00
Richard Roberson
136fdb9652 Fix Apple WebKit PDF Upload 2025-03-01 23:36:25 -07:00
Richard Roberson
d447132859 Refactors to fix blank sections 2025-02-19 15:10:11 -07:00
Richard Roberson
0ce14f3aec Refactors + epub location fixes 2025-02-18 02:31:30 -07:00
Richard Roberson
36fdbc276d Debounce PDF scale and extraction 2025-02-17 10:57:39 -07:00
Richard Roberson
7d667b2114 Prepare epub work 2025-02-08 13:07:36 -07:00
Richard Roberson
7ae0dfd80a Fix z-indexes 2025-01-29 15:07:34 -07:00
Richard Roberson
55919310a5 Add different view modes 2025-01-26 18:34:31 -07:00
Richard Roberson
816690360e Fix horizontal PDF scale 2025-01-26 14:38:16 -07:00
Richard Roberson
de1ad2c4da Implement page forward and back 2025-01-25 22:57:29 -07:00
Richard Roberson
429ec3f264 Single page viewer + Major refactor 2025-01-25 22:23:29 -07:00
Richard Roberson
d78be686c1 Add better zoom + controls 2025-01-22 13:34:48 -07:00
Richard Roberson
5edae0e8ae cleanup 2025-01-22 11:51:08 -07:00
Richard Roberson
28fe51c80d Prevent text click jump while processing + refeactor text comparison 2025-01-20 15:12:23 -07:00
Richard Roberson
46c497f062 Readme.md + Refactor 2025-01-19 15:39:44 -07:00
Richard Roberson
728eb185b7 Rename /context --> /contexts 2025-01-19 14:45:32 -07:00
Richard Roberson
3e82def76c Add theme switching + fixes 2025-01-19 03:44:04 -07:00
Richard Roberson
51352943c6 First reasonably okay version 2025-01-19 00:14:32 -07:00
Richard Roberson
355e4ebe29 Use indexed db 2025-01-18 21:59:02 -07:00
Richard Roberson
109d43f585 Buggy but working 2025-01-18 19:30:50 -07:00
Richard Roberson
1ce63a8fba Add compromise, TTSPlayer template 2025-01-18 15:47:37 -07:00
Richard Roberson
ae8eb084c2 Update 2025-01-18 13:04:38 -07:00
Richard Roberson
8263a84e40 Working 2025-01-18 05:38:13 -07:00
Richard Roberson
5ecd54a0be First push 2025-01-18 04:58:57 -07:00