paulphys / topsongs.me

Spotify playlists of your most streamed songs, likes and history (beta)

Home Page:https://spoti-top.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

topsongs.me

Self-updating Spotify playlists of your Top Songs, Likes and History (WIP)

Features

  • Spotify-like User interface
  • Playlist generation
    • Most streamed songs (4 weeks, 6 months, All time)
    • History (Last 50 played songs)
    • Liked Songs
  • Node backend for continuously updating the playlists

Built with

Structure

.
├── prisma                      # prisma database schema
├── public                      # public assets (static images)
├── src
    ├── context                 # react context wrappers
    ├── modules
        ├── app                 # app components
        ├── landing             # landing page components
    ├── pages
        ├── album               # album page
        ├── api
            ├── auth            # NextAuth logic
        ├── artist              # artist page
        ├── collection
        ├── playlist            # playlist page
    ├── styles                  # css styling
    ├── types                   # custom types
    └── utils                   # utility functions

Setup

Spotify API

PlanetScale DB

Develop locally

git clone https://github.com/paulphys/topsongs.me
cd topsongs.me
yarn
yarn dev

Environment variables

Create a .env file similar to .env.example in the root of the application and fill in all values.

Deploy to Vercel ▲

Deploy with Vercel

Add all Environment Variables from .env.example to the production build.

Within the Spotify Dashboard, configure your application with new public Redirect URI.

About

Spotify playlists of your most streamed songs, likes and history (beta)

https://spoti-top.vercel.app


Languages

Language:TypeScript 96.0%Language:CSS 2.9%Language:JavaScript 0.9%Language:Shell 0.2%