Releases: nerveband/yt-api-cli
Releases · nerveband/yt-api-cli
v1.2.0: LLM-Friendly Enhancements
What's New
Documentation Discoverability
- Help footer now shows documentation links on all
--helpoutput:- Full docs: https://github.com/nerveband/yt-api-cli
- Report issues: https://github.com/nerveband/yt-api-cli/issues
- YouTube API: https://developers.google.com/youtube/v3/docs
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 capabilitiesOutput 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
--quietmode - Skip notifications for
upgrade,version,info, andhelpcommands
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: Self-upgrade feature
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 upgradeThe 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-apimacOS (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-apiLinux (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-apiChecksums
See checksums.txt for SHA256 hashes of all binaries.
v1.0.0 - Initial Release
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.