{"repo":"ansonlichtfuss/spotify-desk-thing","free":true,"listed":false,"github":"https://github.com/ansonlichtfuss/spotify-desk-thing","clone":"git clone https://github.com/ansonlichtfuss/spotify-desk-thing.git","description":"A rewrite of the Spotify Car Thing now playing interface for Raspberry Pi.","language":"TypeScript","stars":84,"topics":["date-fns","hyperpixel-square","prettier","raspberry-pi","solidjs","spotify","tanstack-react-query","trpc","typescript","unocss"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Spotify Desk Thing A web-based clone of the Spotify Car Thing's now playing UI. Provides control via the Spotify API instead of Bluetooth (no need to pair devices and it can control most playback scenarios). Requires a Premium Spotify account. Made for the Hyperpixel 4 Square Touch display, using a Raspberry Pi 3A. Written in SolidJS using SolidStart. The core now playing screen and play/pause functionality is working, more functionality to be added later. Setup 1. Clone the repo onto your local computer, then install dependencies: 2. Create an OAuth application in the Spotify Developer API portal: https://developer.spotify.com/dashboard 3. Add these redirect URLs to the OAuth application config 4. Make a copy of the .env.example file as .env , then enter the Spotify Client ID and secret in the env file fields. We will get the refresh token in a moment. 5. Start the development version of the application 6. Navigate your browser to 127.0.0.1:3000/auth/initialize to authenticate with Spotify. After granting access the refresh token will be displayed on screen. Copy this into the env file field for refresh token. 7. Stop the previous development run of the app, then build and start the production version 8. The app should now be fully functional. Navigate to 127.0.0.1:3000 and play a song on your Spotify account (wait up to 15 seconds or refresh the page to see the now playing screen). Running on Raspberry Pi This application runs as a Node-based web app, which can be displayed","default_branch":null,"files":null,"tree":[],"storefront":"/r/ansonlichtfuss","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ansonlichtfuss/spotify-desk-thing/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."}