https://github.com/johansatge/music
Display data and export playlists from a Spotify account
https://github.com/johansatge/music
spotify spotify-api spotify-connect spotify-playlist spotify-web-api
Last synced: 7 months ago
JSON representation
Display data and export playlists from a Spotify account
- Host: GitHub
- URL: https://github.com/johansatge/music
- Owner: johansatge
- License: mit
- Created: 2022-02-27T17:24:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-09T10:43:05.000Z (over 1 year ago)
- Last Synced: 2025-02-10T07:16:39.492Z (8 months ago)
- Topics: spotify, spotify-api, spotify-connect, spotify-playlist, spotify-web-api
- Language: JavaScript
- Homepage: https://music.satge.me/
- Size: 274 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Music 🎹
Display data and export playlists from a Spotify account.
* [Usage](#usage)
* [Local installation](#local-installation)
* [Build and deployment](#build-and-deployment)## Usage
- Navigate to https://music.satge.me/
- Login with Spotify## Local installation
```shell
# Make sure node 16 is installed
node -v
# Clone the project
git clone git@github.com:johansatge/music.git
cd music
# Install dependencies
npm install
# Create env file with a Spotify API key (with "localhost:9898" as allowed URL)
echo "module.exports = { SPOTIFY_CLIENT_ID: 'xxx' }" > .env.js
# Run the local server (will rebuild app on changes)
npm run watch
# Navigate to http://localhost:4000/
```## Build and deployment
To test the build locally, run:
```shell
npm run build
```Assets are built in `dist`.
Deployment is handled by [Netlify](https://www.netlify.com/), when pushing updates on `master`.