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.1
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.1.tar.gz | 19.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| movie_tui-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.5 kB
Release files / movie_tui-0.1.1.tar.gz
| Download URL | movie_tui-0.1.1.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94081a6a77d6d83c95f7faa9a20a8880346c705d66d04020b1a4c86a6de25d57
|
|
BLAKE2b-256 checksum How to use checksums |
ac34623310fdfaf475c642633607bf02c632554860e5f9c44af2b35cab15381f
|
| 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.1-py3-none-any.whl
| Download URL | movie_tui-0.1.1-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8de13a0171c21782f9a650e2f7c662e2d18b3a4ff2e3765533a82f12e5d74349
|
|
BLAKE2b-256 checksum How to use checksums |
bf414ee2e76cbaccfca179e474a2c183139be9837b8b462177b78c6d9c9b8098
|
| 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.1
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.