{"id":25515649,"url":"https://github.com/railly/spotigen-chat-gpt-plugin","last_synced_at":"2025-09-09T13:35:26.932Z","repository":{"id":165075394,"uuid":"640401957","full_name":"Railly/spotigen-chat-gpt-plugin","owner":"Railly","description":" A ChatGPT Plugin that generates Spotify playlists 🎵 based on your prompts ✨.","archived":false,"fork":false,"pushed_at":"2023-10-16T00:19:07.000Z","size":58,"stargazers_count":43,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T20:52:14.111Z","etag":null,"topics":["chat-gpt","chat-gpt-plus","collaborate","fastapi","gpt-4","gpt-plugins","spotify-api","vercel-serverless"],"latest_commit_sha":null,"homepage":"https://spotigen.vercel.app","language":"Python","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/Railly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-05-14T00:54:19.000Z","updated_at":"2025-04-12T18:12:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee3bcb4b-98e5-45ae-b9e8-cd4500dfafed","html_url":"https://github.com/Railly/spotigen-chat-gpt-plugin","commit_stats":null,"previous_names":["railly/spotigen-chat-gpt-plugin"],"tags_count":0,"template":false,"template_full_name":"openai/plugins-quickstart","purl":"pkg:github/Railly/spotigen-chat-gpt-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Railly%2Fspotigen-chat-gpt-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Railly%2Fspotigen-chat-gpt-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Railly%2Fspotigen-chat-gpt-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Railly%2Fspotigen-chat-gpt-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Railly","download_url":"https://codeload.github.com/Railly/spotigen-chat-gpt-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Railly%2Fspotigen-chat-gpt-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274302130,"owners_count":25260132,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"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":["chat-gpt","chat-gpt-plus","collaborate","fastapi","gpt-4","gpt-plugins","spotify-api","vercel-serverless"],"created_at":"2025-02-19T13:33:04.947Z","updated_at":"2025-09-09T13:35:26.901Z","avatar_url":"https://github.com/Railly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/Railly/spotigen-chat-gpt-plugin/main/static/logo.png\" style=\"border-radius: 8px;\" width=\"100\" alt=\"Logo\"/\u003e\u003cbr/\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png\" height=\"30\" width=\"0px\"/\u003e\n\tSpotigen, a \u003ca href=\"https://openai.com/blog/chatgpt-plugins\"\u003eChat GPT Plugin\u003c/a\u003e\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\nA \u003ca href=\"https://chat.openai.com/\"\u003eChat GPT\u003c/a\u003e Plugin that generates Spotify playlists 🎵 based on your prompts ✨.\n  \u003cbr\u003e\n\u003c/p\u003e\n\n## Installation\n\n1. Go to [ChatGPT](https://chat.openai.com/)\n2. Go to: `Plugin Store` \u003e `Install an unverified plugin`\n3. Enter the following domain: [spotigen.vercel.app](https://spotigen.vercel.app)\n4. OpenAI will warn you that the plugin is unverified. Click `Continue`.\n5. Click `Login with Spotigen`.\n6. Now you're ready to use the plugin!\n\n## Setup development environment\n\n### Setup a Spotify app\n\nTo integrate ChatGPT with Spotify API via OAuth, you have to set up a Spotify app in the `Spotify Developer Dashboard` and obtain your `client_id` and `client_secret`:\n\n1. Go to [Spotify developer's dashboard](https://developer.spotify.com/dashboard) and click \"Create app\".\n2. Enter an App name and App description.\n\n3. For the Redirect URI, put `https://chat.openai.com/aip/plugin-id-temporary-value/oauth/callback` as a temporary value, then you will need to replace it later once you obtain your plugin ID.\n\n4. Accept the terms and conditions and click \"Create\".\n\n### Setup the plugin\n\nTo install the required packages for this plugin, run the following command:\n\n```bash\npip install -r requirements.txt\n```\n\nTo run the plugin, enter the following command:\n\n```bash\nuvicorn main:app --reload\n```\n\n### Setup ngrok\n\nTo test your plugin locally, you will need to use [ngrok](https://ngrok.com/) to provide HTTPS access to your local server.\n\n1. Download ngrok from [here](https://ngrok.com/download) and unzip it.\n2. Run the following command to expose your local server to the internet:\n\n```bash\n./ngrok http 8000\n```\n3. It's important to note that you will need to have a ngrok paid plan to **bypass the ngrok-skip-browser-warning**.\n\n### Setup the plugin in ChatGPT\n\nOnce the local server is running:\n\n1. If you are a ChatGPT Plus user, you will be able to access the Plugins option. Otherwise, you will need to sign up for the [waitlist](https://openai.com/waitlist/plugins).\n2. Go to: Plugin Store \u003e Develop your own plugin\n3. Enter your ngrok domain: \u003cngrok_id\u003e.ngrok.app\n4. Enter `client_id` and `client_secret` from your Spotify app.\n5. ChatGPT will provide you a verification token. Update it in your `ai-plugin.json` as follows:\n\n```json\n{\n    \"verification_tokens\": {\n      \"openai\": \"\u003copen_ai_verification_token\u003e\"\n    }\n}\n```\n6. Click `Install for me`.\n7. Click `Log in with Spotigen (DEV)`.\n8. You will see a page with `INVALID_CLIENT: Invalid redirect URI` error. Copy the `plugin_id` from the URL and update the `redirect_uri` in your Spotify app settings.\n9. Reload the error page and you will be redirected to the ChatGPT app.\n\n\u003e **Note**\n\u003e Personally, I don't have a paid `ngrok` account, so I use my `spotigen.vercel.app` URL directly within ChatGPT for my whole development process. \n\n## Usage\n\nOnce the plugin is installed, you'd like to try the following prompts:\n\n**Purpose**: Tell how you are feeling and get a playlist that matches your mood.\n\n\u003e **Prompt 1**: \"I'm feeling a bit tired today and in a mood for some nostalgia. Could you create a playlist featuring the best English pop songs from the 2010s?\"\n\n\u003e **Prompt 2**: \"I'm feeling happy today and would like a playlist that reflects my mood. Could you generate one with all English songs?\"\n\n\n**Purpose**: Create playlists based on different scenarios and inspirations.\n\n\u003e **Prompt 1**: \"I have a photo of a family vacation at a pool with a blue background that I'd like to post on Instagram. Could you create a playlist that would complement this image? I'm looking for a playlist suitable for a family vacation photo taken at a pool with a blue background.\"\n\n\u003e **Prompt 2**: \"I'm planning a trip to a place with abundant greenery and would like to feel as if I'm on a summer trip in 2017. Could you create a playlist to match this mood? I want the playlist to evoke the feeling of a summer trip in a lush green location reminiscent of the summer of 2017.\"\n\n\n**Purpose**: Create a playlist based on your favorite playlist/artist.\n\n\u003e **Prompt 1**: \"I have a favorite playlist named 'Chill Vibes' that I absolutely love and listen to all the time. Could you create a new playlist inspired by my 'Chill Vibes' playlist? I want to discover similar songs and artists that I might enjoy.\"\n\n\u003e **Prompt 2**: \"There's this one artist named 'John Smith' who is my absolute favorite, and I can't get enough of their music. Could you curate a playlist based on 'John Smith's' style and genre? I'm looking to explore more songs that resonate with their sound.\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailly%2Fspotigen-chat-gpt-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frailly%2Fspotigen-chat-gpt-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frailly%2Fspotigen-chat-gpt-plugin/lists"}