{"id":24385630,"url":"https://github.com/ctjlewis/react-spotify-embed","last_synced_at":"2025-04-11T02:23:26.218Z","repository":{"id":57345157,"uuid":"393185451","full_name":"ctjlewis/react-spotify-embed","owner":"ctjlewis","description":"A simple React component for embedding a Spotify song or album preview.","archived":false,"fork":false,"pushed_at":"2024-02-17T20:12:11.000Z","size":2053,"stargazers_count":59,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T05:54:02.318Z","etag":null,"topics":["nextjs","react","spotify"],"latest_commit_sha":null,"homepage":"https://react-spotify-embed.vercel.app","language":"TypeScript","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/ctjlewis.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":"2021-08-05T22:33:37.000Z","updated_at":"2025-03-28T14:09:15.000Z","dependencies_parsed_at":"2024-06-18T21:16:00.949Z","dependency_job_id":"4a18a5c9-0a3b-48cf-8cdf-5cd1001c379b","html_url":"https://github.com/ctjlewis/react-spotify-embed","commit_stats":{"total_commits":35,"total_committers":4,"mean_commits":8.75,"dds":"0.11428571428571432","last_synced_commit":"2ddd8e04612637aca7079495e6154e49f19fe5b7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctjlewis%2Freact-spotify-embed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctjlewis%2Freact-spotify-embed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctjlewis%2Freact-spotify-embed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctjlewis%2Freact-spotify-embed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctjlewis","download_url":"https://codeload.github.com/ctjlewis/react-spotify-embed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248328496,"owners_count":21085325,"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":["nextjs","react","spotify"],"created_at":"2025-01-19T11:19:43.462Z","updated_at":"2025-04-11T02:23:26.199Z","avatar_url":"https://github.com/ctjlewis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Spotify Embed\n\n[NPM](https://npmjs.com/package/react-spotify-embed) |\n[Demo](https://react-spotify-embed.vercel.app)\n\nUse this component to create a Spotify embed for a given Spotify link. In\nSpotify, click ••• \u003e Copy Link, and paste it in the `\u003cSpotify link={...}\u003e` prop.\n\nAny link should work (albums, songs, etc.). All other props on the Spotify embed\nwidget can also be overridden (see\n[here](https://developer.spotify.com/documentation/embeds/)).\n\n```tsx\n// Displaying a single track.\n\u003cSpotify link=\"https://open.spotify.com/track/5ihDGnhQgMA0F0tk9fNLlA?si=4472348a63dd4f83\" /\u003e\n\n// Displaying an album.\n\u003cSpotify link=\"https://open.spotify.com/album/0fUy6IdLHDpGNwavIlhEsl?si=mTiITmlHQpaGkoivGTv8Jw\" /\u003e\n\n// Using `wide` attribute.\n\u003cSpotify wide link=\"https://open.spotify.com/track/5ihDGnhQgMA0F0tk9fNLlA?si=4472348a63dd4f83\" /\u003e\n```\n\n**Demo: Normal song link, Album link, and `wide`**\n\n\u003cimg width=\"400px\" height=\"auto\" src=\"https://github.com/ctjlewis/react-spotify-embed/raw/master/public/screenshot.png\"\u003e\n\n### Example\n\nThis repository itself is a Next project demonstrating the use of this\ncomponent.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctjlewis%2Freact-spotify-embed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctjlewis%2Freact-spotify-embed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctjlewis%2Freact-spotify-embed/lists"}