Skip to content
Projects

About

Omarchy YouTube TUI — Search and watch YouTube in the terminal with HD Sixel/Kitty thumbnails and 403 Ad-Wait bypass

Developer Tools

How these counts are measured

30 stars7 Forks +1 in 24h

What you can do

  • Zero API key, zero pip deps: Single Python script powered by yt-dlp, fzf, mpv and ffmpeg.
  • HD thumbnails (Sixel / Kitty): Parallel prefetch with direct libsixel.so.1 encoding (Foot) and kitten icat (Kitty/Ghostty), plus chafa fallback.
  • Hardware-accelerated playback & Anti-403: Excludes AV1 ([vcodec!^=av01]), prefers H.264/VP9 with VA-API, and bypasses tv_samsung 403 blocks with an Ad-Wait Guard.
  • Built-in 60 FPS Cava visualizer (Alt+A): Pure-Python Radix-2 FFT capturing PipeWire/PulseAudio monitor audio, with 3 visual styles (v) and mpv IPC controls.

Measured star growth

in 24h
+1
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

󰗃 omayt — Omarchy YouTube TUI

A fast, visual terminal YouTube client with no API key — built for Omarchy Linux.

English • Português (Brasil) • Français

Version Platform Python License


omayt v1.6.0 — Main menu on Omarchy Linux (Catppuccin)

Main menu synced automatically to the active Omarchy theme.


🚀 Quick start

git clone https://github.com/sabb4th/omayt.git && cd omayt && ./install.sh
omayt                      # interactive menu
omayt "omarchy linux"      # search YouTube directly
omayt "raimundo/"          # list videos from a channel
omayt -b                   # open the Downloads Library

🆕 What's new in v1.6.0

  • Language-aware search & titles: YouTube search ranking and localized titles now follow your active omayt language (en / pt / fr), keeping untranslated videos in their original language.
  • Upload date under thumbnails: The preview pane now shows each video's posting date and relative age (e.g. 2026-11-27 (2 days ago)).
  • Streamlined playback: Removed the inline terminal video modes (Alt+I / Alt+B) to keep the interface focused on MPV Window (VA-API) and Cava Music Mode.

🎨 Adapts to your Omarchy theme

omayt reads ~/.local/state/omarchy/current/theme/colors.toml at startup — menu, fzf, preview pane and Cava visualizer automatically match your theme.

Catppuccin Latte
Catppuccin Latte
Earth
Earth
Jade Horse
Jade Horse
Gruvbox
Gruvbox

✨ Highlights

  • Zero API key, zero pip deps: Single Python script powered by yt-dlp, fzf, mpv and ffmpeg.
  • HD thumbnails (Sixel / Kitty): Parallel prefetch with direct libsixel.so.1 encoding (Foot) and kitten icat (Kitty/Ghostty), plus chafa fallback.
  • Hardware-accelerated playback & Anti-403: Excludes AV1 ([vcodec!^=av01]), prefers H.264/VP9 with VA-API, and bypasses tv_samsung 403 blocks with an Ad-Wait Guard.
  • Built-in 60 FPS Cava visualizer (Alt+A): Pure-Python Radix-2 FFT capturing PipeWire/PulseAudio monitor audio, with 3 visual styles (v) and mpv IPC controls.
  • Downloads & offline Library (Alt+D / Ctrl+B / omayt -b): Download MP4 (1080p), MP3 (V0) or M4A (AAC) with embedded cover art (square-cropped 1:1 for music), tags and chapters; browse by tab (All / Videos / Music), play playlists (Alt+P), repair missing metadata (Alt+R) or edit tags (Alt+E).
  • Channel search, filters & i18n: channel/ and channel/topic search, Alt+F filters, +30 pagination (Alt+M), and full English / Portuguese / French UI following Omarchy's language.

📦 Installation

Dependencies (Omarchy / Arch Linux):

omarchy pkg add fzf yt-dlp mpv ffmpeg libsixel

Optional: wl-clipboard, libnotify, chafa, PipeWire/PulseAudio (pw-record / parec).

  • Installer script: ./install.sh (installs to ~/.local/bin/omayt and configures yt-dlp)
  • Arch package: makepkg -si

⌨️ Essential shortcuts

Context Key Action
Search TUI Enter / Alt+A Watch in MPV (VA-API) / listen in Cava
Ctrl+S / Alt+F / Alt+M Search YouTube / filter / load +30 results
Alt+D / Alt+L Download (MP4/MP3/M4A + cover & tags) / copy link
Ctrl+B / Ctrl+H Open Downloads Library / Watch History
Library TUI Enter / Alt+A / Alt+W Smart play / Cava / MPV window
Alt+T / Alt+S / Alt+P Switch tab (All/Videos/Music) / sort / play all
Alt+R / Alt+E / Alt+D Repair cover & metadata / edit tags / delete
Cava Player Space / ← → / ↑ ↓ Play-pause / seek ±5s / volume (m mute, v style, n/b playlist)

🚀 CLI & local storage

omayt --filter views "omarchy linux"   # filtered search
omayt --lang en|pt|fr                  # override UI language for one run
omayt -H / --history                   # open watch history
omayt -b / --library                   # open Downloads Library
omayt --fix-ytdlp                      # apply global yt-dlp & mpv VA-API config
  • Downloads: ~/Videos/omayt/ (override with OMAYT_DOWNLOAD_DIR)
  • Cache & config: ~/.cache/omayt/ and ~/.config/omayt/ (manageable in [7] Settings & Diagnostics)

📄 License

MIT

Explore related projects

Loading…