Monad-Music Svelte Themes

Monad Music

Play with playlists. A Cover Art Game, a Playlist-generator and some listening analzying

WHAT IS DOES

You can visit a live version at Monad Music or see some screens below.

The page consists of mainly 3 parts, A cover art game, a playlist generator and an analyzer of the users music.

COVER ART GAME

Insert whatever Spotify playlist url or id and the game will randomly select cover art from that list, then its up to the user to guess is the right one(there will be maximum 10 of questions). To make it harder you can adjust the difficulty and then you will be shown a cropped version of the album. Perfect for quiz-nights with friends!

ULTIMATE PLAYLIST

This creates and automaticly add new playlist to your account with the music that the user has listed to the most over through out the years. The aim was to generate a list which contains your most everlasting hits on spotify. It will combine songs that has been top hits each year aswell as hits and has shown up over diffrent years.

ANALYZE YOUR YEARS ON SPOTIFY

A short and simple way to show what music the user seems to have been most into over their years on Spotify. Lists the best artist, albums and songs aswell as what seems to be the most popular genres over time.

This repo wont be able to be publised beyond Spotify developer mode without some changes and the removal of the Cover Art Game. Since it will violate the Spotify Policy.

SCREEN SHOTS

GET STARTED

Spotify Developer

First you will need to create a new app over at Spotify Developer. For more information about the hows, visist the Spotify Developer Documentation.

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Environment varibles (.env)

Place your .env file a root of your project

VITE_SPOTIFY_CLIENT_ID=
VITE_REDIRECT_URL=

The client_id you will get from the Spotify app as well as deside your own redirect_url

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Top categories

Loading Svelte Themes