Coder Social home page Coder Social logo

spot-thing's Introduction


Logo

spot-thing

A small player for spotify.
View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

I built spot-thing to be the spotify mini player experience on desktop that I always wanted. I tried several that are available and none really hit the mark for me. I saw the release of Car Thing and it looked like the perfect UI for a mini player. Debated grabbing one and popping it on my desk but instead, I decided to dive into my first Electron/Node JS application and build it myself. Which only took over a year because of my hobby fixations. IMPORTANT: Full functionality within spot-thing requires a spotify premium account

Want to support me and spot-thing? Buy Me A Coffee

(back to top)

Built With

(back to top)

For Users

spot-thing is free to use! You can download the latest version here.

After downloading the .exe file, place it somewhere you can access in the future, this is how you'll open spot-thing (or you can make a shortcut). Then follow the steps below. Note - If you used a previous version of spot-thing (pre v1.1) you will need to reenter your clientID and clientSecret upon downloading v1.1 or higher.

Getting Setup

To use spot-thing, you need to setup your spotify developer account with a custom app. This will allow spot-thing to read information from your Spotify account such as now playing tracks.

  1. Visit the Spotify Developer Dashboard below and login - Spotfy Developer Dashboard

  2. After logging in click the Create app button in the top right corner

  1. In the window that opens, fill in the App Name (spot-thing) and App Description (something you choose). You can place the github URL in the website box if you'd like, but it isn't required. Lastly in the Redirect URI box copy the following URL. Click Save once you're finished.
http://localhost:8888/callback

  1. The next page is the dashboard for your new app! Click the Settings button in the upper right.

  1. Here you will find your clientID and clientSecret values. Click view client secret to see both values. You will need to copy and paste these into spot-thing in the next step.

  1. Now open spot-thing!

  2. You'll be prompted to enter your Client ID and Client Secret, then click Next.

  1. When you click next, spot-thing will attempt to automatically open an authorization URL for you in another window. This page is where you accept the permissions that spot-thing needs to read and control your playback details.

  1. After you click AGREE, spot-thing will receive authorization details from spotify and begin attempting to connect.

  1. You're done! If you have music currently playing on your spotify account you'll see spot-thing snap into action. If you don't have anything playing, you'll see a message from spot-thing to begin playing music on your main spotify app. spot-thing automatically stays connected to your account so you can close/open it as you need and you won't have to enter those details again. If for some reason it prompts you for the ID and Secret, just follow steps 8-11 again.

For Developers

To get a local copy up and running follow these steps.

Prerequisites

Setup

To utilize the app you will need to create a Spotify App inside your Spotify Developer Dashboard. Follow the steps above for users.

Installation

  1. Clone the repo
    git clone https://github.com/devinbergin/spot-thing.git
  2. Move into the new directory
    cd spot-thing
  3. Install NPM packages
    npm install
  4. Start the App!
    npm start
  5. Enter your spotify app details in the forms. Once complete, begin playing your media from your main spotify controller.

(back to top)

Usage

Coming soon.

Working with scss

This project utilizes node-sass and scss files for compiled css. You will find several scss files containing the css code.

  • spot-thing.scss
  • variables.scss
  • fonts.scss
  • style.scss

From a bash terminal, cd into he spot-thing folder and run this command

npm run scss

This will recompile the CSS file for you on each save while developing locally.

You can also run a command to build the css if you prefer to use a minified version

npm run build-css

(back to top)

Building the app

npm run dist

spot-thing's People

Contributors

devinbergin avatar dependabot[bot] avatar pyguy2 avatar

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.