Movie TUI
Authenticated terminal search and download application for the archive API.
Install
python3 -m venv .venv
.venv/bin/pip install -e .
Run it with:
.venv/bin/movie-tui
# or
.venv/bin/python -m movie_tui
The first launch opens the authentication screen. Enter the Bearer token
without the Bearer prefix. The token is stored in /z_tasks/z_movies/token.txt
with owner-only permissions (0600). It is not written to the TOML settings
file.
For a one-session/headless environment, use:
MOVIE_API_TOKEN='token' .venv/bin/movie-tui
MOVIE_API_TOKEN is an optional temporary override. You can also select a
different token-file location with MOVIE_TOKEN_FILE=/path/to/token.txt.
Rotate any token that has been pasted into chat, shell history, or logs.
Workflow
- Search from the Search screen.
- Select a result to inspect its filename, quality, size, and archive ID.
- Choose Add to download queue.
- The queue generates a temporary direct link and starts the downloader.
- Downloads use
.partfiles, delete failed partials, and retry from byte zero. - Pause preserves the
.partfile. Resume continues from its byte offset when the server supports HTTP ranges; otherwise it automatically restarts at zero. - Complete files are atomically renamed after size verification.
The Search and Queue screens use formatted mouse-friendly tables. Select a row and use the visible controls to queue, pause, resume, cancel, retry, or open a generated direct link. The Details screen also provides a clickable browser link after refreshing a file link.
Global keys: q quit, ? help, s search, d queue, h history, ,
settings, and Esc back.
Settings
Preferences are stored at:
~/.config/movie-tui/config.toml
History is stored at:
~/.local/share/movie-tui/history.sqlite3
The existing batch downloader remains available:
./dl.sh new-links.txt -j 6 -c 4 -r 5
It continues to support servers that ignore byte ranges and always removes failed partial downloads.
Metadata
Release files for movie-tui 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| movie_tui-0.1.0.tar.gz | 18.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| movie_tui-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.5 kB
Release files / movie_tui-0.1.0.tar.gz
| Download URL | movie_tui-0.1.0.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b7095919919b369a9960db3ebb706c84135a0f5a8edf15bf318f5afa3c9c041
|
|
BLAKE2b-256 checksum How to use checksums |
b2ce33952fdca49c698816bd115f80d5f363d1a3ff495d63a922940997d4dbf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / movie_tui-0.1.0-py3-none-any.whl
| Download URL | movie_tui-0.1.0-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c338016d96cc943e288ff15b1dde34a24820ddda4579d9af710c1f892dcb0f9
|
|
BLAKE2b-256 checksum How to use checksums |
bbdbb168bf2827e36d312cc1ea2d01589572cd162f8dabb10b88bc8f8d6dcce4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for movie-tui 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.