Files
MusicAnalyser/TODO.md
google-labs-jules[bot] 6e80e97960 Implement Phase 2 Frontend with Ant Design and verify Data Ingestion
- Created `frontend/` React+Vite app using Ant Design (Dark Theme).
- Implemented `App.jsx` to display listening history and calculated "Vibes".
- Updated `backend/app/ingest.py` to fix ReccoBeats ID parsing.
- Updated `backend/app/schemas.py` to expose audio features to the API.
- Updated `README.md` with detailed Docker hosting instructions.
- Added `TODO.md` for Phase 3 roadmap.
- Cleaned up test scripts.
2025-12-24 22:51:53 +00:00

1.6 KiB

Future Roadmap & TODOs

Phase 3: AI Analysis & Insights

1. Data Analysis Enhancements

  • Timeframe Selection:
    • Update Backend API to accept timeframe parameters (e.g., ?range=30d, ?range=year, ?range=all).
    • Update Frontend to include a dropdown/toggle for these timeframes.
  • Advanced Stats:
    • Top Artists / Tracks calculation for the selected period.
    • Genre distribution charts (Pie/Bar chart).

2. AI Integration (Gemini)

  • Trigger Mechanism:
    • Add "Generate AI Report" button on the UI.
    • (Optional) Schedule daily auto-generation.
  • Prompt Engineering:
    • Design prompts to analyze:
      • "Past 30 Days" (Monthly Vibe Check).
      • "Overall" (Yearly/All-time evolution).
    • Provide raw data (list of tracks + audio features) to Gemini.
  • Storage:
    • Create AnalysisReport table to store generated HTML/Markdown reports.
    • View past reports in a new "Insights" tab.

3. Playlist Generation

  • Concept: "Daily Vibe Playlist" or "AI Recommended".
  • Implementation:
    • Use ReccoBeats or Spotify Recommendations API.
    • Seed with top 5 recent tracks.
    • Filter by audio features (e.g., "High Energy" playlist).
  • Action:
    • Add "Save to Spotify" button in the UI (Requires playlist-modify-public scope).

4. Polish

  • Mobile Responsiveness: Ensure Ant Design tables and charts stack correctly on mobile.
  • Error Handling: Better UI feedback for API failures (e.g., expired tokens).