{"id":21664469,"url":"https://github.com/facel3ss1/spotify-sqlite","last_synced_at":"2025-03-20T06:19:11.659Z","repository":{"id":162555859,"uuid":"308737352","full_name":"Facel3ss1/Spotify-SQLite","owner":"Facel3ss1","description":"Download the metadata of your Spotify Library into an SQLite database","archived":false,"fork":false,"pushed_at":"2021-04-25T21:03:17.000Z","size":195,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T07:42:16.621Z","etag":null,"topics":["python","spotify","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/Facel3ss1.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":"2020-10-30T20:31:00.000Z","updated_at":"2022-11-27T15:58:48.000Z","dependencies_parsed_at":"2023-07-03T20:32:04.548Z","dependency_job_id":null,"html_url":"https://github.com/Facel3ss1/Spotify-SQLite","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/Facel3ss1%2FSpotify-SQLite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Facel3ss1%2FSpotify-SQLite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Facel3ss1%2FSpotify-SQLite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Facel3ss1%2FSpotify-SQLite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Facel3ss1","download_url":"https://codeload.github.com/Facel3ss1/Spotify-SQLite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560392,"owners_count":20472220,"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":["python","spotify","sqlite"],"created_at":"2024-11-25T10:38:54.560Z","updated_at":"2025-03-20T06:19:11.633Z","avatar_url":"https://github.com/Facel3ss1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify SQLite Database Downloader\n\nThis project downloads the metadata of a user's Spotify library using the [Spotify Web API](https://developer.spotify.com/documentation/web-api/).\nIt stores this metadata in a relational database using [SQLite](https://sqlite.org/index.html).\n\n## Installation\n\nThis project requires [Python 3.9+](https://www.python.org/downloads/) to be installed, and you need to install [Pipenv](https://pipenv.pypa.io/en/latest/install/#installing-pipenv) so you can download the dependencies.\n\nOnce you've installed those, download the repository and install the dependencies:\n\n```shell\ncd \u003cSPOTIFY SQLITE REPOSITORY\u003e\npipenv install\n```\n\nThen, you need to create a `.env` file in the root of the repository. Use `.env.example` as a template for this.\n\nIn the `.env` file, you need to enter your Client ID and Client Secret from the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard).\nIt doesn't matter what you use for the Redirect URI (this project doesn't host a server), as long as it's the same as what you entered on the Spotify Dashboard.\n\n## Running\n\nTo run the project, use this command:\n\n```shell\npipenv run python main.py\n```\n\nThis will open your web browser with a prompt asking you to authorise with Spotify.\nOnce you've accepted, the page will redirect you to the Redirect URI with extra information in the URL.\nNote that subsequent runs will redirect you automatically since you've already authorised with Spotify.\n\nPaste the entire URL into the terminal prompt and the program will start to download your Spotify Library.\n\nOnce the download has finished, the metadata will be saved to an SQLite database file called `spotifysqlite.db` (this can be changed by passing the filename as a CLI argument), which can be opened in an external program such as [SQLite Studio](https://sqlitestudio.pl/), or on an online viewer such as [SQLite Online](https://sqliteonline.com).\n\n## Building the program\n\nTo build this project, install the dev dependencies and then use this command:\n\n```shell\npyinstaller --onefile main.py --name spotifysqlite\n```\n\nThe output should be in a new `dist` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacel3ss1%2Fspotify-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffacel3ss1%2Fspotify-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacel3ss1%2Fspotify-sqlite/lists"}