ytr

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 19 Imported by: 0

README

ytr - YouTube Randomizer

ytr (YouTube Randomizer) is a simple terminal-based application for managing a collection of YouTube videos. It allows users to add videos, list them, delete entries, and open a random video in the web browser.

Features

  • Add YouTube videos to the saved list
  • Play a random video from the saved list
  • Manage videos in a TUI (add, search, delete, play random, play selected)

Installation

go install github.com/DanilLut/ytr@latest

Usage

Run the program with different options:

Play a random video from the saved list (removes video from the list automatically)
ytr
Add a YouTube video
ytr <YouTube URL>
Launch TUI mode
ytr -t
Show help
ytr -h

Configuration & Storage

The application stores video entries in a JSON database located at:

  • Linux/macOS: ~/.config/ytr/db.json
  • Windows: %APPDATA%\ytr\db.json

Dependencies

This project uses the following Go libraries:

License

This project is licensed under the MIT License. See LICENSE for details.

Contributions

Pull requests and feature suggestions are welcome! Feel free to open an issue or contribute to the project.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL