Git Product home page Git Product logo

mock-car-thing's Introduction

๐Ÿšง Mock Car Thing (Work in Progress)

A few of you might be familiar with the 'Car Thing' that Spotify released a couple years ago. For those who aren't, it's a small media device running spotify that you can clip in your car.

image

image

If you have an old toyota with no user interface or bluetooth for your music like me, this seems like a cool new gadget... if you have 80$ to spare.

God-complex activated! I figured I can create a less polished, bug-filled version of this with a few items I have laying around.

If you'd like to recreate this project, you will need the following:

  • Raspberry Pi (any model will do, I'm using a RPi 2 model B)
  • LCD touchscreen
  • A way to connect your Pi board to Wifi
  • Spotify Credentials

If you'd like to skip the hardware and just run the software, continue onto the installation section.

Get Started

In order for this project to run, you will need spotify developer credentials from https://developer.spotify.com/.

Note: this option is only possible for premium Spotify users, sorry.

Create an .env file to hold your spotify credentials. It should look something like this:

SPOTIFY_CLIENT_ID=<id>
SPOTIFY_CLIENT_SECRET=<secret>

In your newly created app settings, you will have to create redirect URIs with path /auth/callback for authentication. If you are running this locally, add http://localhost:3000/auth/callback, http://localhost:8080/auth/callback if rendering server-side. For production, I don't know yet :) .

Now onto the fun stuff.

Install dependancies.

yarn install

Run the server and the react project with

yarn start

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.