https://github.com/amarnathcjd/spotify-now-playing
spotify current song widget in SVG, pure golang
https://github.com/amarnathcjd/spotify-now-playing
badge github-r github-readme hacktoberfest hacktoberfest-accepted spotify spotify-api spotify-web-api svg vercel
Last synced: 8 months ago
JSON representation
spotify current song widget in SVG, pure golang
- Host: GitHub
- URL: https://github.com/amarnathcjd/spotify-now-playing
- Owner: AmarnathCJD
- License: mit
- Created: 2024-07-17T15:13:15.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-17T17:51:04.000Z (about 1 year ago)
- Last Synced: 2025-10-04T08:43:40.948Z (8 months ago)
- Topics: badge, github-r, github-readme, hacktoberfest, hacktoberfest-accepted, spotify, spotify-api, spotify-web-api, svg, vercel
- Language: Go
- Homepage:
- Size: 51.8 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spotify-now-playing
A simple script to generate an SVG badge for your Spotify now playing status.
- can use in github readme (eg;- check my profile)
## Sample - Demo
### V1 ->

### V2 ->

## Requirements
- sp_dc: copy the `sp_dc` cookie from `open.spotify.com` and set it as an environment variable ('SPOTIFY_COOKIE')
## Deploy To Vercel
[](https://vercel.com/import/project?template=https://github.com/amarnathcjd/spotify-now-playing)
## Usage
### SVG Badge
#### Markdown
```markdown

```
#### HTML
```html
```
### JSON Response
```bash
curl https:///api/current-playing?s=1
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.