Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eddiezane/spot-look-back
Saves your Spotify history in PostgreSQL
https://github.com/eddiezane/spot-look-back
Last synced: 2 months ago
JSON representation
Saves your Spotify history in PostgreSQL
- Host: GitHub
- URL: https://github.com/eddiezane/spot-look-back
- Owner: eddiezane
- License: mit
- Created: 2019-01-04T00:41:47.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-19T12:35:22.000Z (8 months ago)
- Last Synced: 2024-06-21T20:07:09.982Z (6 months ago)
- Language: Go
- Size: 31.3 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spot Look Back
This is a simple app that pulls your 20 most recently played tracks from Spotify and stores them in a PostgreSQL database for future querying. I run this from a Raspberry Pi on a cronjob every 10 minutes.
## Usage
```bash
*/10 * * * * /opt/spot-look-back/spot-look-back -db "postgresql://username:password@host:port/spot-look-back?sslmode=require" -token "Spotify Refresh Token" -clientID "Spotify App Client ID" -clientSecret "Spotify App Client Secret" >> /opt/spot-look-back/out.log
```