{"id":17274392,"url":"https://github.com/new-dev0/spotifyig","last_synced_at":"2025-06-15T12:05:25.010Z","repository":{"id":236547714,"uuid":"791617772","full_name":"New-dev0/SpotifyIG","owner":"New-dev0","description":"Automatically upload playing spotify song as instagram story","archived":false,"fork":false,"pushed_at":"2024-11-18T21:22:27.000Z","size":685,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T23:09:50.442Z","etag":null,"topics":["auto-upload","ffmpeg","instagram","spotify","stories"],"latest_commit_sha":null,"homepage":"","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/New-dev0.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}},"created_at":"2024-04-25T03:38:45.000Z","updated_at":"2024-08-10T13:19:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"fca7f1e1-9cec-4164-b6e1-5e1a2720257e","html_url":"https://github.com/New-dev0/SpotifyIG","commit_stats":null,"previous_names":["new-dev0/spotifyig"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/New-dev0/SpotifyIG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/New-dev0%2FSpotifyIG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/New-dev0%2FSpotifyIG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/New-dev0%2FSpotifyIG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/New-dev0%2FSpotifyIG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/New-dev0","download_url":"https://codeload.github.com/New-dev0/SpotifyIG/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/New-dev0%2FSpotifyIG/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259971332,"owners_count":22940009,"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":["auto-upload","ffmpeg","instagram","spotify","stories"],"created_at":"2024-10-15T08:53:49.828Z","updated_at":"2025-06-15T12:05:24.986Z","avatar_url":"https://github.com/New-dev0.png","language":"Python","readme":"# Spotify-IG\n\n- Automatically upload Instagram stories when you listen to song on Spotify.\n\n![](./ig.png)\n\n## Instructions\n\n1. Install Requirements\n\n```bash\npip3 install -r requirements.txt\n```\n\n2. Install apt packages\n\n```bash\nsudo apt install mediainfo ffmpeg -y\n```\n\n3. Get [Spotify configurations](#getting-spotify-configurations-for-env) for [`.env`](#sample-of-env).\n\n4. Fill your configuration [`.env`](#sample-of-env) file.\n\n5. Run `python3 config.py`, you will automatically redirected to Spotify login page, if not, go to `https://accounts.spotify.com/authorize?client_id={CLIENT_ID}\u0026response_type=code\u0026redirect_uri=http://localhost:{PORT}\u0026scope=user-read-playback-state%20user-read-currently-playing` and give authorisation to your spotify account, to fill out missing configurations.\n\n6. Finally run the screipt with `python3 main.py`.\n\n## Getting Spotify configurations for `.env`\n\n1. Go to [this](https://developer.spotify.com/).\n\n2. Login to your profile.\n\n3. Create new app and set app name and description.\n\n4. Redirect URI should be http://localhost:PORT, where you can use custom PORT number by adding it in [`.env`](#sample-of-env). Default PORT number is 3000. So it should look like `http://localhost:3000`.\n\n5. Select Web API and Agree to the TOS and guidelines and save the app.\n\n6. Go to your app's dashboard and head to settings tab.\n\n7. Copy Client ID and Client Secret and fill it in [`.env`](#sample-of-env).\n\n## Sample of .env\n\n\u003e Note: 2FA support for instagram is not yet implemented.\n\n```bash\nCLIENT_ID= #Get it from https://developer.spotify.com\nCLIENT_SECRET= #Get it from https://developer.spotify.com\nIG_USERNAME= #Your instagram username\nIG_PASSWORD= #Your instagram password\n```\n\n\u003e Note\n\n- Songs are cached for 1 day and same song won't be uploaded again within 24 hours.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnew-dev0%2Fspotifyig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnew-dev0%2Fspotifyig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnew-dev0%2Fspotifyig/lists"}