{"id":29625940,"url":"https://github.com/ride90/youtube-to-mp3","last_synced_at":"2026-05-04T20:33:54.532Z","repository":{"id":72931781,"uuid":"594178740","full_name":"ride90/youtube-to-mp3","owner":"ride90","description":"Command line tool for converting youtube videos to mp3 files. Created for educational purposes only.","archived":false,"fork":false,"pushed_at":"2023-02-21T15:39:17.000Z","size":1438,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-15T20:38:02.519Z","etag":null,"topics":["cli","command-line-tool","converter","ffmpeg","go","mp3","youtube"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ride90.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}},"created_at":"2023-01-27T19:34:58.000Z","updated_at":"2024-10-23T02:43:46.000Z","dependencies_parsed_at":"2023-07-22T00:06:42.888Z","dependency_job_id":null,"html_url":"https://github.com/ride90/youtube-to-mp3","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ride90/youtube-to-mp3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ride90%2Fyoutube-to-mp3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ride90%2Fyoutube-to-mp3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ride90%2Fyoutube-to-mp3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ride90%2Fyoutube-to-mp3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ride90","download_url":"https://codeload.github.com/ride90/youtube-to-mp3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ride90%2Fyoutube-to-mp3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266255243,"owners_count":23900097,"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","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-tool","converter","ffmpeg","go","mp3","youtube"],"created_at":"2025-07-21T07:01:02.559Z","updated_at":"2026-05-04T20:33:49.493Z","avatar_url":"https://github.com/ride90.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTube to mp3\nCommand line tool for converting YouTube videos to mp3 files.\n\n:green_book: Created for educational purposes only (my 1st Go program).\n\n## Usage\n\nProvide links using `--links` parameter.\nYou can provide multiple links, tool will process them simultaneously.\n\n![demo](static/demo.gif)\n\nRun `yt2mp3 --help` for help info.\n\n## Installation\n\n### 1. Get binary\nYou can get compiled binary or compile it by yourself.\n\n#### Get compiled binary\n```shell\n# Darwin amd64.\ncurl -L https://github.com/ride90/youtube-to-mp3/releases/download/v0.1/darwin_amd64_yt2mp3 -o yt2mp3\n\n# Darwin arm64.\ncurl -L https://github.com/ride90/youtube-to-mp3/releases/download/v0.1/darwin_arm64_yt2mp3 -o yt2mp3\n\n# Linux amd64.\ncurl -L https://github.com/ride90/youtube-to-mp3/releases/download/v0.1/darwin_arm64_yt2mp3 -o yt2mp3\n```\n\n#### Compile from sources\nYou must have a golang installed on your machine.\n\n```shell\n# Darwin amd64.\nGOOS=darwin GOARCH=amd64 go build -o yt2mp3 main.go\n\n# Darwin arm64.\nGOOS=darwin GOARCH=arm64 go build -o yt2mp3 main.go\n\n# Linux amd64.\nGOOS=linux GOARCH=amd64 go build -o yt2mp3 main.go\n```\n\nYou might want to add `yt2mp3` to your `PATH` or `alias` it in your `.bashrc`/`.zshrc`.\n```\nalias yt2mp3=\"/Path/to/binary/yt2mp3\"\n```\n\n### 2. Install FFmpeg\n\nOfficial docs [https://ffmpeg.org/download.html](https://ffmpeg.org/download.html) (don't be scary).\nVerify installation with `ffmpeg` command in your terminal emulator.\n\n## TODO\n- Solve TODOs in a codebase itself.\n- Introduce `--names` parameter which will allow to search for videos using provided names\n  and use 1st video (link) for every search result as a link for conversion.\n  Don't use YouTube API for this since it requires API keys which is boring. We can't simply parse html either, \n  we should use something similar to headless chrome or puppeteer to execute js and only after we can get links.\n  At the same time it would be great to avoid introducing big dependencies.\n  Example: `yt2mp3 --names \"judas priest hell patrol\"`\n- Download a video in parallel using different time ranges (if allowed/possible) and after glue together with ffmpeg.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fride90%2Fyoutube-to-mp3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fride90%2Fyoutube-to-mp3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fride90%2Fyoutube-to-mp3/lists"}