{"analyzedAt":"2022-06-25T02:07:50.339Z","collected":{"metadata":{"name":"ytb2mp3","scope":"unscoped","version":"0.2.10","description":"Convert YouTube videos to mp3 files via the command-line","keywords":["youtube","video","convert","mp3","audio","converter"],"date":"2021-10-07T15:46:47.571Z","author":{"name":"ytb2mp3"},"publisher":{"username":"ytb2mp3","email":"ytb2mp3mail@protonmail.com"},"maintainers":[{"username":"ytb2mp3","email":"ytb2mp3mail@protonmail.com"}],"repository":{"type":"git","url":"git+https://github.com/ytb2mp3/ytb2mp3.git"},"links":{"npm":"https://www.npmjs.com/package/ytb2mp3","homepage":"https://github.com/ytb2mp3/ytb2mp3","repository":"https://github.com/ytb2mp3/ytb2mp3","bugs":"https://github.com/ytb2mp3/ytb2mp3/issues"},"license":"MIT","dependencies":{"cli-progress":"^3.9.1","configstore":"^5.0.1","home-dir":"^1.0.0","minimist":"^1.2.5","mkdirp":"^1.0.4","youtube-mp3-downloader":"^0.7.8"},"releases":[{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":2},{"from":"2020-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":7}],"readme":"# ytb2mp3\n\nA command-line client for extracting mp3s from YouTube videos\n\n## Installation\n\n### Prerequisites\n\nYou need a working installation of [ffmpeg](https://www.ffmpeg.org/) on your system. If you're on a Mac, you can use HomeBrew to install it like this:\n\n```bash\n$ brew install ffmpeg\n```\n\n### npm\n\n`ytb2mp3` can be installed via npm:\n\n```bash\n$ npm install ytb2mp3 -g\n```\n\n## Configuration\n\n### Configuration options\n\n`ytb2mp3` can be configured by passing command-line flags. The following flags are available:\n\n```bash\n--set-output-path <path>                The absolute path where the downloaded files should be stored (default: /tmp)\n                                        The directory is automatically created if it doesn't exist\n--set-video-quality <quality>           The quality of the YouTube videos that should be requested (default: highesst)\n--set-ffmpeg-path <path>                The absolute path to the ffmpeg binary (default: /usr/local/bin/ffmpeg)\n--set-progress-timeout <milliseconds>   The time in milliseconds in which the download progress should be refreshed\n                                        (default: 200ms)\n```\n\nThis information is also displayed when `ytb2mp3` is called with the `--help` flag.\n\nThe configuration options will be persisted in `~/.config/configstore/ytb2mp3.json`.\n\n## Usage\n\n### Download a video's audio as mp3\n\n```bash\n$ ytb2mp3 https://www.youtube.com/watch?v=Vhd6Kc4TZls\n```\n\nThis will yield in the following output:\n\n```bash\nDownloading [██████████████████████████░░░░░░░░░░░░░░] 65% | ETA: 3s | Runtime: 4s | Speed: 1518.28 kbytes/sec\n```\n\nAfter the finished download, it will point to the output file:\n\n```bash\nSong was downloaded: /Users/username/yt2mp3/Cold Funk - Funkorama.mp3\n```\n\n### Specifying a filename\n\nYou can use the `--name \"filename.extension\"` flag to specify a name for the output file:\n\n```bash\n$ ytb2mp3 --name \"Cold Funk - Funkorama.mp3\" https://www.youtube.com/watch?v=Vhd6Kc4TZls\n```\n\nThis is useful if the algorithm of `youtube-mp3-downloader` cannot automatically determine a decent filename from the video's metadata.\n\n### Pasting a copied URL from the clipboard (MacOS)\n\nCopy a video URL from your browser. Then, you can use the command\n\n```bash\n$ pbpaste | ytb2mp3\n```\n\nto directly download the video's audio."},"npm":{"downloads":[{"from":"2022-06-24T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":10},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":36},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":247},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":366},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":840}],"starsCount":0},"github":{"starsCount":6,"forksCount":1,"subscribersCount":1,"issues":{"count":7,"openCount":2,"distribution":{"3600":0,"10800":0,"32400":1,"97200":0,"291600":1,"874800":1,"2624400":0,"7873200":2,"23619600":2,"70858800":0,"212576400":0},"isDisabled":false},"contributors":[{"username":"ytb2mp3","commitsCount":14},{"username":"dependabot[bot]","commitsCount":1}],"commits":[{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1}],"statuses":[{"context":"ci/circleci: deploy","state":"success"}]},"source":{"files":{"readmeSize":2383,"testsSize":0},"outdatedDependencies":{"configstore":{"required":"^5.0.1","stable":"6.0.0","latest":"6.0.0"}}}},"evaluation":{"quality":{"carefulness":0.355,"tests":0.25,"health":0.75,"branding":0},"popularity":{"communityInterest":10,"downloadsCount":82.33333333333333,"downloadsAcceleration":-0.34235159817351596,"dependentsCount":0},"maintenance":{"releasesFrequency":0.4099315068493151,"commitsFrequency":0.011506849315068493,"openIssues":0.8571428571428572,"issuesDistribution":0.6759734623015872}},"score":{"final":0.49919214519578736,"detail":{"quality":0.6262885777111351,"popularity":0.046957320989629625,"maintenance":0.8424871701030756}}}