No description
- Python 53.3%
- HTML 27.8%
- JavaScript 9.3%
- CSS 8.9%
- Shell 0.4%
- Other 0.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
|
||
| .forgejo/workflows | ||
| blendify | ||
| core | ||
| .dockerignore | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| .python-version | ||
| Caddyfile | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| LICENSE | ||
| manage.py | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
Blendify Web
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
- Log in with Spotify (OAuth)
- Select a playlist you own or can modify
- Enter two or more themes (add more with the plus button)
- (Optional) Toggle "Playlist Rename" to let AI name your playlist
- Submit to blend your themes into a new playlist!
Customization
- Change playlist length: Set
PLAYLIST_LENGTHin.env - Change OpenAI model/temperature: Set
OPENAI_MODELandOPENAI_TEMPERATUREin.env