GopherTube

April 14, 2026 ยท View on GitHub

GopherTube Logo

GopherTube

Go License Platform

Release Downloads Stars

A simple terminal YouTube client for searching and watching videos using yt-dlp and mpv.


Table of Contents

Overview

GopherTube is a tui based youtube client. It scrapes and parses the youtube website to get the metadate and uses mpv to play videos. The ui is built with bubbletea, and is keyboard driven.

Screenshots

Additional Demo 2
main menu Additional Demo 2
searching for videos Additional Demo 2
video plays in mpv

Demo Video
โ–ถ Watch the demo video

Features

  • Fast YouTube search (scrapes YouTube directly, no API key needed)
  • Play videos with mpv
  • Minimal terminal UI (fzf)
  • Keyboard navigation (arrows, Enter, Tab, Esc)
  • TOML config
  • Download videos with quality selection (yt-dlp)
  • Downloads menu: browse and play downloaded videos
  • Thumbnail preview in downloads menu

Who is this Project for?

  • this project is for everyone who enjoys tuis,
  • anyone who wants to watch videos while using low system resources. for example if you have an older or lowspec machine that struggles to run youtube in full web browser this app might help you cut down recourse usage.

Prerequisites


Installation

This assumes you have mpv and yt-dlp installed in your system. if not refer to this to install them first.

mpv installation yt-dlp installation

One liner:

curl -sSL https://raw.githubusercontent.com/KrishnaSSH/GopherTube/main/install.sh | bash

Arch linux

yay -S gophertube
yay -S gophertube-bin 
  • the binary version of this package is not maintained by me contact the maintainer for issues

Usage

  • Start the app: gophertube
  • Select between Search Youtube, Search Downloads, Settings, Quit. and press enter.
  • Use up down keys or j/k to move, Enter to play, Tab to load more, Esc to go back and ctrl-c to close
  • search something and mpv opens to play selected video.

Configuration

Create ~/.config/gophertube/gophertube.toml:

search_limit = 30
quality = "1080p"           # default: 1080p (options: 1080p, 720p, 480p, 360p, Audio)
downloads_path = "/home/$USER/Videos/GopherTube"  # where to save downloads
theme = "Minimal"                                 # default: Minimal (options: Minimal, Gopher, Gruvbox, etc)

Configuration Options

KeyTypeDefaultDescription
search_limitint30Max results to fetch per page/load more.
qualitystring"1080p"Preferred quality or Audio for audio-only.
downloads_pathstring"$HOME/Videos/GopherTube"Directory to save downloads.
themestring"Minimal"Default application theme.

Roadmap

  • thumbnail support in the bubbletea rewrite

Star History

Star History Chart

๐Ÿ’– Support GopherTube

If you find this project useful, consider supporting its development with crypto:

BTC bc1q78ymwmf33vr33ly8rpej7cqvr6cljjcdjf3g6p
LTC ltc1qsfp4mdwwk3nppj278ayphqmkyf90xvysxp3des
ETH 0x6f786f482DDa360679791D90B7C8337655dC2199

License

GPL v3


Contributing

PRs and issues welcome.

See CONTRIBUTING.md for guidelines.