Giter Club home page Giter Club logo

spotify-dl's Introduction

spotify-dl

What is this?

spotify-dl allows you to download Spotify playlists to your computer.

How does this work?

spotify-dl utilizes YouTube for all media. After receiving playlist information from Spotify, it queries YouTube for the most relevant matching video and extracts the audio to your device.

How do I use this?

Prerequisites

  • To run spotify-dl, you'll need to install Node.js and youtube-dl.

Running the app

  • Clone this repository.

    git clone https://github.com/elklein96/spotify-dl
  • Create a copy of config.example.json in the same directory named config.json.

  • Create a Spotify application through the Spotify Developer Dashboard.

    • When registering your new application, set the Redirect URI to be http://<YOUR_PROXY_PORT>/api/callback.
      • Note: the default proxy port for spotify-dl is :3000.
    • Copy your Spotify application's Client ID, Client Secret, and Redirtect URI into the spotify_client_id, spotify_client_secret and redirect_uri fields in config.json.
  • Create a new Google application through the Google Developer Console.

    • Select Credentials.
    • Create a new API Key.
    • Copy your Google application's API key into the google_api_key field in config.json.
  • Run the proxy server using the provided configuration file.

    haproxy -- haproxy.cfg
  • Set up and start the API.

    cd api
    npm install
    npm start
  • Set up and start the Client.

    cd client
    npm install
    npm start

The application should now be live in your browser at http://localhost:3000. Have fun!

spotify-dl's People

Contributors

elklein96 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

spotify-dl's Issues

Execution error

When i execute init.js as you told i get an error saying "Unhandled Error Event" at Event.js line 141 and an error with "spawning start".
cattura

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.