{"id":13861740,"url":"https://github.com/otonomee/streamstem","last_synced_at":"2025-10-26T19:03:34.846Z","repository":{"id":193424881,"uuid":"688659581","full_name":"otonomee/streamstem","owner":"otonomee","description":"Implements ML audio separation algorithm on audio from YouTube or Spotify resulting in \"stems\" for download (e.g. vocals, drums, bass) in MP3, WAV or FLAC. ","archived":false,"fork":false,"pushed_at":"2024-08-25T10:08:07.000Z","size":195315,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-25T18:40:27.211Z","etag":null,"topics":["audio-classification","deep-learning","demucs","fastapi","machine-learning","source-separation","spotify-stemmer","youtube-stemmer"],"latest_commit_sha":null,"homepage":"http://www.streamstem.com","language":"Python","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/otonomee.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-09-07T20:29:51.000Z","updated_at":"2024-08-25T14:11:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"82af9d27-3cf3-4584-bce3-c105df69094a","html_url":"https://github.com/otonomee/streamstem","commit_stats":null,"previous_names":["otonomee/youtube-ai-stem-separator","otonomee/spotify-youtube-stem-separator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otonomee%2Fstreamstem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otonomee%2Fstreamstem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otonomee%2Fstreamstem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otonomee%2Fstreamstem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otonomee","download_url":"https://codeload.github.com/otonomee/streamstem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223954121,"owners_count":17231180,"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":["audio-classification","deep-learning","demucs","fastapi","machine-learning","source-separation","spotify-stemmer","youtube-stemmer"],"created_at":"2024-08-05T06:01:29.212Z","updated_at":"2025-10-26T19:03:29.742Z","avatar_url":"https://github.com/otonomee.png","language":"Python","readme":"# StemStream\n\n## Extract the \"stems\" (e.g. drums, vocals, bass) from any song on Spotify or Youtube into separate audio files\n\n## Introduction\n\nThis is a Flask web app using the following resources:\n\n- [Demucs ML model](https://github.com/facebookresearch/demucs): Demucs is an music source separation model that creates the stems\n- [yt-dlp](https://github.com/yt-dlp/yt-dlp): Extracts the audio from the YouTube videos before passing them into demucs.\n- [Spotify API](https://developer.spotify.com/documentation/web-api) \u0026 [Youtube Data API](https://developers.google.com/youtube/v3) for URL conversion\n\n## Screenshot\n\n![alt text](static/landing-new.png)\n\n## Installation\n\n0. Install Python\n\n1. Clone the repository: Open a terminal and clone the repository using the following command:\n\n   ```\n   git clone https://github.com/otonomee/youtube-ai-stem-separator.git\n   ```\n\n2. Install dependencies: Navigate to the project directory and install the required dependencies\n   by running the following command:\n\n   ```\n   pip install -r requirements.txt\n   ```\n\n3. Run the web app: Start the web app by running the following command:\n\n   ```\n   python main.py\n   ```\n\n   Or Mac\n\n   ```\n   sudo python3 main.py\n   ```\n\n4. Access the web app: Open your web browser and go to\n   [http://127.0.0.1:5000](http://127.0.0.1:5000:5000) to access the web app.\n\n## Usage\n\n1. Enter the YouTube video URL: On the web app's homepage, enter the URL of the YouTube video you\n   want to convert the audio from.\n\n2. Select the number of stems you'd like:\n\n   - 2 stems: vocals and instrumental\n   - 4 stems: vocals, drums, bass, other\n   - 6 stems: vocals, drums, bass, guitar, piano, other\n\n3. Select desired output format\n\n4. Hit Submit and wait a few minutes. Download prompt will appear when finished :)\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotonomee%2Fstreamstem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotonomee%2Fstreamstem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotonomee%2Fstreamstem/lists"}