GithubHelp home page GithubHelp logo

neerajram30 / spotify-playlist-dl Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 87 KB

๐Ÿ’š simple command line tool import spotify playlist to local storage

JavaScript 100.00%
mp3downloader nodejs spotify spotify-api spotify-downloader spotify-playlist ytdl ytdl-core

spotify-playlist-dl's Introduction

Spotify Playlist Downloader

Spotify Playlist Downloader is simple command line tool to import the spotify playlist to local storage.

Installation

Clone this repository by using

git clone https://github.com/neerajram30/spotify-playlist-dl.git

Then navigate to the directory spotify-playlist-dl an use command

npm install

to install all the required libraries.

Setting up

Create .env file in the root directory of the project and configure it as follows.

CLIENT_ID = 'YOUR SPOTIFY CLIENT ID'
CLIENT_SECRET = 'YOUR SPOTIFY CLIENT SECRET'
MUSIC_DIRECTORY = 'DIRECTORY'

Replace YOUR SPOTIFY CLIENT ID with your spotify client id, YOUR SPOTIFY CLIENT SECRET with your spotify client secret and replace DIRECTORY with the local directory in which you have to save the music files.

How to run ?

In terminal use given command to run the tool.

node index

you will be prompted in terminal like this.

HTTP Server up. Now go to http://localhost:8888/login in your browser.

Now copy and paste the given link in any browser. Then give your login credentials and login to spotify. Now you will be prompted with option to select your playlist. Select the playlist that you have to download. Then you will see the list of songs in the playlist and a confirmation message will be shown, you can select 'Yes' to continue with the download and you can select 'No' to exit.

spotify-playlist-dl's People

Contributors

neerajram30 avatar

Stargazers

 avatar  avatar

Watchers

 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.