{"id":25241623,"url":"https://github.com/hur/find-similar-artists","last_synced_at":"2025-04-05T20:25:53.622Z","repository":{"id":50169678,"uuid":"264187324","full_name":"hur/find-similar-artists","owner":"hur","description":"A Flask app that takes an artist name as an input and produces a Spotify playlist of songs by similar artists. Website down since Heroku free tier was shut down.","archived":false,"fork":false,"pushed_at":"2023-03-01T10:14:37.000Z","size":64,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T21:11:53.995Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://find-similar-artists.herokuapp.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/hur.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}},"created_at":"2020-05-15T12:25:41.000Z","updated_at":"2023-01-25T20:18:18.000Z","dependencies_parsed_at":"2023-01-25T00:45:50.250Z","dependency_job_id":null,"html_url":"https://github.com/hur/find-similar-artists","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hur%2Ffind-similar-artists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hur%2Ffind-similar-artists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hur%2Ffind-similar-artists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hur%2Ffind-similar-artists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hur","download_url":"https://codeload.github.com/hur/find-similar-artists/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247395586,"owners_count":20932164,"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":[],"created_at":"2025-02-11T21:12:21.013Z","updated_at":"2025-04-05T20:25:53.599Z","avatar_url":"https://github.com/hur.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# find-similar-artists\n\nA flask app that takes an artist as an input and generates a Spotify playlist of top songs of artists recommended based on the input.\nCan use the Spotify API or https://music-map.com for sourcing the recommended artists.\n\nLive demo at https://find-similar-artists.herokuapp.com/ (deprecated due to Heroku removing free tier)\n\n## How to setup development environment\n### Requirements\nPython 3 \u0026 virtualenv (recommended)\n### Steps\nClone the repository and cd into the directory:\n```\ngit clone https://github.com/hur/find-similar-artists.git\ncd find-similar-artists\n```\nSet up a virtual environment:\n\n`virtualenv venv`\n\nActivate the virtual environment:\n```\n(Windows / CMD):\nvenv\\Scripts\\activate\n(Mac OS / Unix):\nsource venv/bin/activate \n```\nInstall requirements:\n\n`pip install -r requirements.txt`\n\nFurthermore, you will need to install `redis-server` for your platform if you will host a development redis server locally.\n\nSet up `.env` file with the needed keys:\n\n```\nSECRET_KEY = \"yoursecretkey\"\nSPOTIFY_CLIENT_ID=\"clientid\"\nSPOTIFY_CLIENT_SECRET=\"clientsecret\"\nSPOTIFY_CALLBACK_URL=\"callbackurl\"\nREDIS_URL=\"redisurl\"\n```\nYou can generate a random secret key using Python:\n```\n\u003e\u003e\u003e import uuid\n\u003e\u003e\u003e uuid.uuid4().hex\n```\n\nYou need to create an app and get its client id and secret at https://developer.spotify.com/.\nFurthermore, you need to add callback url for `localhost:5000/callback` and add it in the spotify dashboard as well as the .env\nfile. \n\n\nRun the app using `flask run`. In some cases using `python -m flask run` instead may resolve issues that occur with `flask run`.\nIn another terminal tab, run an rq worker using `rq worker`. This will process the jobs sent to the task queue. Your redis server needs to be set up for this.\n\nFor running all tests, use `pytest`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhur%2Ffind-similar-artists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhur%2Ffind-similar-artists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhur%2Ffind-similar-artists/lists"}