{"id":31628233,"url":"https://github.com/rjryt/ytsearch-cli","last_synced_at":"2026-01-20T17:29:51.975Z","repository":{"id":315756703,"uuid":"1060710392","full_name":"RJRYT/ytsearch-cli","owner":"RJRYT","description":"A beautiful command-line interface for YouTube search using ytsearch.js - search videos, channels, playlists with rich terminal formatting","archived":false,"fork":false,"pushed_at":"2025-09-29T14:01:41.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-06T20:37:08.132Z","etag":null,"topics":["cli","command-line","search","terminal","youtube","youtube-api","ytsearch"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ytsearch-cli","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RJRYT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":null,"dco":null,"cla":null}},"created_at":"2025-09-20T12:41:32.000Z","updated_at":"2025-09-29T14:01:45.000Z","dependencies_parsed_at":"2025-09-20T15:33:17.680Z","dependency_job_id":"2bdbf877-1813-4c1b-95b9-7ef163f5d2c3","html_url":"https://github.com/RJRYT/ytsearch-cli","commit_stats":null,"previous_names":["rjryt/ytsearch-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RJRYT/ytsearch-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fytsearch-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fytsearch-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fytsearch-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fytsearch-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RJRYT","download_url":"https://codeload.github.com/RJRYT/ytsearch-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RJRYT%2Fytsearch-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280080708,"owners_count":26268354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"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","command-line","search","terminal","youtube","youtube-api","ytsearch"],"created_at":"2025-10-06T20:20:51.366Z","updated_at":"2025-10-20T10:57:39.340Z","avatar_url":"https://github.com/RJRYT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YTSearch CLI\n\nA simple command-line tool for searching YouTube, powered by the [`ytsearch.js`](https://www.npmjs.com/package/ytsearch.js) library. It lets you search for videos, channels, and playlists directly from your terminal with clean formatting and multiple display modes.\n\n---\n\n## 🚀 Installation\n\n```bash\nnpm install -g ytsearch-cli\n```\n\nRun help:\n\n```bash\nytsearch --help\n```\n\n---\n\n## 📖 Usage\n\n### Video Search\n\n```bash\nytsearch video \"never gonna give you up\"\n```\n\n### Channel Search\n\n```bash\nytsearch channel \"RickAstleyVEVO\"\n```\n\n### Playlist Search\n\n```bash\nytsearch playlist \"Top Hits 2025\"\n```\n\n### Video Details\n\n```bash\nytsearch details \u003cvideoId\u003e\n```\n\n### Playlist Videos\n\n```bash\nytsearch playlist-videos \u003cplaylistId\u003e\n```\n\n### Search All Types\n\n```bash\nytsearch search \"lofi hip hop\"\n```\n\n---\n\n## ⚙️ Options\n\n* `-l, --limit \u003cn\u003e` → Number of results (default: `10`)\n* `-s, --sort \u003ctype\u003e` → `relevance`, `upload_date`, `view_count`, `rating`\n* `-m, --mode \u003ctype\u003e` → `default`, `compact`, `online`, `detailed`\n* `-j, --json` → Output raw JSON\n* `-w, --watch` → Interactive mode\n\nExample:\n\n```bash\nytsearch video \"javascript tutorial\" -l 5 -m compact\n```\n\n---\n\n## 🎛 Display Modes\n\n* **default** → Rich tables with info\n* **compact** → Minimal quick view\n* **online** → Clickable links\n* **detailed** → Full metadata\n\n---\n\n## 👨‍💻 Interactive Mode\n\nRun:\n\n```bash\nytsearch --watch\n```\n\nFeatures:\n\n* Arrow key navigation\n* Continuous search\n* Live settings update\n\n---\n\n## 📦 Tech Used\n\n* [ytsearch.js](https://www.npmjs.com/package/ytsearch.js) – Core YouTube search engine\n* [commander](https://www.npmjs.com/package/commander) – CLI framework\n* [inquirer](https://www.npmjs.com/package/inquirer) – Interactive prompts\n* [chalk](https://www.npmjs.com/package/chalk) – Colors and styling\n* [figlet](https://www.npmjs.com/package/figlet) – ASCII art banner\n* [cli-table3](https://www.npmjs.com/package/cli-table3) – Pretty terminal tables\n* [ora](https://www.npmjs.com/package/ora) – Loading spinners\n* [update-notifier](https://www.npmjs.com/package/update-notifier) – Update notifications\n\n---\n\n## 📝 License\n\nMIT License © 2025\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjryt%2Fytsearch-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjryt%2Fytsearch-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjryt%2Fytsearch-cli/lists"}