{"id":51302187,"url":"https://github.com/stophydotdev/cli","last_synced_at":"2026-06-30T21:00:37.159Z","repository":{"id":359603478,"uuid":"1246760855","full_name":"stophydotdev/cli","owner":"stophydotdev","description":"The CLI to search YouTube, get transcripts, read comments, and inspect channels","archived":false,"fork":false,"pushed_at":"2026-06-30T19:36:34.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-30T20:24:20.208Z","etag":null,"topics":["cli","llm","search","stophy","youtube","youtube-api","youtube-transcript"],"latest_commit_sha":null,"homepage":"https://stophy.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stophydotdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-22T14:23:22.000Z","updated_at":"2026-06-30T19:35:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stophydotdev/cli","commit_stats":null,"previous_names":["stophydotdev/stophy-cli","stophydotdev/cli"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/stophydotdev/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stophydotdev%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stophydotdev%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stophydotdev%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stophydotdev%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stophydotdev","download_url":"https://codeload.github.com/stophydotdev/cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stophydotdev%2Fcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34983171,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","llm","search","stophy","youtube","youtube-api","youtube-transcript"],"created_at":"2026-06-30T21:00:28.733Z","updated_at":"2026-06-30T21:00:37.153Z","avatar_url":"https://github.com/stophydotdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @stophy/cli\n\nYouTube context for AI agents. Search, transcripts, comments, channels, playlists — structured JSON from the terminal.\n\n## Quick start\n\nInstall the CLI globally, add every Stophy skill to all supported AI agents, and authenticate in your browser:\n\n```bash\nnpx -y @stophy/cli@latest init --all --browser\n```\n\n## Install\n\n```bash\nnpm install -g @stophy/cli\n```\n\nOr install a standalone binary (no Node.js required):\n\n```bash\n# macOS / Linux\ncurl -fsSL https://stophy.dev/install.sh | bash\n\n# Windows (PowerShell)\nirm https://stophy.dev/install.ps1 | iex\n\n# Homebrew\nbrew install stophydotdev/tap/stophy\n```\n\nThe npm package requires Node.js 18 or later. Get an API key at [stophy.dev](https://stophy.dev/dashboard).\n\n## Auth\n\n```bash\nstophy login --browser           # opens browser\nstophy login --api-key st_xxx    # paste key directly\nexport STOPHY_API_KEY=\"st_...\"   # env var also works\n```\n\n## Commands\n\n### search\n\n```bash\nstophy search --q \"typescript tutorial\" --type video --sortBy viewCount\nstophy search --q \"next.js\" --uploadDate week --duration long\n```\n\n### video details\n\n```bash\nstophy video details --url \"https://youtube.com/watch?v=QRvfjPltvmE\"\n```\n\n```json\n{\n  \"video\": {\n    \"id\": \"QRvfjPltvmE\",\n    \"title\": \"TraRags Reacts To Kendrick Lamar - GNX\",\n    \"author\": \"TRA RAGS STREAMS\",\n    \"viewCount\": 204828,\n    \"likeCount\": 9170,\n    \"durationText\": \"2 hours 42 minutes 27 seconds\",\n    \"publishedAt\": \"2024-11-23T08:22:36.000Z\"\n  },\n  \"related\": [\n    { \"id\": \"h6ukrWyqOm4\", \"title\": \"...\", \"author\": \"...\", \"viewCount\": 12000 }\n  ]\n}\n```\n\n### video transcript\n\n```bash\nstophy video transcript --url \"https://youtube.com/watch?v=...\"\n```\n\n```json\n{\n  \"videoId\": \"QRvfjPltvmE\",\n  \"language\": { \"code\": \"en\", \"name\": \"English\", \"isAutoGenerated\": true },\n  \"segments\": [\n    { \"text\": \"what is up everybody\", \"start\": 0.0, \"duration\": 1.96 },\n    { \"text\": \"welcome back to the channel\", \"start\": 1.96, \"duration\": 2.0 }\n  ],\n  \"text\": \"what is up everybody welcome back to the channel\"\n}\n```\n\n### video comments\n\n```bash\nstophy video comments --url \"https://youtube.com/watch?v=QRvfjPltvmE\" --sortBy top\n```\n\n```json\n{\n  \"items\": [\n    { \"text\": \"\\\"Nah, that's not enough\\\" 😂\", \"author\": \"@terribletimes902\", \"likeCount\": 2100 },\n    { \"text\": \"53:15 BRO CREAMED HIMSELF LIVE 😭😭😭😭\", \"author\": \"@Aunos1\", \"likeCount\": 593 },\n    { \"text\": \"WHO ELSE BACK TO THIS AFTER THE ICEMAN REACTION?? 🙌🏾✊🏾\", \"author\": \"@colouredhearts\", \"likeCount\": 134 }\n  ],\n  \"continuationToken\": \"...\"\n}\n```\n\n### video livechat\n\n```bash\nstophy video livechat --url \"https://youtube.com/watch?v=...\" --chat-type top\n```\n\n```json\n{\n  \"status\": \"live\",\n  \"concurrentViewers\": 1234,\n  \"pollIntervalMs\": 10000,\n  \"messages\": [\n    { \"text\": \"first!\", \"author\": \"@viewer1\", \"isModerator\": false, \"superChatAmount\": null }\n  ],\n  \"continuationToken\": \"...\"\n}\n```\n\n### channel\n\n```bash\nstophy channel --url \"https://youtube.com/@t3dotgg\" --tab video --sortBy popular\n```\n\n```json\n{\n  \"channel\": {\n    \"name\": \"Theo - t3.gg\",\n    \"handle\": \"@t3dotgg\",\n    \"subscriberCount\": \"539K subscribers\",\n    \"videoCount\": \"1K videos\",\n    \"isVerified\": true\n  },\n  \"items\": [\n    { \"title\": \"PirateSoftware is right, this needs to stop\", \"viewCount\": 1000000, \"duration\": \"15:14\" }\n  ]\n}\n```\n\n### playlist\n\n```bash\nstophy playlist --url \"https://youtube.com/playlist?list=PLxxxx\"\n```\n\n### usage and logs\n\n```bash\nstophy usage --days 7\nstophy logs --days 30 --endpoint /v1/video\n```\n\n## All commands\n\n| Command | What it does |\n|---------|-------------|\n| `stophy init --all --browser` | Install the CLI, all agent skills, and authenticate |\n| `stophy login` | Authenticate with API key or browser |\n| `stophy search` | Search YouTube by keyword |\n| `stophy suggest` | Search autocomplete suggestions |\n| `stophy video details` | Video metadata |\n| `stophy video transcript` | Timestamped transcript |\n| `stophy video comments` | Paginated comments |\n| `stophy video replies` | Comment replies |\n| `stophy video livechat` | Livestream chat messages and status |\n| `stophy channel` | Channel videos, Shorts, playlists, or about page |\n| `stophy playlist` | Playlist videos and metadata |\n| `stophy credits` | Remaining credit balance |\n| `stophy usage` | API usage for your key |\n| `stophy logs` | Request logs for your key |\n| `stophy status` | Version, auth status, and credit balance |\n| `stophy doctor` | Diagnose install, auth, and API connectivity |\n| `stophy version` | CLI version and auth status |\n| `stophy view-config` | Config and auth status |\n| `stophy logout` | Clear saved credentials |\n\nThe CLI checks npm for a newer version in the background and prints a one-line\nnotice when an update is available. Set `STOPHY_NO_UPDATE_CHECK=1` to disable it.\n\nEach command supports `--help`. Full docs at [docs.stophy.dev](https://docs.stophy.dev).\n\n## Also see\n\n- [@stophy/mcp](https://www.npmjs.com/package/@stophy/mcp) — MCP server for AI agents\n- [stophydotdev/skills](https://github.com/stophydotdev/skills) — agent skills for the CLI (`npx skills add stophydotdev/skills`)\n- [stophy.dev](https://stophy.dev) — dashboard and API keys\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstophydotdev%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstophydotdev%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstophydotdev%2Fcli/lists"}