{"repo":"mashb1t/spotisights","free":true,"listed":false,"github":"https://github.com/mashb1t/spotisights","clone":"git clone https://github.com/mashb1t/spotisights.git","description":"statistic dashboards for Spotify","language":"PHP","stars":24,"topics":["spotify","grafana","grafana-influxdb","influxdb","php","docker-compose","docker"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"SpotiSights - Spotify Insights This project displays Spotify statistics for multiple users via Grafana. It uses Laravel commands for data collection from the Spotify API and InfluxDB as data storage. Setup 1. Copy config/ .env.dist to config/ .env and change the credentials 2. Run composer install in php/src to make sure vendor exists for volume mount (only dev environment) 3. Run docker-compose up -d to provision Grafana, InfluxDB and PHP+Nginx 4. Log in to the [Spotify Developer] website 5. Set up a new Spotify App, add the callback URL http://localhost:8080/spotify/callback and add client id and client secret to php.env 6. Log in to Grafana and remove the permission \"View\" on dashboard \"All Users\" (navigate settings permissions click on group \"SpotiSights\" remove role \"Viewer\" from board) n8n workflow If this sounds too colmplicated, feel free to use this n8n workflow resembling spotisight. The only thing remaining: save the data to a database of your choosing. Please find guidance on how to set up the Spotify permissions in your app below. spotisights-n8n.json Data Flow / User setup 1. Admin: add user email to permitted users in your Spotify app 2. User: Call http://localhost:8080/ and connect services (technical reference: see auth section) 3. User: initial crawl is executed for new users on first successful connection ( pulls max. 50 last listened tracks ) 4. Admin: find username by new session name in file system / username in admin dashboard 5. Admin: create user with","default_branch":null,"files":null,"tree":[],"storefront":"/r/mashb1t","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mashb1t/spotisights/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}