https://github.com/flotwig/spotify-now-playing-on-github
Update your GitHub user status with what you're listening to on Spotify!
https://github.com/flotwig/spotify-now-playing-on-github
Last synced: 6 months ago
JSON representation
Update your GitHub user status with what you're listening to on Spotify!
- Host: GitHub
- URL: https://github.com/flotwig/spotify-now-playing-on-github
- Owner: flotwig
- License: mit
- Created: 2020-04-13T15:25:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T03:24:38.000Z (over 3 years ago)
- Last Synced: 2025-07-19T18:41:56.126Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://np.chary.us
- Size: 2.56 MB
- Stars: 56
- Watchers: 1
- Forks: 3
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
spotify-now-playing-on-github
=====
**Public instance: https://np.chary.us/**
This is a tool that replicates your "Now Playing" status from Spotify to GitHub, so it shows up as your user status on your profile. It looks something like this:

## Contributing
Contributions are welcome. Please feel free to open an issue or a pull request.
To run this repo locally using `docker-compose` to stand up postgres:
1. Obtain a Spotify web API client ID and client secret.
2. Obtain a GitHub API client ID and client secret.
3. Create a `.env` file and populate it with (at the minimum) these variables:
```
BASE_URL=https://your-url.example.com
SPOTIFY_CLIENT_ID=...
SPOTIFY_CLIENT_SECRET=...
GITHUB_CLIENT_ID=...
GITHUB_CLIENT_SECRET=...
COOKIE_SECRET=some-long-random-string
DB_URL=postgres://postgres:somepassword@postgres
POSTGRES_PASSWORD=somepassword
```
See `config.ts` for other available environment variables.
4. Now, you should be able to use `docker-compose up` to begin file-watching and auto-rebuilding the React frontend and Node.js backend. By default, it will listen on port 4000.