{"id":23459458,"url":"https://github.com/devkimchi/mood-driven-playlist","last_synced_at":"2026-04-16T08:31:43.532Z","repository":{"id":224959811,"uuid":"764543975","full_name":"devkimchi/mood-driven-playlist","owner":"devkimchi","description":"This is a sample app that catches moods and creates a playlist from Spotify based on the mood analysis","archived":false,"fork":false,"pushed_at":"2024-03-05T17:07:00.000Z","size":182,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T23:40:34.879Z","etag":null,"topics":["asp-net","asp-net-core-web-api","asp-net-web-api","azure","azure-api-management","azure-openai","blazor","dotnet","spotify"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/devkimchi.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":"2024-02-28T09:17:26.000Z","updated_at":"2024-05-13T05:34:40.000Z","dependencies_parsed_at":"2024-12-24T06:14:44.347Z","dependency_job_id":"2eab546a-42f0-48af-88d5-45bf01346802","html_url":"https://github.com/devkimchi/mood-driven-playlist","commit_stats":null,"previous_names":["devkimchi/mood-driven-playlist"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devkimchi/mood-driven-playlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmood-driven-playlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmood-driven-playlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmood-driven-playlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmood-driven-playlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkimchi","download_url":"https://codeload.github.com/devkimchi/mood-driven-playlist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkimchi%2Fmood-driven-playlist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31877479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T07:36:03.521Z","status":"ssl_error","status_checked_at":"2026-04-16T07:35:53.576Z","response_time":69,"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":["asp-net","asp-net-core-web-api","asp-net-web-api","azure","azure-api-management","azure-openai","blazor","dotnet","spotify"],"created_at":"2024-12-24T06:14:34.433Z","updated_at":"2026-04-16T08:31:43.515Z","avatar_url":"https://github.com/devkimchi.png","language":"PowerShell","readme":"# Mood-driven Playlist\r\n\r\nThis is a sample app that catches moods and creates a playlist from Spotify based on the mood analysis.\r\n\r\n## Prerequisites\r\n\r\n- [.NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0?WT.mc_id=dotnet-107070-juyoo)\r\n- [Visual Studio 2022](https://visualstudio.microsoft.com?WT.mc_id=dotnet-107070-juyoo) 17.9 or later, or [Visual Studio Code](https://code.visualstudio.com?WT.mc_id=dotnet-107070-juyoo) with [C# Dev Kit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit\u0026WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/overview?WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure CLI](https://learn.microsoft.com/cli/azure/what-is-azure-cli?WT.mc_id=dotnet-107070-juyoo)\r\n- [GitHub CLI](https://cli.github.com/)\r\n- [PowerShell](https://learn.microsoft.com/powershell/scripting/overview?WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure subscription](https://azure.microsoft.com/free?WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure OpenAI Service subscription](https://aka.ms/oaiapply)\r\n\r\n## Getting Started\r\n\r\n1. Create an app on Spotify and get the `Client ID` and `Client Secret` from the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard).\r\n\r\n1. Run the following commands to provision and deploy apps to Azure.\r\n\r\n   \u003e **NOTE**:\r\n   \u003e \r\n   \u003e - Since all the post-provisioning scripts are written in PowerShell, it is recommended to use PowerShell to run the `azd` commands.\r\n   \u003e - You can get the latest version of Azure OpenAI API spec from [here](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference).\r\n\r\n    ```bash\r\n    # PowerShell\r\n    $AZURE_ENV_NAME=\"playlist$(Get-Random -Min 1000 -Max 9999)\"\r\n    azd init -e $AZURE_ENV_NAME\r\n    azd provision\r\n    azd deploy\r\n    ```\r\n\r\n1. At the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard), update the `Redirect URI` to the one from [Azure API Management Credential Manager](https://learn.microsoft.com/azure/api-management/credentials-overview?WT.mc_id=dotnet-107070-juyoo). It should look like `https://authorization-manager.consent.azure-apim.net/redirect/apim/apim-{{AZURE_ENV_NAME}}`.\r\n\r\n1. Authorise the credentials on [Azure API Management](https://learn.microsoft.com/azure/api-management/api-management-key-concepts?WT.mc_id=dotnet-107070-juyoo).\r\n\r\n## More information\r\n\r\n### ASP.NET web app development\r\n\r\n- [Blazor](https://learn.microsoft.com/aspnet/core/blazor/?WT.mc_id=dotnet-107070-juyoo)\r\n- [ASP.NET Core Minimal API](https://learn.microsoft.com/aspnet/core/fundamentals/minimal-apis/overview?WT.mc_id=dotnet-107070-juyoo)\r\n\r\n### Azure API Management\r\n\r\n- [Azure API Management](https://learn.microsoft.com/azure/api-management/api-management-key-concepts?WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure API Management - Credential Manager](https://learn.microsoft.com/azure/api-management/credentials-overview?WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure API Management - Load Balancing](https://learn.microsoft.com/azure/api-management/backends?WT.mc_id=dotnet-107070-juyoo#load-balanced-pool-preview)\r\n\r\n### Azure OpenAI Service\r\n\r\n- [Azure OpenAI Service](https://learn.microsoft.com/azure/ai-services/openai/overview?WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure OpenAI Service - Chat Completions](https://learn.microsoft.com/azure/ai-services/openai/how-to/chatgpt?WT.mc_id=dotnet-107070-juyoo)\r\n- [Azure OpenAI Service - REST API](https://learn.microsoft.com/azure/ai-services/openai/reference?WT.mc_id=dotnet-107070-juyoo)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Fmood-driven-playlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkimchi%2Fmood-driven-playlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkimchi%2Fmood-driven-playlist/lists"}