mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
1006a04337
Embeds a signed JWT download token (30-day expiry) in the requests API response so users can download completed audiobook/ebook files directly from the UI or by sharing the URL to apps like BookPlayer — no session cookie required. - jwt.ts: add generateDownloadToken / verifyDownloadToken helpers - api/requests: append downloadUrl to completed requests with a filePath - api/requests/[id]/download: new token-authenticated streaming endpoint; serves single files directly or zips multi-file audiobooks with adm-zip - RequestCard: add Download link in the actions area for completed requests