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.3
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.3.tar.gz | 19.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| movie_tui-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.6 kB
Release files / movie_tui-0.1.3.tar.gz
| Download URL | movie_tui-0.1.3.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f89c33750754c04b12621b0ef50b93921235fa7b6b0d06bbc10b97d015f34f96
|
|
BLAKE2b-256 checksum How to use checksums |
ec32d302c06b935604937884bea2c030f083b90b229e81fb2d9527ae37048035
|
| 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.3-py3-none-any.whl
| Download URL | movie_tui-0.1.3-py3-none-any.whl |
|---|---|
| Size | 22.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fe65786902747a0f49db9f76dd2f4a2af122722a87ad14f3d802487ab180e85
|
|
BLAKE2b-256 checksum How to use checksums |
e87379e2c564daf778139ef9857011ae2da8c80483b84ee2677e3255e7e2abb1
|
| 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.3
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.