Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

alexesprit/sorta

Repository files navigation

sorta

Web application for sorting your Spotify playlists using custom sort rules

Sorta is a web application that allows you to select and sort your Spotify playlists using customizable sort rules. For more complex cases, consider using other applications like Sortify.

An online instance is available at sorta.alexesprit.com.

Features

  • Playlist Selection: Choose from your Spotify playlists to sort
  • Custom Sort Rules: Define sorting criteria with keys like artist, album, release_date, and title
  • Flexible Ordering: Sort in ascending or descending order
  • Spotify Integration: Uses Spotify's OAuth 2.0 PKCE flow for secure authentication

Development

# Install dependencies
npm install

# Start dev server (runs on http://127.0.0.1:5173)
npm start

# Build for production
npm run build

# Run tests
npm test

# Type checking
npm run typecheck

# Linting
npm run lint
npm run lint:fix

# Check for unused dependencies/exports
npm run knip
npm run knip:fix

# Full CI check (lint + typecheck + knip + test + build)
npm run ci

# Preview production build
npm run preview

Environment Setup

Create a .env file with the following variables:

VITE_SPOTIFY_CLIENT_ID=your_spotify_client_id
VITE_SPOTIFY_REDIRECT_URI=http://localhost:5173/callback

License

Licensed under the MIT License.

About

Web application for sorting your Spotify playlists using custom sort rules

Topics

Resources

License

Stars

Watchers

Forks