Skip to content
synthalorianPublic

About

Retro TUI file manager with image previews, vim navigation, and synthwave aesthetics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

vhs-86

πŸ“Ό VHS-86

A retro terminal file manager with synthwave aesthetics. Navigate your filesystem like it's 1986.

Features

  • 🎹 Synthwave color palette β€” deep violet blacks, hot magenta, electric cyan
  • πŸ–ΌοΈ Image previews β€” render actual image thumbnails in the preview pane (terminal permitting)
  • πŸ“ File viewer β€” syntax-highlighted text files (via syntect) or hex dump for binaries
  • πŸ“¦ Archive management β€” create and extract zip and tar.gz archives
  • ⌨️ Vim-key navigation β€” h/j/k/l, gg/G, Ctrl+d/Ctrl+u
  • πŸ“‚ Dual-pane layout β€” file list + live preview
  • πŸ—‚οΈ Smart sorting β€” directories first, then by name, size, or modification time
  • πŸ” File filtering β€” filter by extension on the fly
  • πŸ‘» Hidden file toggle β€” press . to show/hide dotfiles
  • βœ‚οΈ File operations β€” copy, move, delete, rename with confirmation
  • πŸ“¦ Batch operations β€” multi-select with Space, batch rename with sequential patterns
  • πŸ”Ž Fuzzy find β€” / searches the current directory, ? searches recursively
  • πŸ–₯️ Shell commands β€” run shell commands without leaving the app (! or :shell)
  • πŸ”– Bookmarks β€” save directories and jump back to them instantly
  • βš™οΈ Config file β€” customize colors and keybindings via ~/.config/vhs-86/config.toml
  • πŸ”„ Config hot-reload β€” edits to the config file are picked up automatically
  • 🎨 Built-in themes β€” synthwave '84, midnight green, amber CRT

Install

cargo build --release
sudo cp target/release/vhs-86 /usr/local/bin/

Usage

vhs-86                    # Open in current directory
vhs-86 /path/to/dir       # Open specific directory

Keybindings

Key Action
j / ↓ Move down
k / ↑ Move up
h / ← Parent directory
l / β†’ / Enter Enter selected directory
gg Go to top
G Go to bottom
Ctrl+d Half-page down
Ctrl+u Half-page up
~ Go to home directory
. Toggle hidden files
/ Fuzzy find files in current directory
? Recursive fuzzy finder
v View file (syntax-highlighted text or hex dump)
! Run a shell command
: Open command palette
Space Toggle batch selection
c Copy selected file(s) to clipboard
m Cut (move) selected file(s) to clipboard
p Paste clipboard into current directory
d Delete selected file(s) (with confirmation)
r Rename selected file/dir
R Batch rename selected files with pattern
b Bookmark current directory
B Open bookmark list
y Confirm destructive action
n / Esc Cancel prompt/operation
q / Esc Quit

Search Mode

Press / to enter fuzzy find. Type to filter, ↑/↓ to navigate matches, Enter to jump to the selected file, Esc to cancel.

Recursive Fuzzy Finder

Press ? to search every file and directory below the current directory. Type to filter, ↑/↓ to navigate, Enter to jump to the selected path (directories are entered; files jump to their parent with the file selected), Esc to cancel.

File Viewer

Press v on a file to open the viewer. Text files are rendered with syntax highlighting (language detected from the extension, falling back to first-line detection; plain text if neither matches). Binary files are shown as a hex dump of the first 2048 bytes.

Scroll with j/k or ↑/↓, half-page with Ctrl+d/Ctrl+u, jump to top/bottom with g/G, close with q or Esc.

Shell Commands

Press !, type a command, and hit Enter β€” it runs via sh -c in the current directory and the combined stdout/stderr is shown in a scrollable overlay (j/k to scroll, q/Esc to close). :shell <cmd> does the same from the command palette.

Bookmarks

Press b to bookmark the current directory, B to open the bookmark list (j/k to navigate, Enter to jump, d to remove, q/Esc to close). Bookmarks are persisted to the config file.

Archives

  • :zip <name> β€” create <name>.zip from the selected item(s)
  • :tar <name> β€” create <name>.tar.gz from the selected item(s)
  • :extract / :x β€” extract the selected .zip, .tar.gz, or .tgz archive into a directory named after the archive

Rename Mode

Press r to rename the selected item. Type the new name and press Enter to confirm, or Esc to cancel.

Batch Rename

Select multiple files with Space, then press R to enter batch rename mode. Type a pattern and press Enter.

Pattern syntax:

  • vacation_{:03}.jpg β†’ vacation_001.jpg, vacation_002.jpg, ...
  • img_{}.png β†’ img_1.png, img_2.png, ...
  • backup β†’ backup_1, backup_2, ... (number appended)

Copy / Move

Press c to copy or m to cut the selected item(s). Navigate to the target directory and press p to paste. If a file with the same name exists, you'll be prompted to overwrite.

Batch Selection

Press Space to toggle selection on the current item. Selected items are highlighted in hot pink with a β–Έ prefix. Then use c, m, or d to operate on all selected items at once.

Command Palette

Press : to open the command palette. Type a command and press Enter.

Command Description
:quit / :q Exit
:reload / :r Reload directory
:hidden / :h Toggle hidden files
:theme <name> / :t <name> Switch theme
:clear / :cls Clear selection and clipboard
:mkdir <name> Create a new directory
:touch <name> Create an empty file
:open / :o Open selected file with system default app
:sort <name|size|modified> / :s <...> Sort files
:filter <ext> / :f <ext> Filter files by extension (no argument clears the filter)
:batchrename <pattern> / :br <pattern> Batch rename selected files
:zip <name> Create zip archive from selected item(s)
:tar <name> Create tar.gz archive from selected item(s)
:extract / :x Extract selected archive (.zip / .tar.gz / .tgz)
:find Open the recursive fuzzy finder
:shell <cmd> / :sh <cmd> Run a shell command
:bookmark / :bm Open bookmark list
:bookmark-add / :ba Bookmark current directory

Themes

VHS-86 comes with three built-in themes:

  • synthwave-84 (default) β€” magenta highlights, cyan directories, black background
  • midnight-green β€” teal highlights, mint directories, dark background
  • amber-crt β€” amber highlights, golden directories, black background

Switch themes with :theme <name>. The active theme is persisted to ~/.config/vhs-86/config.toml.

You can also create custom themes by adding .toml files to ~/.config/vhs-86/themes/. A sample neon-dream.toml is created there on first run.

Configuration

On first run, VHS-86 creates ~/.config/vhs-86/config.toml with default values. Edit it to customize colors and keybindings β€” changes are reloaded automatically when the file is saved.

Example config.toml

# Active theme name. Built-in: synthwave-84, midnight-green, amber-crt
active_theme = "synthwave-84"

# Saved directory bookmarks for quick jumping
# bookmarks = [
#     "/home/user/projects",
#     "/home/user/documents",
# ]

[colors]
background = "black"
foreground = "white"
highlight_bg = "magenta"
highlight_fg = "black"
directory = "cyan"
file = "white"
border = "magenta"
status = "yellow"

# Optional keybinding overrides.
# Use a single character or special name: enter, esc, backspace.
[keys]
# quit = "q"
# up = "k"
# down = "j"
# left = "h"
# right = "l"
# top = "g"
# bottom = "G"
# home = "~"
# toggle_hidden = "."
# copy = "c"
# move = "m"
# delete = "d"
# rename = "r"
# search = "/"
# confirm = "y"
# cancel = "n"

Colors

Any of the following names are valid, plus rgb(r,g,b) for custom colors:

black, red, green, yellow, blue, magenta, cyan, gray, dark_gray, light_red, light_green, light_yellow, light_blue, light_magenta, light_cyan, white

Image Previews

VHS-86 can render actual image thumbnails in the preview pane for supported terminals (Kitty, iTerm2, Foot, Xterm with Sixel, etc.). If your terminal doesn't support image protocols, it falls back to displaying image dimensions.

Supported image formats: PNG, JPG, JPEG, GIF, BMP, WebP, TIFF, ICO, AVIF.

Roadmap

  • File operations (copy, move, delete, rename)
  • Better previews (image thumbnails + dimensions fallback)
  • Config file (~/.config/vhs-86/config.toml)
  • Custom themes (3 built-in + custom theme files)
  • Fuzzy find (/search)
  • Recursive fuzzy finder (?)
  • Batch operations (multi-select, batch rename)
  • Vim navigation (gg, G, Ctrl+d, Ctrl+u)
  • Command palette expansion (mkdir, touch, open, sort, filter)
  • Theme persistence
  • Syntax-highlighted file viewer with hex dump fallback (v)
  • Archive creation and extraction (zip, tar.gz)
  • Shell command runner (!, :shell)
  • Bookmarks
  • Config hot-reload

Future Ideas

  • Configurable image preview sizing/fit modes
  • Custom user-defined commands in config
  • Operation progress bars for large file transfers

License

Apache-2.0


β˜• Support the Developer

If this project saved you time, solved a problem, or just made your day a little more neon, you can fuel the next one:

Buy Me A Coffee

About

Retro TUI file manager with image previews, vim navigation, and synthwave aesthetics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages