Skip to main content

aa-tui

Textual front-end for aa-meta: search Anna's Archive, inspect a result, download it, and edit its metadata.

uv sync
uv run aa-tui ["query"] [--base-url ...] [--cookie ...] [-o DIR]

Results are shown with aa-meta's columns: #, Ext, Title, Author (colour-coded per author), Size, Lang, Year and MD5.

Keys: Enter in the search box searches (a spinner popup shows while waiting; esc cancels); / focuses search; ↑/↓ selects (details load automatically); Enter or a click on a row opens a details popup (e/d work inside it, esc closes); o opens the current search on the site in your browser; d downloads (needs AA_SECRET_KEY or 1Password); q quits (when not typing).

Editing metadata

e opens a form for the highlighted book (title, author, publisher, series, year, language, ISBN, description). ctrl+s saves, esc cancels. Edits are stored per MD5 in ~/.config/aa-tui/metadata.json and shown in the detail pane. When the book has been downloaded, saving also embeds the tags in the file; otherwise they are embedded as soon as it downloads. w re-embeds on demand.

Supported formats: EPUB (OPF Dublin Core + calibre series), PDF (info dictionary), M4B/M4A/MP4 (iTunes atoms), MP3 (ID3v2). Other formats are left untouched with an error notice.

Errors and output

Nothing is printed over the TUI. Anything written to stdout/stderr or logged through loguru (including from aa-meta) appears as a toast: info for stdout and INFO, warning for WARNING, error (shown longer) for stderr and ERROR+. Expected failures (blocked search, API refusals, network errors, unsupported tag formats) are toasts too. An unexpected exception opens a modal with the full traceback instead of quitting; esc closes it.

Metadata

Release files for aa-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)

Source distribution for aa-tui 0.1.0
File Size Uploaded
aa_tui-0.1.0.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-tui 0.1.0
File Interpreter ABI Platform
aa_tui-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.9 kB

Release files / aa_tui-0.1.0.tar.gz

Download URL aa_tui-0.1.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce24c325cac831ca101c20f4e1d52cec45b63366b601404c142cf24405a7d613
BLAKE2b-256 checksum
How to use checksums
d7692340b66358b4c3c8eb741a30a3f80e3addaebeb0024949e75b8fb1013085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / aa_tui-0.1.0-py3-none-any.whl

Download URL aa_tui-0.1.0-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07f144dfa0ff8ea9b18edfcff34a983a8aef189e4fb97beb3fa9540233132b04
BLAKE2b-256 checksum
How to use checksums
aaf9575bdfb572063cc5d8e258350cee3af8fd5a3c5a1c9443a767863a378d03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page