How gorantlasadwik/sync-tunes works
Project type and purpose
• Sync Tunes is a full-stack web application built on Flask.
• Purpose: provide AI-powered, cross-platform playlist synchronization between Spotify and YouTube Music, with secure OAuth, detailed logging, and user isolation.
File structure
• Top-level files:
• app.py – main Flask app/routes
• init_db.py – database schema creation
• requirements.txt, env.example – dependencies and config
• Procfile, render.yaml – deployment on Render.com
• templates/ – Jinja2 HTML templates (login, dashboard, playlist, logs, etc.)
• No separate “static/” folder shown but Bootstrap and custom CSS likely served via templates or CDN.
README for additional insights
• Backend uses Flask, SQLAlchemy ORM, Flask-Login, bcrypt.
• External integrations: Spotify Web API, YouTube Data API/YouTube Music API, Google Gemini AI, Groq AI.
• Deployment: Render.com with Gunicorn, PostgreSQL.
• Architecture: MVC pattern (Flask views + Jinja2 templates + ORM models), layered service calls, lazy loading, caching, error handling.