No description
  • Python 53.3%
  • HTML 27.8%
  • JavaScript 9.3%
  • CSS 8.9%
  • Shell 0.4%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
nothaldu 927620fb85
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
bump
2026-04-06 16:11:05 -07:00
.forgejo/workflows bump 2026-04-06 16:11:05 -07:00
blendify fix: accessing page when not logged in 2025-06-19 03:09:34 -04:00
core mobile bg color was crazy 2025-07-03 15:52:38 -04:00
.dockerignore Dockerize 2025-06-17 03:10:03 -04:00
.env.example add back in debug config toggle 2025-06-17 22:59:01 -04:00
.gitattributes LF normalization 2025-06-17 03:45:54 -04:00
.gitignore Dockerize 2025-06-17 03:10:03 -04:00
.python-version initial commit 2025-06-17 00:49:34 -04:00
Caddyfile Dockerize 2025-06-17 03:10:03 -04:00
docker-compose.yml updated dockrhub image name 2025-06-18 23:12:40 -04:00
Dockerfile Dockerize 2025-06-17 03:10:03 -04:00
entrypoint.sh copy the env template if it's missing 2025-06-17 03:36:04 -04:00
LICENSE Create LICENSE 2025-06-17 00:58:19 -04:00
manage.py initial commit 2025-06-17 00:49:34 -04:00
pyproject.toml new generated name now registers in db 2025-06-23 19:04:07 -04:00
README.md . 2025-06-18 05:04:43 -04:00
uv.lock new generated name now registers in db 2025-06-23 19:04:07 -04:00

Blendify Web

Python Django Bootstrap Spotify ChatGPT MIT License

Blendify Web is a Django web app that lets users blend multiple music themes into a single Spotify playlist using OpenAI and the Spotify API. Users can log in with Spotify, select a playlist to modify, enter themes, and generate a new playlist with a custom name and description.


Features

  • Spotify OAuth login
  • Dynamic theme input (add/remove as many as you want)
  • Option to auto-rename the playlist using AI
  • OpenAI-powered playlist generation
  • No duplicate songs in the final playlist
  • Admin panel for managing playlists and songs

Setup

1. Clone the repo

git clone https://github.com/yourusername/blendify-web.git
cd blendify-web

2. Set up environment variables

Copy the example file and fill in your secrets:

cp .env.example .env

Edit .env and set your keys:

DJANGO_SECRET_KEY=your-django-secret-key
SPOTIFY_CLIENT_ID=your-spotify-client-id
SPOTIFY_CLIENT_SECRET=your-spotify-client-secret
OPENAI_API_KEY=your-openai-api-key
OPENAI_MODEL=gpt-3.5-turbo
OPENAI_TEMPERATURE=0.7
PLAYLIST_LENGTH=20
DJANGO_DEBUG=True

3. Run migrations

uv run manage.py migrate

4. Build static files

uv run manage.py collectstatic

5. Run the server

uv run daphne blendify.asgi:application

Usage

  1. Log in with Spotify (OAuth)
  2. Select a playlist you own or can modify
  3. Enter two or more themes (add more with the plus button)
  4. (Optional) Toggle "Playlist Rename" to let AI name your playlist
  5. Submit to blend your themes into a new playlist!

Customization

  • Change playlist length: Set PLAYLIST_LENGTH in .env
  • Change OpenAI model/temperature: Set OPENAI_MODEL and OPENAI_TEMPERATURE in .env