{"id":26202404,"url":"https://github.com/badmagick329/spotify-playlist-cli","last_synced_at":"2026-04-19T23:32:07.224Z","repository":{"id":269477411,"uuid":"907522179","full_name":"badmagick329/spotify-playlist-cli","owner":"badmagick329","description":"CLI tool to create filtered Spotify playlists from existing playlists. Filter by release date and/or artists","archived":false,"fork":false,"pushed_at":"2026-02-02T15:25:59.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-03T04:20:35.135Z","etag":null,"topics":["cli","csharp","dotnet","music","playlist","spotify","spotify-api","terminal"],"latest_commit_sha":null,"homepage":"","language":"C#","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/badmagick329.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-23T19:22:49.000Z","updated_at":"2026-02-02T15:26:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"45eefd33-5f4f-49a0-82ab-879f6085ac93","html_url":"https://github.com/badmagick329/spotify-playlist-cli","commit_stats":null,"previous_names":["badmagick329/spotify-playlist-cli"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/badmagick329/spotify-playlist-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmagick329%2Fspotify-playlist-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmagick329%2Fspotify-playlist-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmagick329%2Fspotify-playlist-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmagick329%2Fspotify-playlist-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badmagick329","download_url":"https://codeload.github.com/badmagick329/spotify-playlist-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badmagick329%2Fspotify-playlist-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32026619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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","csharp","dotnet","music","playlist","spotify","spotify-api","terminal"],"created_at":"2025-03-12T03:35:52.410Z","updated_at":"2026-04-19T23:32:07.210Z","avatar_url":"https://github.com/badmagick329.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify Playlist CLI\n\nA command-line tool to create filtered Spotify playlists from your existing playlists. Filter by release date range and/or specific artists to create more targeted playlists from your larger collections.\n\n## Features\n\n- Select one or more source playlists (including your Saved Tracks library)\n- Filter tracks by release date range (`yyyy`, `yyyy-mm`, or `yyyy-mm-dd`)\n- Filter tracks by specific artists\n- Combine filters (AND logic, tracks must match all applied filters)\n\n## Requirements\n\n- A Spotify account\n- A Spotify Developer App\n\n## Setup\n\n### 1. Create a Spotify Developer App\n\n1. Go to the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard)\n2. Create a new app\n3. Add `http://localhost:8000/callback` as a Redirect URI in your app settings\n4. Copy your **Client ID**\n\n### 2. Configure the Application\n\n1. Copy `spotifycli-settings.json.sample` to `spotifycli-settings.json` (in the same directory as the binary)\n2. Replace the `ClientId` value with your Client ID from the Spotify Developer Dashboard\n\n```json\n{\n  \"ClientId\": \"your-client-id-here\",\n  \"CredentialsPath\": \"credentials.json\",\n  \"CallbackUrl\": \"http://localhost:8000/callback\",\n  \"Port\": \"8000\"\n}\n```\n\n### 3. First Run\n\nOn first run, the app will:\n\n1. Start a local server on port 8000\n2. Open your browser to Spotify's login page\n3. After you authorize, credentials are saved to `credentials.json`\n\nSubsequent runs will use the saved credentials automatically.\n\n### Permissions Requested\n\nThe app requests the following Spotify permissions:\n\n| Permission                    | Purpose                         |\n| ----------------------------- | ------------------------------- |\n| `playlist-read-private`       | Read your private playlists     |\n| `playlist-read-collaborative` | Read collaborative playlists    |\n| `playlist-modify-private`     | Create/modify private playlists |\n| `playlist-modify-public`      | Create/modify public playlists  |\n| `user-library-read`           | Read your Saved Tracks          |\n| `user-library-modify`         | Modify your library             |\n| `user-read-private`           | Read your user profile          |\n| `user-top-read`               | Read your top artists/tracks    |\n\n## Usage\n\nRun the executable and follow the interactive prompts:\n\n1. Enter a name for your new playlist\n2. Select source playlists (space to select, enter to confirm)\n3. Choose filter types (date range and/or artists)\n4. Apply your filters\n5. The filtered playlist is created on Spotify\n\n## Building from Source\n\nRequires .NET 9.0 SDK.\n\n```bash\n# Run directly\ndotnet run --project SpotifyCli.Console\n\n# Build self-contained executables for any platform\n# Windows\ndotnet publish SpotifyCli.Console -c Release -r win-x64 --output ./publish/windows --self-contained -p:PublishSingleFile=true\n\n# macOS\ndotnet publish SpotifyCli.Console -c Release -r osx-x64 --output ./publish/osx --self-contained -p:PublishSingleFile=true\n\n# Linux\ndotnet publish SpotifyCli.Console -c Release -r linux-x64 --output ./publish/linux --self-contained -p:PublishSingleFile=true\n```\n\nOr use the Makefile:\n\n```bash\nmake all    # Build for all platforms\nmake win    # Windows only\nmake osx    # macOS only\nmake linux  # Linux only\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadmagick329%2Fspotify-playlist-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadmagick329%2Fspotify-playlist-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadmagick329%2Fspotify-playlist-cli/lists"}