{"id":18005003,"url":"https://github.com/aritheelk/gatsby-remark-embed-spotify","last_synced_at":"2025-03-26T10:31:47.593Z","repository":{"id":57244843,"uuid":"148517786","full_name":"AriTheElk/gatsby-remark-embed-spotify","owner":"AriTheElk","description":"Gatsby remark plugin for embedding Spotify songs, albums, playlists, or artist pages.","archived":false,"fork":false,"pushed_at":"2019-11-01T18:18:32.000Z","size":25,"stargazers_count":14,"open_issues_count":5,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T15:12:32.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://words.garet.io/music-for-programming/","language":"JavaScript","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/AriTheElk.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}},"created_at":"2018-09-12T17:36:33.000Z","updated_at":"2021-04-27T06:19:37.000Z","dependencies_parsed_at":"2022-09-01T06:12:16.475Z","dependency_job_id":null,"html_url":"https://github.com/AriTheElk/gatsby-remark-embed-spotify","commit_stats":null,"previous_names":["aritheelk/gatsby-remark-embed-spotify","garetmckinley/gatsby-remark-embed-spotify"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriTheElk%2Fgatsby-remark-embed-spotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriTheElk%2Fgatsby-remark-embed-spotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriTheElk%2Fgatsby-remark-embed-spotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AriTheElk%2Fgatsby-remark-embed-spotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AriTheElk","download_url":"https://codeload.github.com/AriTheElk/gatsby-remark-embed-spotify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245636802,"owners_count":20648034,"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":"2024-10-30T00:17:15.556Z","updated_at":"2025-03-26T10:31:47.319Z","avatar_url":"https://github.com/AriTheElk.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/gm"],"categories":[],"sub_categories":[],"readme":"# gatsby-remark-embed-spotify\n\nEmbed Spotify songs, playlists, sets, and artist pages in your markdown files!\n\n### [View a live demo here](https://words.garet.io/music-for-programming/)\n\n\u003ca href=\"https://www.buymeacoffee.com/gm\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\n## Install\n\n1. Install plugin to your site:\n\n```bash\nyarn add gatsby-remark-embed-spotify\n```\n\n2. Add `gatsby-remark-embed-spotify` to your `gatsby-transformer-remark` plugins in `gatsby-config.js`:\n\n```js\nplugins: [\n  {\n    resolve: \"gatsby-transformer-remark\",\n    options: {\n      plugins: [\"gatsby-remark-embed-spotify\"]\n    }\n  }\n];\n```\n\n3. Restart gastby.\n\n## Usage\n\n```markdown\n## My blog post\n\nThis is an example of embedding a single spotify track.\nJust type your markdown as you normally do, and then insert a valid\nspotify link anywhere to automatically transform it into an embed!\n\nhttps://open.spotify.com/track/6CnkGSMarTBjIKWuuGXBNl?si=ecMRoa36RnWte3RR7PdJhw\n\nYou can also embed albums\n\nhttps://open.spotify.com/album/3ICWz0kXRrh74cfcS0diek?si=AEK51ar4RI6zNduAVMmI-Q\n\nAnd playlists!\n\nhttps://open.spotify.com/user/garetmckinley/playlist/2SmGA6PDALbMzfBwseeDNx?si=CDGId95KQHis8uYipbXLzQ\n\nAnd artist pages!\n\nhttps://open.spotify.com/artist/0nLTVC5FExtXgF3RoLh0TH?si=SIPTIBZHTaiODE_WNqB-BA\n```\n\n\u003e __NOTE:__ Make sure to copy the link instead of embed code or Spotify URI.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://i.imgur.com/eqx9bHa.png\" alt=\"screenshot for share \u003e copy artist link\" /\u003e\u003c/p\u003e\n\n## Configuration\n\n```js\nplugins: [\n  {\n    resolve: \"gatsby-transformer-remark\",\n    options: {\n      plugins: [\n        {\n          resolve: \"gatsby-remark-embed-spotify\",\n          options: {\n            width: 800, // default is \"100%\"\n            height: 600 // default is 400\n          }\n        }\n      ]\n    }\n  }\n];\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritheelk%2Fgatsby-remark-embed-spotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faritheelk%2Fgatsby-remark-embed-spotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritheelk%2Fgatsby-remark-embed-spotify/lists"}