Skip to content

Spotify Sort - TS: Fast, efficient album sorting by color using Qwik framework. Perfect Lighthouse score. New version in TypeScript

License

Notifications You must be signed in to change notification settings

Benny-Nottonson/spotifySort-Qwik

Repository files navigation

GitHub Repo License Lighthouse Score Framework Built with TypeScript Maintainer


About

This project is a new version of an old project that was originally coded in NextJS/ThreeJS. It has now been rewritten solely using the Qwik framework. The website provides a Python script that sorts Spotify albums by the color of their album art. It utilizes CCV's (Color Coherence Vectors), caching, and multithreading to achieve efficient sorting.

The original paper, "Comparing Images Using Color Coherence Vectors" by Greg Pass, Ramin Zabih, and Justin Miller, served as the basis for this project. It explores the use of color histograms and spatial information to compare images.

For more details about the project, visit the GitHub repository.

Installation

To use this project, follow these steps:

  1. Clone the repository: git clone https://github.com/Benny-Nottonson/spotifySort-Qwik.git
  2. Install the dependencies: npm install
  3. Configure your Spotify API credentials in the auth-callback file
  4. Run the project: npm start

Features

  • Sort Spotify albums by the color of their album art
  • Efficient sorting using CCV's, caching, and multithreading
  • Perfect Lighthouse score for optimal performance
  • Written entirely in TypeScript using the Qwik framework

Usage

To sort Spotify albums by color, follow these steps:

  1. Open the website
  2. Log in with your Spotify account
  3. Authorize the application to access your Spotify data
  4. Enter your desired sorting criteria (e.g., primary color, secondary color)
  5. Click the "Sort" button to initiate the sorting process
  6. View the sorted albums on the website

License

This project is licensed under the MIT License. See the LICENSE file for more information.


Feel free to contribute to this project by creating issues or submitting pull requests. If you have any questions, you can reach out to the maintainer, benny-nottonson, via their GitHub profile.

Enjoy sorting your Spotify albums by color with Spotify Sort - TS!