{"id":13550807,"url":"https://github.com/jimbuck/pully","last_synced_at":"2026-02-18T23:20:16.039Z","repository":{"id":24609948,"uuid":"28018660","full_name":"jimbuck/pully","owner":"jimbuck","description":"A simple CLI and library for downloading high quality YouTube videos!","archived":false,"fork":false,"pushed_at":"2023-01-04T21:37:52.000Z","size":799,"stargazers_count":190,"open_issues_count":18,"forks_count":19,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-01-14T05:22:12.371Z","etag":null,"topics":["cli","hacktoberfest","high-quality","node-module","video","youtube-downloader"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/pully","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/jimbuck.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}},"created_at":"2014-12-15T03:24:20.000Z","updated_at":"2025-07-12T22:47:46.000Z","dependencies_parsed_at":"2023-01-14T01:17:28.182Z","dependency_job_id":null,"html_url":"https://github.com/jimbuck/pully","commit_stats":null,"previous_names":["jimmyboh/pully"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/jimbuck/pully","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbuck%2Fpully","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbuck%2Fpully/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbuck%2Fpully/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbuck%2Fpully/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimbuck","download_url":"https://codeload.github.com/jimbuck/pully/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimbuck%2Fpully/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29597963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","hacktoberfest","high-quality","node-module","video","youtube-downloader"],"created_at":"2024-08-01T12:01:37.855Z","updated_at":"2026-02-18T23:20:16.015Z","avatar_url":"https://github.com/jimbuck.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# pully\n\n[![Build Status](https://img.shields.io/travis/JimmyBoh/pully/master.svg?style=flat-square)](https://travis-ci.org/JimmyBoh/pully)\n[![Code Coverage](https://img.shields.io/coveralls/JimmyBoh/pully/master.svg?style=flat-square)](https://coveralls.io/github/JimmyBoh/pully?branch=master)\n[![Dependencies](https://img.shields.io/david/JimmyBoh/pully.svg?style=flat-square)](https://david-dm.org/JimmyBoh/pully)\n[![DevDependencies](https://img.shields.io/david/dev/JimmyBoh/pully.svg?style=flat-square)](https://david-dm.org/JimmyBoh/pully?type=dev)\n[![npm](https://img.shields.io/npm/v/pully.svg?style=flat-square)](https://www.npmjs.com/package/pully)\n[![Monthly Downloads](https://img.shields.io/npm/dm/pully.svg?style=flat-square)](https://www.npmjs.com/package/pully)\n[![Total Downloads](https://img.shields.io/npm/dt/pully.svg?style=flat-square)](https://www.npmjs.com/package/pully)\n\nA simple CLI for downloading high quality Youtube videos!\n\nThis tool allows the downloading of Youtube videos of `1080p` and higher qualities. The video and audio is separate, so this combines them after downloading both.\n\n### ATTENTION\n\nWhile this tool makes it easy to download content from Youtube, I do not endorse the theft of content created by hardworking citizens of the Internet. If you use Youtube as a primary source of entertainment, then **please remember to _turn off ad-block_, _buy their merchandise_, or _donate_ to the content creators you love to watch.** And if you can't do that then simply like, comment, and subscribe to help them get more people enjoying their content.\n\n## CLI\n\n### Installation\n\n**Note:** ~~Pully requires `ffmpeg` to be installed. [fluent-ffmpeg](https://www.npmjs.com/package/fluent-ffmpeg) has great instructions on how to set this up.~~ Pully now automatically downloads the required version of ffmpeg thanks to [kribblo/node-ffmpeg-installer](https://github.com/kribblo/node-ffmpeg-installer)!\n\n```bash\nnpm i -g pully\n```\n\n### Usage\n\n```bash\npully download \u003curl\u003e [-p \u003cpreset\u003e=\"hd\"] [-d \u003coutputDir\u003e=\".\"] [-t \u003cfilenameTemplate\u003e=\"${channelName}/${videoTitle}\"] [--silent]\n\npully set dir \"~/Jim/videos/YouTube\"\n\npully get dir # Prints ~/Jim/videos/YouTube\n\npully dl \u003curl\u003e # Downloads specified video to ~/Jim/videos/YouTube/\u003cauthor\u003e/\u003ctitle\u003e.mp4\n```\n\nDownloads a specified video based on a preset, defaulting to HD (see below). By default the file is named after the title and placed in a folder named after the channel.\n\n## Presets\n\nPresets are used in the CLI version to simplify getting the video you want. Presets are available in the module, and can be overridden/extended!\n\n- `hd` This will download the best video up to `1080p60`. (**default**)\n- `2k` This will download the best video up to `1440p60`.\n- `4k` This will download the best video up to `2160p60`.\n- `max` This will download the best video, no limits on resolution or framerate.\n- `hfr` This will download the video with the highest framerate.\n- `mp3` This will only download the audio only, and convert it to `mp3`.\n\n## Node Module\n\n### Installation\n\n```bash\nnpm i pully\n```\n\n### Usage\n\n```ts\nimport { Pully, Presets } from 'pully';\n\nconst pully = new Pully();\n\nconst video = await pully.query('\u003csome-neato-video-url\u003e');\nconsole.log(`${video.videoTitle} by ${video.channelName} has ${video.views} views!`);\n\nconst options = {\n  url: '\u003csome-really-high-def-video-url\u003e',\n  preset: Presets.FourK,\n  progress: (data) =\u003e console.log(data.percent + '%') // Progress reporter callback...\n};\n\nconst { path, format, duration } = await pully.download(options);\nconsole.log(path);     // Path to the downloaded file.\nconsole.log(format);   // Object containing all audio/video/meta data.\nconsole.log(duration); // Number of milliseconds the download took.\n```\n\n## Contribute\n\n1. Fork it\n1. `npm i`\n1. `npm run watch`\n1. Make changes and **write tests**.\n1. Send pull request! :sunglasses:\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimbuck%2Fpully","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimbuck%2Fpully","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimbuck%2Fpully/lists"}