yt.go

A Go program to find and watch YouTube videos from the terminal without requiring API keys.

View the Project on GitHub cybardev/ytgo

yt.go

A Go program to play media from YouTube without needing API keys

[!NOTE] This is a Python -> Go translation of cybardev/ytpy which itself was a Shell -> Python translation of pystardust/ytfzf (before I rewrote it from scratch)

Go Reference Go Report Card Test Coverage Workflow Status

Table of Contents

Click to navigate.

Dependencies

Installation

Manual

With Go

Link to package: pkg.go.dev/github.com/cybardev/ytgo/v3

[!IMPORTANT] The pkg.go.dev registry may have an outdated version. If you encounter bugs or feature disparity, please replace latest after @ with main, e.g. github.com/cybardev/ytgo/v3/cmd/ytgo@main, OR try the Manual installation method for the latest updates.

Usage

Output of ytgo -h:

Usage of ytgo:
  -d	Display URL only
  -i	Interactive selection
  -m	Play music only
  -n int
    	Play nth media (default 1)
  -u	Play from URL
  -v	Display version

HINT: Here’s a list of mpv keyboard shortcuts for your convenience.

Examples

Credits