No description
This repository has been archived on 2024-12-08. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 98.3%
  • Dockerfile 1.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Renovate Bot 0f4782c7c0
Update dependency node to v22 (#218)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz>
Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz>
2024-11-02 08:27:52 -04:00
.forgejo/workflows Update docker/build-push-action action to v6.9.0 (#207) 2024-10-05 07:13:57 -04:00
src Update non-major devDependencies (#193) 2024-09-14 12:25:47 -04:00
.dockerignore Add Dockerfile for production (#7) 2023-11-26 23:05:09 -05:00
.gitignore Add Dockerfile for production (#7) 2023-11-26 23:05:09 -05:00
biome.json Update dependency @biomejs/biome to v1.9.4 (#211) 2024-10-19 13:47:31 -04:00
CODE_OF_CONDUCT.md Convert to server only (#2) 2023-11-26 12:15:27 -05:00
compose.yaml Add Dockerfile for production (#7) 2023-11-26 23:05:09 -05:00
Dockerfile Update dependency node to v22 (#218) 2024-11-02 08:27:52 -04:00
jest.config.json Convert to server only (#2) 2023-11-26 12:15:27 -05:00
LICENSE Create LICENSE 2018-05-26 08:44:00 -04:00
package-lock.json Update non-major devDependencies (#217) 2024-11-02 02:45:36 -04:00
package.json Update non-major devDependencies (#217) 2024-11-02 02:45:36 -04:00
README.md Bug fixes found while making client (#6) 2023-11-26 16:58:23 -05:00
renovate.json Convert to server only (#2) 2023-11-26 12:15:27 -05:00
tsconfig.json Use shared linting setup (#116) 2024-05-27 19:05:50 +00:00

Spotify AutoPlaylists Server

A fork of the original spotify playlists app. This contains all of the server side code. It runs a graphql server that connects to a postgres database to manage sessions, as well as runs recurring jobs to update playlists.

This fork maintains most of the original logic, but migrates to postgres and updates to use typescript.

Available here

This project uses postgres

./server

./routes

Handle the API

./server/Playlists

mostPlayed.js

Updates a Spotify playlist based on the most played Last.FM tracks

recentlyAdded.js

Updates a Spotify playlist based on recently added Spotify tracks

Playlist.js

The playlist parent class, contains everything the app needs for making/editing/clearing/updating spotify playlists

Config

The app is configured though environment variables. A full list is visible in typings/index.d.ts