Skip to content

digitalmaster/WhatsApp-Group-Playlist-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Spotify Playlist Sync

This project contains a script to parse a WhatsApp group export txt file and sync Spotify tracks to a playlist.

Files

  • parseSyncList.sh: This is the main script that handles the parsing and syncing of tracks.

How to Use

  1. Export your WhatsApp group chat and name the file _chat.txt.
  2. Move the _chat.txt file to the root of the project.
  3. Export environment variable
    • export SPOTIFY_CLIENT_ID=<your_client_id>
    • `export SPOTIFY_CLIENT_SECRET=<your_client
    • export SPOTIFY_PLAYLIST_ID=<your_playlist_id>
    • export SPOTIFY_REDIRECT_URI=<your_redirect_uri>
  4. Run the parseSyncList.sh script.
  5. Will redirect you to a browser to authenticate with Spotify. After authenticating, you will be redirected to a page that will not load. Copy the entire URL paste it into the terminal.

Spotify API Documentation

For more information on how to use the Spotify API, please refer to the following resources:

About

Create a playlist of all the tracks shared in a WhatsApp group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages