Skip to content

Releases: nerveband/yt-api-cli

v1.2.0: LLM-Friendly Enhancements

26 Jan 14:58

Choose a tag to compare

What's New

Documentation Discoverability

New info Command

Comprehensive diagnostic command for troubleshooting and LLM agents:

yt-api info                     # Full system state
yt-api info --test-connectivity # Verify API access with latency
yt-api info --test-permissions  # Check credential capabilities

Output includes:

  • Version info (version, commit, build date, OS, arch)
  • Configuration status and paths
  • Authentication status with token expiry
  • All file locations
  • Update availability

Auto-Update Notifications

  • Automatic update checks with 24-hour caching
  • Non-intrusive notifications on stderr after command execution
  • Respects --quiet mode
  • Skip notifications for upgrade, version, info, and help commands

Enhanced README

  • Configuration section with file format and locations
  • Permissions section with API scopes and operation requirements
  • Expanded LLM integration section with:
    • Quick diagnostic commands
    • Keeping updated guidelines
    • Troubleshooting table
    • Best practices

Full Changelog

v1.1.0...v1.2.0

v1.1.0: Self-upgrade feature

24 Jan 18:41

Choose a tag to compare

What's New

Self-Upgrade Command

You can now update yt-api directly from the command line:

# Check for updates
yt-api upgrade --check

# Upgrade to latest version
yt-api upgrade

The upgrade command:

  • Automatically detects your OS and architecture
  • Downloads the correct binary from GitHub releases
  • Validates checksums for security
  • Replaces the current binary in place

Installation

macOS (Apple Silicon)

curl -L https://github.com/nerveband/yt-api-cli/releases/download/v1.1.0/yt-api-darwin-arm64 -o /usr/local/bin/yt-api
chmod +x /usr/local/bin/yt-api

macOS (Intel)

curl -L https://github.com/nerveband/yt-api-cli/releases/download/v1.1.0/yt-api-darwin-amd64 -o /usr/local/bin/yt-api
chmod +x /usr/local/bin/yt-api

Linux (x86_64)

curl -L https://github.com/nerveband/yt-api-cli/releases/download/v1.1.0/yt-api-linux-amd64 -o /usr/local/bin/yt-api
chmod +x /usr/local/bin/yt-api

Checksums

See checksums.txt for SHA256 hashes of all binaries.

v1.0.0 - Initial Release

24 Jan 12:15

Choose a tag to compare

First stable release of yt-api CLI

Features

  • Complete YouTube Data API v3 coverage
  • Multiple output formats (JSON, YAML, CSV, table)
  • OAuth 2.0 and service account authentication
  • Video upload with progress tracking
  • Support for videos, playlists, channels, comments, and more

Installation

Download the binary for your platform and add it to your PATH.

macOS

# Apple Silicon (M1/M2/M3)
curl -L -o yt-api https://github.com/nerveband/youtube-api-cli/releases/download/v1.0.0/yt-api-darwin-arm64
chmod +x yt-api
sudo mv yt-api /usr/local/bin/

# Intel
curl -L -o yt-api https://github.com/nerveband/youtube-api-cli/releases/download/v1.0.0/yt-api-darwin-amd64
chmod +x yt-api
sudo mv yt-api /usr/local/bin/

Linux

# AMD64
curl -L -o yt-api https://github.com/nerveband/youtube-api-cli/releases/download/v1.0.0/yt-api-linux-amd64
chmod +x yt-api
sudo mv yt-api /usr/local/bin/

# ARM64
curl -L -o yt-api https://github.com/nerveband/youtube-api-cli/releases/download/v1.0.0/yt-api-linux-arm64
chmod +x yt-api
sudo mv yt-api /usr/local/bin/

Windows

Download yt-api-windows-amd64.exe and add to your PATH.