Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luisgbr1el/trackify
Trackify is a tool that displays user's top 5 most played tracks and artists from the last month in a cool way that you can share with your friends.
https://github.com/luisgbr1el/trackify
express spotify spotify-api spotify-web-api
Last synced: about 2 months ago
JSON representation
Trackify is a tool that displays user's top 5 most played tracks and artists from the last month in a cool way that you can share with your friends.
- Host: GitHub
- URL: https://github.com/luisgbr1el/trackify
- Owner: luisgbr1el
- Created: 2023-04-19T16:35:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-17T21:27:51.000Z (about 2 months ago)
- Last Synced: 2024-11-17T22:19:40.433Z (about 2 months ago)
- Topics: express, spotify, spotify-api, spotify-web-api
- Language: JavaScript
- Homepage: https://thetrackify.vercel.app
- Size: 3.74 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Receiptify
Web application inspired by https://www.instagram.com/albumreceipts/. Generates receipts that list out a user's top tracks in the past month, 6 months, and all time.
The application can be viewed at https://receiptify.herokuapp.com/.
NOTE: This code is admittedly not super clean as I was in quite a time crunch when I originally wrote it and never got the chance to really go back and fix everything, so sorry in advance! Despite this, I am making it public as a few people have asked me about it :) When I have time, I hope to refactor & clean this up though!
## Running the App Locally
This app runs on Node.js. On [its website](http://www.nodejs.org/download/) you can find instructions on how to install it. You can also follow [this gist](https://gist.github.com/isaacs/579814) for a quick and easy way to install Node.js and npm.
Once installed, clone the repository and install its dependencies running:
$ npm install
### Using your own credentials
You will need to register your app and get your own credentials from the Spotify for Developers Dashboard.
To do so, go to [your Spotify for Developers Dashboard](https://beta.developer.spotify.com/dashboard) and create your application. In my own development process, I registered these Redirect URIs:
- http://localhost:3000 (needed for the implicit grant flow)
- http://localhost:3000/callbackOnce you have created your app, load the `client_id`, `redirect_uri` and `client_secret` into a `config.js` file.
In order to run the app, open the folder, and run its `app.js` file:
$ cd authorization_code
$ node app.jsThen, open `http://localhost:3000` in a browser.