clipwright/clipwright/api
pedro-bento a00fe8544d
All checks were successful
CI / unit (push) Successful in 44s
CI / backend-e2e (push) Successful in 1m14s
CI / dashboard-e2e (push) Successful in 2m24s
feat: download a clip as a title-named folder bundle (#7)
The per-clip download button now fetches a new
GET /api/jobs/{job_id}/clip/{clip_index}/download endpoint that packages the
saved clip as a ZIP shaped like a folder named after the clip title:

    <title>/clip.mp4
    <title>/description.txt

Titles are sanitized into a single filesystem-safe path segment, and the
archive is named <title>.zip. File resolution mirrors download-all (live
record, then metadata URL, then canonical derived name). The frontend keeps
its streaming progress UI and derives the filename from Content-Disposition.

Reviewed-on: #7
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-05 14:41:20 +01:00
..
__init__.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
app.py feat: download a clip as a title-named folder bundle (#7) 2026-10-05 14:41:20 +01:00
free_tools.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
media_auth.py refactor/package-layout (#3) 2026-10-04 20:47:12 +01:00
restoring_static.py chore/dead-code-removal (#4) 2026-10-04 22:11:11 +01:00