Hey Omarchy folks!! 👋 One of the things I love most about Omarchy is how cohesive, fast, and keyboard-driven the entire desktop feels — everything matches your active theme, everything stays snappy, and you barely ever need to reach for the mouse. The one thing that kept breaking that flow for me was YouTube. Opening a heavy browser just to watch a quick video or throw on a playlist felt wrong, and every time I tried traditional terminal clients (ytfzf or plain mpv), I kept hitting the same frustrating walls:
• Dead or rate-limited Invidious instances, or needing a Google API key • Random HTTP 403 Forbidden errors right when pressing play • Broken Sixel thumbnails on recent Arch Linux (img2sixel outputting 0 bytes because of the gdk-pixbuf2 / glycin change) • Laptop fans screaming because YouTube served software-decoded AV1 instead of hardware-accelerated H.264/VP9
So I decided to go all-in and build omayt (Omarchy YouTube TUI) — a fast, visual, zero-bloat YouTube client crafted specifically for the Omarchy / Arch Linux ecosystem, packed into a single self-contained Python executable with ZERO pip dependencies! 🚀 Honestly, seeing it come together on a floating Hyprland window (screenshot above!) has been one of the most fun things I’ve built on Linux. Here’s everything packed inside v1.3.0:
🎨 Handcrafted Startup Menu + Live Omarchy Theme Sync As soon as you run omayt, it greets you with a flicker-free interactive menu, a pixel-art OMAYT logo with an animated TrueColor gradient, mini equalizers, live status badges (Theme, VA-API, Anti-403, watch history count), and your recent searches. Best part? It automatically reads your active Omarchy theme from ~/.local/state/omarchy/current/theme/colors.toml! Switch your Omarchy theme and the entire app — startup menu, fzf explorer, preview pane, borders, and the audio spectrum visualizer — adapts immediately to match your desktop. 🎵 Built-in 60 FPS Cava-Style Music Mode (No external cava needed!) Want to just throw on music, lo-fi, or podcasts without a video window? Hit Alt+A (or pick Music Mode from the menu) and omayt turns into a full terminal music player with a real- time 60 FPS audio spectrum visualizer!
• Captures real system audio at 18ms latency via PipeWire (pw-record) or PulseAudio (parec) • Runs a pure-Python Radix-2 FFT engine with Hann windowing, dynamic AGC, gravity physics, Monstercat smoothing, and floating peak caps • 3 live visual styles you can cycle on the fly with v: Cava Classic Bars, Stereo Mirror (Monstercat), and Center Symmetrical • Full mpv IPC playback controls right inside the visualizer: Space (play/pause), Left/Right (seek ±5s), Up/Down (volume), m (mute), and a live progress bar
🖼️ Crisp HD Thumbnails in Foot, Ghostty & Kitty (Arch glycin bug FIXED!) • Downloads real maxresdefault.jpg (1280x720) thumbnails with 10-thread parallel background prefetching straight from YouTube's CDN • Dynamically calculates the exact pixel size of your terminal cells via TIOCGWINSZ • Kitty & Ghostty: Uses native Kitty Graphics Protocol (kitten icat) • Foot (Sixel HD): Completely bypasses the broken Arch img2sixel binary by decoding and scaling with ffmpeg (16:9 crop + Lanczos + unsharp) and calling libsixel.so.1 directly in memory via ctypes, complete with .sixel disk caching so scrolling feels instant! • Falls back gracefully to chafa on any other terminal
🎬 4 Playback Modes + Butter-Smooth VA-API Hardware Decoding No more burning CPU on software AV1 or hitting Vulkan Video decode errors! omayt explicitly filters out AV1, prefers H.264 / VP9, and enables VA-API hardware decoding (tested on Intel Iris Xe, AMD & Mesa). Watch however you feel like with a single shortcut:
• Enter: Native Wayland mpv window (up to 1080p with VA-API) • Alt+I / Ctrl+T: Watch the actual video INLINE inside your terminal in real pixels (Sixel on Foot / Kitty Graphics on Kitty & Ghostty)! • Alt+B: Retro TrueColor terminal blocks (tct) • Alt+A: Audio-only Music Mode with the 60 FPS Cava visualizer
🛡️ Triple-Layer Anti-403 Protection (tv_samsung Bypass + Ad-Wait Guard) If you’ve ever had mpv randomly die with HTTP 403 Forbidden on YouTube, it’s usually because yt-dlp defaults to the tv_samsung client where YouTube enforces a 3 to 5 second ad-skip delay that ffmpeg doesn’t wait for. omayt crushes this in 3 layers:
Bypasses the tv_samsung client globally and per-session
Wraps mpv's ytdl_hook with a custom Ad-Wait Guard that reads available_at timestamps and shows a clean visual countdown in the terminal until the exact moment the stream unlocks
Enables HTTP 4xx auto-reconnect + smart automatic retry
⚡ Quality-of-Life Features I Couldn't Live Without
• 30-by-30 Paginated Search: No API key, no Invidious — loads 30 results at a time and lets you expand +30 on demand with Alt+M or Ctrl+E without losing your scroll position • Direct URL / Clipboard Magic: Copy any YouTube link (watch, youtu.be, shorts, live, embed) or video ID — omayt auto-detects it from your Wayland clipboard (wl-paste) and lets you pick MPV, Terminal, Cava, or Download! • MP4/MP3 Downloader + Offline Library: Save videos in 1080p MP4 (H.264/VP9) or MP3 to ~/Videos/omayt and browse/play your offline collection straight from the menu • Built-in Diagnostics & Maintenance Panel: Check all system dependencies at a glance, preview your active Omarchy color swatches, inspect HD cache usage, and apply VA-API/Anti-403 fixes or wipe cache with a single keystroke • Auto ytfzf History Migration: Switching from ytfzf? omayt automatically imports your existing watch history on first launch!
🚀 Try it out in 30 seconds on Omarchy / Arch
Install dependencies (no pip packages needed!): omarchy pkg add fzf yt-dlp mpv ffmpeg libsixel
Clone and install: git clone https://github.com/sabb4th/omayt.git cd omayt chmod +x install.sh omayt ./install.sh
Or build and install cleanly as an Arch package via PKGBUILD: makepkg -si
Then just run: omayt
GitHub Repo: https://github.com/sabb4th/omayt
I’d LOVE to hear what you all think! If you give it a spin on your favorite Omarchy themes (Tokyo Night, Gruvbox, Rose Pine, Nord, Catppuccin, etc.) or different terminals/GPUs, drop your feedback, bug reports, or feature ideas for v1.4 below — would love to make this even better with the community! 🙌