pikpaktui v0.0.60
docs / guide / TUI Guide

TUI Guide

Launch with pikpaktui (no arguments). On first run a login form appears. After login, you're in the responsive file browser. Press h for the built-in help sheet, ? for the discoverable Actions menu, or , for settings.

File Browser

Set columns = "auto" or a positive integer such as 4, 5, or 6 in Settings or config.toml. Auto mode uses terminal width, minimum pane width, and filename display width (including wide Chinese characters). Once established, the auto count stays stable while navigating; resizing or changing layout settings recalculates it. Fixed counts show fewer readable panes when the window is too narrow; the active pane's footer shows the visible/configured count.

The highlighted pane is the directory receiving keyboard commands. Entering folders moves it to the right; deeper paths shift earlier ancestors off screen while keeping a preview visible. Right-hand panes continue the selected directory path: selected folder → its selected child → file preview. Remaining panes show following siblings in the current sort order. Scrolling a folder preview changes its selection and the previews to its right. Folder and media previews load automatically; lazy_preview controls automatic text previews and file details. Clicking an ancestor or descendant preview focuses its directory. Returning restores its cursor and scroll position.

TUI main view

KeyAction
j / k / ↑ / ↓Navigate up/down
g / HomeJump to top
G / EndJump to bottom
PageUp / PageDownPage scroll
Ctrl+U / Ctrl+DHalf-page scroll
Enter / →Open folder / play video (opens playback confirmation with quality dropdown)
Backspace / ←Go to parent directory
wStream video — opens quality/resolution picker
rRefresh current directory
mMove (opens folder picker or text input, per move_mode setting)
cCopy
nRename (opens inline text input)
dDelete — prompts for confirmation
fNew folder (opens inline text input)
sStar / unstar current file
yCopy direct download URL to clipboard (files only)
uUpload a local file to the current folder
aToggle current item in/out of cart
SCycle sort field: name → size → created → type → extension → none
RToggle reverse sort order
AOpen cart view
DOpen downloads view
MOpen my shares view
oOffline download — enter URL or magnet link
OOffline tasks view
tTrash view
SpaceFile/folder info popup
pPreview file content (text preview / fetch listing)
vToggle inline image thumbnails
[ / ]Shrink / enlarge inline thumbnails
lToggle log overlay
:Go to path — type a cloud path and press Enter
,Settings panel
hHelp sheet
?Actions menu
qQuit (confirms if downloads are active)
Ctrl+CQuit (confirms if downloads are active)

Recent operation results appear as a short-lived status message without opening the log overlay. The same messages remain available in the log.

Inline thumbnails

Files with an available thumbnail link show a tiny thumbnail before the filename, including images, videos, and document covers. v toggles them; [ shrinks and ] enlarges them. These shortcuts save the setting. The Settings panel also exposes Inline Thumbnails and Inline Thumbnail Size: tiny (2×1), small (4×2), medium (6×3), large (8×4) terminal cells. Larger thumbnails increase row height; the filename can wrap beside the image. Page navigation and mouse clicks follow those rows. Pending, loading and failed images keep a grey card of the same size, so row height and filename alignment stay stable. Images and videos without a thumbnail URL also keep an unavailable card; other files keep their normal icon. Thumbnail Placeholders can disable these cards. Only visible rows and previews are loaded, and a single image request serves both views. p retries the selected preview and r refreshes all previews. Errors remain in the log. Kitty, iTerm2, and Sixel terminals use native image pixels; other terminals use colored half blocks. Encodings are reused between frames. Inline thumbnails have a separate toggle from the large preview pane.

Actions Menu

Press ? to browse the available actions with their shortcuts. Use j / k or the arrow keys to select an action, Enter to run it, and Esc or ? to close. The menu also supports the mouse wheel, single-click selection, and double-click activation.

Delete confirmation

Pressing d opens a confirmation prompt:

  • y — move to trash (recoverable)
  • p — opens a second prompt asking you to type yes and press Enter for permanent deletion
  • n / Esc — cancel

Folder Picker (Move / Copy)

Appears when move_mode = "picker" (default). A two-pane folder navigator.

Copy picker

KeyAction
j / kNavigate folders
EnterOpen folder
BackspaceGo to parent
SpaceConfirm destination
/Switch to text input mode
EscCancel

Text Input

All text fields — login, rename, new folder, paths, URLs, player command, and local transfer destinations — support cursor-aware editing.

KeyAction
← / →Move by one Unicode character
Home / EndMove to the start / end
Backspace / DeleteDelete before / at the cursor
Ctrl+A / Ctrl+EMove to the start / end
Ctrl+WDelete the previous word
TypeInsert at the cursor
EscCancel

Long values scroll horizontally to keep the cursor visible. Cloud path fields used for move/copy add these controls:

KeyAction
TabAutocomplete cloud path
EnterSelect completion / confirm destination
Ctrl+BSwitch back to folder picker
EscClose completions first, then cancel

Cart View

Add multiple files with a, then batch-download, move, copy, or share them all at once.

Cart view

KeyAction
j / kNavigate
x / dRemove selected item from cart
aClear all items
EnterDownload all — prompts for local destination
mMove all items (folder picker)
cCopy all items (folder picker)
tTrash all items
sShare all items (prompts: p = plain link, P = password-protected)
SShare all (plain link, no prompt)
EscClose cart view

Download View

Press D to open the download manager. Active downloads show progress in real time.

Downloads view

KeyAction
j / kNavigate tasks
EnterToggle collapsed / expanded view
pPause / resume selected task
xCancel and remove selected task
rRetry a failed task
EscClose (downloads continue in background)

Trash View

Press t to open the trash. Files deleted with d → y land here.

Trash view

KeyAction
j / kNavigate
EnterToggle collapsed / expanded
uRestore (untrash) selected item
xPermanently delete selected item
SpaceShow file info popup
rRefresh trash listing
EscClose (or collapse expanded view)

Offline Tasks View

Press O to view server-side download tasks.

KeyAction
j / kNavigate
rRefresh task list
RRetry selected failed task
xDelete selected task
EscClose

Video Quality Picker

Press Enter on a video to open Play Video, including its quality dropdown. w opens the direct stream picker. Only versions returned for the file are listed; hidden versions are excluded, while links not ready or requiring extra quota are disabled.

ContextKeyAction
Play Videoq / Space / Tab, or click QualityOpen quality dropdown
Dropdownj / k, arrows, or wheelNavigate permitted versions
DropdownEnter or click an available rowSelect quality and return to confirmation
DropdownEscCancel selection and return
Play Videoy / EnterPlay the selected quality
Play Videon / EscClose
Direct picker (w)j / k, Enter, EscNavigate, play, cancel

Selecting from the dropdown does not start playback; confirm afterward. Original is the default and means source quality. Change the saved preference in Settings → Playback Settings → Default Playback Quality, or set playback_quality in config.toml. A per-file choice does not change the default. The actual selection and any fallback are shown before playback. Long quality lists scroll to keep the selection visible.

Settings

Press , to open settings. Changes stay in a draft until you press s, which applies them and persists them to config.toml.

Settings

KeyAction
j / kNavigate items
Space / EnterEdit / toggle selected item
← / →Cycle through options for multi-value settings
sSave changes to config.toml
EscClose, or ask before discarding unsaved changes

At the unsaved-changes prompt, press y / Enter to discard or n / Esc to return to editing.

Settings include: Nerd Font, border style, color scheme (with custom RGB editor), help bar, quota bar style, show preview, lazy preview, preview max size, thumbnail mode, image protocols, sort field, reverse order, move mode, CLI Nerd Font, player command, default playback quality, concurrent download jobs. Also available: column count, minimum column width, inline thumbnails, inline thumbnail size, thumbnail placeholders, and server thumbnail source size (applied after saving).

My Shares View

Press M to open your share history.

KeyAction
j / kNavigate
yCopy share URL to clipboard
d / xDelete share (prompts confirmation)
rRefresh shares list
lToggle log overlay
EscClose

Help Sheet

Press h in the file browser to open the built-in help sheet. On short terminals, use j / k, arrows, page keys, Home, or End to scroll; press Esc (or another non-scroll key) to close it.

Help sheet

Mouse Support

  • Click — Select entries in file panes and modal lists
  • Double-click — Run safe primary actions in file panes, cart, trash, and the player picker; destructive actions still require confirmation
  • Scroll wheel — Navigate file panes, help, Actions, cart, downloads, offline tasks, trash, shares, player choices, color/protocol settings, preview, and logs