{ youtube-cli }

| #cli #dotnet #automation #youtube

youtube-cli

Upload and schedule YouTube videos from the command line — built to be driven by an AI agent.

What it's for

youtube uploads a video to your channel from the command line: title, description, tags and category, then either a visibility to publish at or a time to go public later. It also lists what is already on the channel and edits the title and description of something already up.

The reason it exists in this shape is that it is built to be driven by an AI agent as much as by a person. Nothing prompts, results go to stdout (optionally as JSON), progress goes to stderr, and the exit code says what happened — so an agent can branch on the outcome instead of scraping human-facing text. Metadata comes from a markdown sidecar beside the video rather than a wall of command-line flags.

Install

dotnet tool install --global grdev.youtube-cli

Published on NuGet as grdev.youtube-cli.

Before the first run

Uploads go to your channel through your own Google Cloud OAuth client — the tool ships no shared one, because YouTube's daily quota belongs to the Cloud project and a shared client would mean everyone splitting roughly six uploads a day between them. Setting one up is a one-off and free; the package README walks through it.

Source

github.com/greek-developer/youtube-cli — currently a private repository.