.\" Keep CLI syntax aligned with src/main.rs and configuration with src/config.rs. .\" Check hotkeys against src/keymap.rs, terminal-only handlers in src/tui.rs, .\" and the controller's action availability before changing this reference. .\" Keep this source ASCII and omit a release version to avoid stale metadata. .TH YOUTA 1 "2026-10-07" "Youta" "User Commands" .SH NAME youta \- terminal audio player and subscription manager .SH SYNOPSIS .B youta .RI [ options ] .RI [ URL ] .br .B youta .RI [ options ] .B tui .br .B youta .RI [ options ] .B search .RB [ \-\-channels ] .I QUERY .br .B youta .RI [ options ] .RB { doctor | config | extractors } .br .B youta help .RI [ COMMAND ] .SH DESCRIPTION .B Youta plays audio, browses media sources, and keeps local subscriptions, playlists, notes, listening history, and playback positions. Running it without a command opens the terminal interface. The default playback backend controls an invisible .BR mpv (1) process and uses .BR yt-dlp (1) for supported media resolution and downloads. .PP Available sources and actions depend on the features included in the build, configured providers, installed helpers, and the selected item. The contextual help opened with .B ? and the displayed action labels show the controls available in the current view. YouTube subscriptions are managed locally; they do not synchronize with a YouTube account. .SH COMMANDS .TP .B tui Open the terminal player. Requires the .B tui build feature. .TP .BR search " [\-\-channels] " QUERY Search YouTube videos, or channel names with .BR \-\-channels . Configure an official YouTube API key or an Invidious instance first; the corresponding provider must be included in the build. Results contain tab-separated identifiers, titles or names, and webpage URLs. Quote queries containing spaces. .TP .B doctor Check external helpers, configuration, storage, and tracker decoder support. .TP .B config Print non-secret effective configuration and state paths. .TP .B extractors List site extractors reported by the installed .BR yt-dlp . Requires the .B yt-dlp build feature. .TP .BR help " [COMMAND]" Print general help or help for the named command. .SH OPTIONS .TP .BI \-\-config-dir " PATH" Use this application directory for configuration and state. Overrides .BR YOUTA_CONFIG_DIR . This option is accepted before or after a subcommand. .TP .B \-\-license Print the complete MIT license notice and exit. This option is accepted before or after a subcommand. .TP .BR \-h , " \-\-help" Print help. Use a subcommand followed by .B \-\-help for its options. .TP .BR \-V , " \-\-version" Print the version. .TP .I URL Open a complete HTTP or HTTPS page in the Web tab without starting playback. The URL must not contain a username or password. Quote URLs containing shell metacharacters. A startup URL cannot be combined with a subcommand and requires both the .B tui and .B web-browser build features. .SH TERMINAL HOTKEYS Letter keys are case-sensitive: .B s and .B S are different commands. .B Ctrl+ and .B Alt+ mean holding that modifier while pressing the named key. These bindings describe normal browsing unless a context is stated. Popups, text editors, text-selection mode, and the keyboard pointer can consume keys before normal browsing does. For example, typing .B q in a search field inserts a letter, and arrow keys in an editor move its cursor. .SS General navigation .TP .B Ctrl+Alt+B Open the bug-report composer with title/body inputs and an enabled-by-default With ASCII screenshot checkbox. See BUG REPORTS below. .TP .B ? Open contextual help. Press .B ? or .B Esc to close it. .TP .BR q ", " Ctrl+C Quit from normal browsing. Popups can override or ignore these keys; close the popup first if necessary. .TP .BR Tab ", " Shift+Tab Switch to the next or previous enabled top-level screen, wrapping at the ends. .B Ctrl+Tab and .B Ctrl+Shift+Tab also work when the terminal reports these combinations. .TP .BR j ", " k Select the next or previous row. .TP .BR PageUp ", " PageDown Move by the visible page in Local, Web, Subs, Radio, Apple Podcasts, SoundCloud, archive.org, and LibriVox lists. When Details has focus, scroll Details instead. .TP .B Enter Open the selected source, folder, playlist, or item, or start its playback. On the active Local media file, toggle pause like Space instead of reloading it. In focused Details, an actionable selected link or media control can take priority. .TP .BR Backspace ", " Alt+Left ", " Alt+Right Go back, back, or forward in navigation, respectively. .TP .B Esc Close the current popup or editor, leave focused Details, or return from a supported nested view. In Local, open the parent directory when no higher priority view consumes the key. .TP .B S Open the Subs source root. .TP .B F1 Switch directly to the YT tab during normal browsing, without changing playback. Dialogs retain their own F1 actions; editors keep their input handling. .TP .B F2 Open Local when local-file browsing is built. .TP .B F11 Open Podcasts during normal browsing when the Apple Podcasts feature is built, without changing playback. Editors and dialogs retain their input handling. .TP .B F12 Open downloaded media (Offline) during normal browsing. .TP .B F3 Open Log when playback-history recording is enabled. .TP .B F4 Open playlists (Lists). .TP .B F5 Open listening statistics. .TP .BR p ", " F7 Open Preferences. Use .B Up and .B Down to focus a setting, .B Space to change it, and .B Enter to save. Press .B Esc or .B p to dismiss the dialog. .TP .B F9 Open project history. Press .B F9 or .B Esc to close it. .SS Playback and queue .TP .B Space Toggle pause. .TP .BR Left ", " Right Seek backward or forward five seconds when seeking is available. .TP .BR Ctrl+Left ", " Ctrl+Right Seek backward or forward 20 seconds when seeking is available. Editors and modal views retain their own key handling; .B Alt+Left and .B Alt+Right remain back and forward navigation. .TP .BR Up ", " Down Increase or decrease volume by five percentage points. Use .B j and .B k to navigate ordinary lists. .TP .BR 0 " through " 9 Seek to 0 through 90 percent of the playing item when seeking is available. .TP .BR , ", " . Decrease or increase playback speed by 0.1. .B < and .B > also change speed when Details is not shown or has fewer than two URLs. When Details has multiple URLs, they move to the previous or next URL instead, without requiring focus. .TP .BR [ ", " ] Go to the previous or next chapter of seekable, non-live media. .TP .BR { ", " } Play the previous or next queue item, using the source continuation where available. .TP .B A Toggle autoplay of the source list. Explicit queued items play first. This preference is saved. .TP .BR ~ ", " r Toggle repeat of the playing item for this session. The tilde key works during normal browsing in any tab. In Local, r opens Rename when that feature is included; in Radio, r toggles recording. Live radio cannot repeat. The catalogue and subscription terminal footers, including YouTube and Local, show clickable .B [A] Autoplay: off/on and .B [~] Repeat: off/on statuses; each can also be toggled with its displayed key. .TP .B a Add the selected playable item to the queue. At the Subs source root this key opens Add RSS feed instead. .TP .B Ctrl+n Put the selected playable item next in the queue. .TP .B u Open the playback queue. Within it, .B j/k or .B Up/Down select an entry, .B Enter plays it, .B x or .B Delete removes it, and .B C clears the queue. .B Esc or .B u closes the queue. .TP .B w Toggle a waveform for supported local audio or video using .BR ffmpeg . .TP .B F10 Open the ASCII audio visualizer while playback is loaded, when the feature and its helper are available. .B Esc or .B F10 closes it. .SS Search, subscriptions, and Web .TP .B / Begin a search in the current source or edit the address in Web. While editing, .B Enter submits, .B Esc cancels, .B Left/Right move the cursor, .B Backspace deletes the preceding character, and .B Ctrl+w deletes the preceding word. The TUI search and filter field uses ASCII .B | to mark the insertion point, including on Linux consoles. .TP .B v Switch between videos and channels in YouTube search. In Yandex Music, cycle the search category. .TP .B N Toggle relevance or newest-first ordering in YouTube search. .TP .B C Toggle the Creative Commons filter in YouTube video search. An active download takes priority: this key cancels that download instead. .TP .B c Open the selected item's channel or source when supported. In YT video Details, the To channel button (after Subscribe) opens a Subs-style page with one channel on the left and its description on the right, without subscribing. It also works for already subscribed channels. .B Enter opens that channel's videos. .B Alt+Left or .B Backspace returns from videos to the channel, then to the original search and selection. .TP .B s Subscribe locally to the selected YouTube channel, including an unsubscribed channel identified by a video result. On an already subscribed channel, open an unsubscribe confirmation; .B Enter confirms and .B Esc cancels. Downloaded files are kept. .TP .B a At the Subs source root, open Add RSS feed. Enter an HTTP or HTTPS RSS/Atom feed URL and press .B Enter to save, or .B Esc to cancel. .TP .B R Refresh Web or the active subscription's videos or episodes. In Yandex Music recommendations, this key downloads twenty recommendations when that action is available. .TP .B h Toggle YouTube Shorts in YT search results or an active YouTube subscription's item list. Both use the same saved preference. Explicit video URLs remain available even when Shorts are hidden. Unwatched YouTube videos have a brighter metadata line (channel, subscribers, date, and duration) than already-started videos. Selection and playback highlights are preserved. In TUI YouTube lists, provider-confirmed Shorts have green titles, active livestreams have red titles and LIVE labels, and confirmed past livestreams have pink titles. Selection highlighting takes priority. Past-stream detection requires provider metadata; Invidious does not reliably identify fully processed archives. .TP .B i Toggle item Details in the split Subs layout. .TP .B X Toggle automatic downloads for an eligible YouTube channel. In Yandex Music, dislike or undo dislike of the selected track. .TP .B D Review a full-channel YouTube download when available. In an open Yandex Music album, download the album. .PP In archive.org items, ZIP files are folders after the direct tracks. .B Enter opens a ZIP's audio member list and then plays the selected member. .B Esc returns to the parent item, selecting the same ZIP. Member paths remain visible; the whole ZIP is not downloaded or extracted locally. Nested archives are not opened, and member seeking depends on the remote service. .SS Downloads, playlists, and notes .TP .B Insert Toggle the download mark on a supported playable row. .TP .B d Download the marked items or selected supported media. When a download-choice dialog opens, use .B j/k or .B Up/Down to choose, .B Enter to confirm, and .B Esc to cancel. .TP .B Ctrl+d Open the persistent download queue. Use .B j/k or .B Up/Down to select, .B r to retry, .B x or .B Delete to cancel or remove an entry, and .B Esc to close. .TP .B l Toggle the selected supported item's membership in the built-in todo playlist. .TP .B P Open the playlist picker for the selected supported item. Use .B j/k or .B Up/Down to select, .B Enter to toggle membership, .B n to create a playlist, and .B Esc to close. In the name-and-description editor, .B Tab switches fields and .B Enter saves. .TP .B e Edit the selected playlist's name and description in the Lists index. .TP .B n Add or edit a private note for the selected supported target, including Local folders. The Add private note / Edit private note row in Details opens the same editor. Local folders are source targets identified by their exact full path, separate from notes on child files; selecting .B .. targets the parent folder. Folder notes use the existing note storage. Inside the editor, .B Enter inserts a newline, .B Ctrl+s saves, .B Delete requests deletion, and .B Esc closes. Confirm deletion with .B Enter or a second .BR Delete . .SS Commands, Local files and Radio .TP .B i Open or hide Info for the selected URL in Local file comments, YouTube descriptions, or Apple Podcasts and RSS podcast descriptions. The TUI shows that URL, its Info control, navigation arrows, and position counter on one line. Only the selected URL's expanded facts are shown. When Details has multiple URLs, press .B < or .B > or click the URL rail's .B [<] or .B [>] controls to move to the previous or next URL without fetching it. Details does not need keyboard focus. Alt+i and Alt+Shift+i remain shortcuts for the next and previous URL. Editors and popups retain their own key handling. Info fetches the HTML title/description and public RDAP/WHOIS registration facts: dates, registrar, registrant when public, nameservers and status. Redacted owner details remain unavailable. Registration dates are not website age or a trust score. Muted facts temporarily occupy the scrollable terminal Details body; Hide restores the unchanged original description. Only explicit requests contact websites and IANA-discovered registry services. When no RDAP service is listed, Info queries the registry's IANA-discovered WHOIS server over TCP port 43. WHOIS needs no API key but is unencrypted; website paths and queries are never sent to it. Website queries are sent to that website; browser cookies and credentials are not used. Private networks and nonstandard website ports are rejected, including redirects and resolved addresses. Scripts/resources are not loaded. Website metadata and domain registration run concurrently, sharing one eight-second network budget and preserving partial results. Registration discovery still precedes its dependent registry request. Info shows the connected IP, redirects, supplied Server and Content-Encoding headers, human-readable Content-Length when supplied, and identifiable CDN header hints. Content length is the declared transfer size, compressed when the response uses compression, not the decoded page size. An exact nginx, Apache 2.4 or Caddy version may also show its upstream release month/year and official source. The official-source request runs in parallel with IP registration within the same budget and never receives the visited website URL. Unknown dates are omitted. This is not an installation date or an assessment of distribution security backports. Network country (registered) is the IP allocation's country, not physical server geolocation; a CDN can hide the actual host. TLS version, certificate issuer, expiry and DNS names come from the same verified connection. Certificate domains are covered names, not proof of common ownership. Declared HTML, Open Graph and Schema.org metadata can supply software, feed URLs, published/updated dates, author/publisher, page type and media details. Missing fields are omitted. Claims are limited to the current page's unambiguous object; recommendations are not mixed into it. Recognizable Google Analytics, Google Tag/Tag Manager and Yandex Metrica HTML markers appear only when detected. Absence is not proof that tracking is absent: only a bounded HTML prefix is inspected, without executing scripts or fetching feeds or JSON-LD contexts. Expanded Info provides robots.txt (Alt+r) and sitemap.xml (Alt+s) controls. Each fetches only when opened. Robots text is shown in full; sitemaps become selectable lists with lastmod and other supplied metadata. Up/Down selects; Enter opens a child sitemap or a page in Youta's Web tab. Alt+Left restores the cached parent sitemap, or returns from Web to the same sitemap selection and scroll position. PageUp/PageDown and the wheel reveal long entries. Esc closes the viewer and cancels pending work. Files have a 1 MiB decoded limit, also enforced after gzip sitemap decompression. Oversized files show an error rather than a partial list. Selection never prefetches children or pages. Opening pages requires the web-browser build feature. Up to 64 recent results stay cached in RAM until exit, without expiry or a Refresh button. No browser or API key is required, including on a physical TTY. The default-on .B url-info Cargo feature and Gentoo USE flag can be disabled independently. .TP .B : Enter a Bash command in the seek-bar area on any tab, whether playback is active or stopped. Ordinary commands such as pwd need no selection. The default-on .B cmd build feature requires Bash; the colon editor also requires a Unix terminal and is unavailable in the GUI and inside read-only archive folders. Commands cannot target extracted archive contents. .B Enter runs the command in the foreground with terminal input and output; .B Esc cancels before execution. The working directory is the displayed Local directory; elsewhere it is a selected local file's parent, or Youta's process working directory for a remote item or no selection. .B Ctrl+C interrupts the command. After it finishes, any key returns to Youta. Commands run with your permissions and may modify or delete files; they are not sandboxed. Bash startup files are not loaded. .IP Use an unquoted .B % argument for the selected item's original URL or full local path, safely passed as one argument. The Local .. row supplies the full parent-directory path. Use .B %d for its downloaded or local path: reuse a completed download, or open the normal download/format chooser and wait for completion before executing. Failed or cancelled downloads never execute the command. For local entries, both macros supply the same full path. Macros require a selected item and never fall back to the playing item. Suffixes such as .B %.mp3 and .B %d.flac append to the corresponding target. Quoted and escaped percent signs remain literal. For substitutions, arithmetic, grouping, and other complex Bash syntax, use .B \(dq$1\(dq instead of the percent shortcut: the selected original URL or local path is Bash's first positional parameter. Changing positional parameters changes $1 but not the percent shortcut. .IP While entering a command, .B Tab completes command names from PATH and Bash builtins, or filenames relative to the command's working directory. Absolute paths and ~/ are also supported. The first Tab inserts a common prefix; repeated Tab cycles matches. Spaces and quotes are quoted automatically. Completion neither executes shell expansions nor loads programmable Bash completion scripts. .B Up/Down recall previous commands and restore the unsent draft past the newest entry. .B Ctrl+R opens the ten newest matching commands. Type a case-sensitive substring, select with .BR Up/Down , and press .B Enter to execute against the current selection, or .B Esc to close history search. .IP The standalone Cargo feature and Gentoo USE flag are both named .BR cmd . Omit cmd from an explicit Cargo .B \-\-no-default-features build or use Gentoo .B USE=\(dq\-cmd\(dq to remove command support. .IP The same default-on feature also provides configured command buttons in terminal and GUI Details; see CUSTOM COMMAND BUTTONS below. .TP .B r Rename the selected Local entry when supported. .TP .B c Open Copy for selected Local files or folders when supported. The source is retained. Use .B j/k or .B Up/Down to select a destination folder and .B Enter to open it. Confirm copying into the displayed directory with .B c or .BR C . .TP .B m Open Move for selected Local entries when supported. In the destination picker, .B j/k or .B Up/Down select a directory, .B Enter opens it, and .B m/M confirms moving into the current directory. .B Esc cancels either destination picker before transfer starts. During Copy or Move, the foreground dialog blocks navigation and dismissal until completion and displays byte or entry progress when available. Folder listings and transfer progress wake the terminal UI when ready, without waiting for a periodic response check. .TP .BR Shift+j ", " Shift+k Extend Local file/folder selection down or up for copy, move, or quality analysis, when supported and reported distinctly by the terminal. .TP .B Delete Request Move to Trash for selected Local entries when supported. Confirm with .B Enter or cancel with .BR Esc . .TP .B x Request Move to Trash for selected downloaded media in Offline. .TP .B H Toggle showing all Local files. .TP .B Z Cycle Local folder-size sorting off, ascending, and descending when folder size measurement is enabled. .PP Preferences includes .B Natural Local filename sorting (1, 2, 10) to order numbered files and folders numerically, including inside local archives. It is off by default. Folders stay first unless size sorting is active; equal sizes use the selected filename order. Saving keeps the same entry selected. The configuration key is .BR ui.natural_local_sort . .TP .B f Fingerprint selected supported Local audio through Chromaprint and AcoustID. In Radio, toggle the selected station's favorite status. .TP .B V Analyze supported Local audio quality for the selected item or marked files and folders. .TP .B B Cycle Radio sorting. .TP .B r Start or stop recording in Radio. .PP Rename, Move, and Trash are unavailable inside read-only archives. .SS Details, links, and optional actions YouTube description hashtags are inline links. Activating one searches YouTube for that hashtag inside Youta. Select it with the Details-link keys below or click it with the mouse. Use .B Alt+Left or .B Backspace to return to the previous view with its search results, selected item, and Details scroll position, without repeating the search or interrupting playback. .PP Email addresses in Details descriptions and public comments are clickable. They open the system's default mail application with one recipient; Youta does not send mail. Details emails also support the link-selection keys below. External email actions are unavailable on Linux virtual consoles without a desktop opener. .TP .BR Alt+Up ", " Alt+Down ", " Alt+u ", " Alt+d Scroll visible Details one line up or down. .B Alt+u/d also work on Linux virtual consoles whose keymaps intercept Alt-arrow keys. .TP .BR Alt+j ", " Alt+k Select the next or previous Details link, or an expanded Wikidata media control when those controls have focus. .TP .BR Alt+Home ", " Alt+End Select the first or last Details link. .TP .B Alt+Enter Activate the selected Details link. .TP .BR Home ", " End Scroll to the beginning or end when Details has focus. .TP .B t Enter or leave Details text-selection mode for copying through the terminal. .B Esc also leaves this mode. .TP .B T Toggle chapter timestamps. .TP .B W Expand or collapse statements for an available Wikidata link. .TP .BR o ", " O Open the selected item's webpage or its channel's webpage in the external browser. In Radio both keys open the station page. External browser actions require an available graphical opener. .TP .B y Copy the selected item's link. .TP .B F6 Open available public comments or reviews. .B F6 or .B Esc closes the popup. .TP .B G Generate a video summary when the configured summary backend and selected item support it. .TP .B Y Open available YouTube captions. .TP .B Q Show a QR code for the selected YouTube video when supported. .B Q or .B Esc closes it. .TP .BR I ", " M ", " U ", " E Open the selected item's Internet Archive upload, Amazon S3 upload, Wikimedia Commons upload, or Evernote note review, respectively, when the corresponding integration and item are available. Review the destination and fields before submitting. .B I supports YouTube videos and eligible Local media files when the .B archive-upload feature is built; this feature is independent of archive.org browsing. Local private paths are omitted from public upload metadata. Audio is prepared as Opus; eligible Local video can instead use stream-copy MKV. Folders and unavailable selections cannot start publication. .TP .BR L ", " g ", " b In Yandex Music, like or undo like of a track, open its artist, or open its album, respectively, when available. .TP .BR Shift+F1 " (or F13)" Start sharing the selected Local file or folder over the LAN when supported. F13 supports Linux console keymaps that report Shift+F1 without a modifier. .TP .B Podcast feed (button) Share a podcast feed for selected Local audio or an eligible YouTube channel or episode when supported. This action has no dedicated hotkey. Selecting a playable Local file or a YouTube channel or episode opens feed options first; selecting a Local folder starts sharing directly. In the active LAN-share popup, .B x stops sharing; .B Esc only closes the popup. .SS Keyboard pointer .B F8 toggles the terminal keyboard pointer. While active, arrow keys move it one cell, .B Enter clicks, and .B Esc or .B F8 exits pointer mode. .SH BUG REPORTS Press .B Ctrl+Alt+B to compose a public GitHub issue without leaving Youta. The optional text screenshot captures the visible screen before the form opens, preserves Unicode titles, and omits artwork and terminal-image commands. In the GUI it is a labeled text snapshot, not a raster image. Private-note and credential editors suppress capture. Common credentials and home paths are redacted; large screenshots are truncated. Other visible personal text may remain: uncheck With ASCII screenshot to exclude it. .PP .B Tab and .B Shift+Tab move between fields; .B Space toggles the screenshot checkbox when selected. .B Enter in the body inserts a newline. .B Ctrl+S or Submit sends directly, with no additional review or confirmation screen. .B Ctrl+Enter also submits on terminals that can distinguish it from plain Enter. While sending, Submit is gray and disabled, a simple spinner animates, and editing, dismissal, and repeated submission are blocked. An explicit failure allows retrying; an uncertain outcome asks you to check the issue list to avoid duplicates. .B Esc closes the form when it is not sending. .PP The report ends automatically with a separator, Youta version, and OS. Drafts and screenshots are kept only in memory. Submission uses an installed, authenticated .BR gh (1) and works from a physical TTY without opening a browser. The body is sent through standard input, not a browser URL. Missing-helper and authentication errors include guidance; Copy is also available. Never include authentication tokens in a report. .PP .UR https://cli.github.com/manual/gh_auth_login GitHub CLI authentication, including headless token input .UE .br .UR https://cli.github.com/manual/gh_issue_create GitHub CLI issue creation .UE .SH AUDIO CACHE On Linux, the default .B cache build feature retains fetched, validated HTTP audio bytes in RAM across track switches. Returning to cached YouTube audio can skip extraction and reuse the saved playback position, including after playing several other tracks. Uncached or evicted ranges still need the network; the decoder still opens when returning to a track. Audio is fetched on demand, not downloaded in full automatically. .PP The cache observes a best-effort ceiling of 90% total memory usage, respecting both available physical memory and tighter container limits. Older bytes are evicted under pressure. This does not allocate 90% of RAM to Youta or prevent other applications from exceeding the threshold. Missing memory measurements disable retention. Audio bytes and resolved URLs are session-only. .PP Live streams, HLS/DASH manifests, unsupported HTTP servers, configured HTTP proxies, and platforms without memory measurements use ordinary playback. Archive.org's existing exact-original download cache remains available. Omit the .B cache Cargo feature, or use Gentoo .BR USE="-cache" , to remove RAM audio caching from both frontends. .SH CUSTOM COMMAND BUTTONS The default-on Cargo feature and Gentoo USE flag .B cmd enable buttons in both the TUI and GUI. Youta creates a disabled .I commands.sample in the application directory without replacing an existing sample. Rename it to the extensionless .I commands file to enable it. Restart Youta to reload changes. .PP The file is TOML with one .B [[commands]] table per button. Fields .B name and .B command are required. .B description is an optional configuration note and is never displayed. Optional .B provider restricts the button to the selected item's actual source, not its tab; examples are local, youtube, and rss. Omit it for all eligible providers. Optional .B font_color and .B background_color accept #rgb or #rrggbb values. .PP An unquoted .B % passes the original selected provider URL or full local path as one argument, using the same selection rules as the colon editor. Neither macro falls back to the playing item. .B %d passes a downloaded file path: reuse a completed download, or use the normal download/format chooser and wait for completion before executing. Failed or cancelled downloads never execute the command. For Local items both macros pass the same full filesystem path. Suffixes such as .B %d.flac are supported; quoted or escaped percent signs remain literal. Buttons are unavailable inside read-only archive folders. .PP Optional .B hotkey accepts a character, named key, or F1-F24 with Ctrl+, Alt+, or Shift+ modifiers. It overrides built-in shortcuts only in the normal eligible selection context, never while an editor or popup owns input. .B Ctrl+C and .B Ctrl+Alt+B are reserved. Shortcuts may repeat only for disjoint provider filters. Nothing runs until a button or its hotkey is invoked. .PP The TUI runs commands in its foreground terminal. The GUI blocks interaction in an output dialog until completion, captures bounded stdout and stderr, and provides no standard input. Commands use Bash with the user's permissions; they are not sandboxed and may modify or delete files. .SH CONFIGURATION On Linux the default application directory is .IR $XDG_CONFIG_HOME/youta , or .I ~/.config/youta when .B XDG_CONFIG_HOME is unset. Other platforms use their platform configuration directory. Select another directory with .B YOUTA_CONFIG_DIR or, at higher priority, .BR \-\-config-dir . .PP Settings load in increasing priority: built-in defaults, .IR config.toml , .IR secrets/credentials.toml , and environment variables beginning with .BR YOUTA_ . Two underscores express nested keys: for example, .B YOUTA_PLAYBACK__VOLUME_PERCENT=40 sets .BR playback.volume_percent . The repository's .I config.example.toml documents available settings. .PP Preferences calls the playback/search persistence setting .BR "Save log and searches" . Set .B persistence.save_playback_history=false in config.toml, or .BR YOUTA_PERSISTENCE__SAVE_PLAYBACK_HISTORY=false , to stop new log entries and hide Log. Searches are not saved or restored after restart. Previously saved online queries and search results are removed when the setting is turned off or Youta starts with it off. Online search tabs stay empty until an explicit search or browse action. Online browsing routes are omitted from saved sessions. Existing playback logs, media/artwork caches, and Git history are retained. Playback progress, listening statistics, other session state, and graceful-shutdown Git synchronization remain enabled. Re-enabling the setting reveals the retained playback history in Log again. .PP The first unconfigured YouTube search in the terminal offers provider setup. It saves API keys in .I secrets/credentials.toml and the Invidious instance URL in .IR config.toml . Stored credentials are plaintext; Youta creates private directories and files with user-only permissions on Unix. Preferences also exposes provider setup when the build supports it. .SH FILES The following paths are relative to the selected application directory. .TP .I config.toml User settings. .TP .I secrets/credentials.toml Provider credentials. .TP .I subscriptions.opml Portable local subscriptions to RSS, podcast, and compatible channel feeds. .TP .I commands Optional extensionless TOML command-button configuration for the cmd feature. Restart Youta after edits; see CUSTOM COMMAND BUTTONS. .TP .I commands.sample Disabled command-button example, generated only if absent. Never loaded or executed; rename to commands to enable it. .TP .I cmd-log Plaintext terminal command history: the latest 100 submitted commands, one per line, up to 8192 bytes each. Requires the cmd feature. Delete while Youta is closed to clear it. Written with owner-only Unix permissions; included in configuration Git synchronization. Commands may contain passwords or tokens. Command text is excluded from diagnostics and bug-report screenshots. .TP .I state/*.toml Canonical progress, history, notes, bookmarks, statistics, playlists, and move-journal documents for the default files backend. Close Youta before editing these documents. .TP .I state/.lock The files backend's exclusive instance lock. Only one process can open that backend in an application directory at a time. .TP .I runtime/ Restart session state and playback checkpoints. .TP .I cache/ Regenerable search, metadata, and local archive caches. .TP .I thumbnail-cache/ Persistent artwork cache. .TP .I downloads/ Downloaded media and related data. .TP .I state.sqlite3 State database when the optional SQLite backend is selected and compiled in. .SH ENVIRONMENT .TP .B YOUTA_CONFIG_DIR Select the application directory unless .B \-\-config-dir is supplied. .TP .B XDG_CONFIG_HOME Select the Linux configuration base directory. .TP .B YOUTA_
__ Override a nested setting, for example .B YOUTA_UI__THEME=dark or .BR YOUTA_PLAYBACK__AUTOPLAY=true . Environment overrides take precedence over saved preferences. .SH EXAMPLES Open the terminal player: .PP .nf .B youta .fi .PP Open a Web directory without starting playback: .PP .nf .B youta \(aqhttps://example.com/music/\(aq .fi .PP Search configured YouTube metadata: .PP .nf .B youta search \(aqambient music\(aq .B youta search \-\-channels \(aqradio\(aq .fi .PP Inspect a separate application directory: .PP .nf .B youta \-\-config-dir /path/to/youta config .B youta \-\-config-dir /path/to/youta doctor .fi .PP Start with a volume override: .PP .nf .B YOUTA_PLAYBACK__VOLUME_PERCENT=40 youta .fi .SH SEE ALSO .BR mpv (1), .BR yt-dlp (1), .BR ffmpeg (1) .PP Project documentation and configuration examples: .UR https://github.com/vitaly-zdanevich/youta Youta documentation .UE