Phase 3: HTMX & Alpine.js integration, router refactoring, and UI modernization
CI / Test (Python 3.11) (push) Has been cancelled
CI / Test (Python 3.12) (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Type Check (push) Has been cancelled
CI / Summary (push) Has been cancelled

- Modernized the frontend with HTMX for server-driven UI and Alpine.js for client state.
- Refactored anime, player, and recommendation logic into modular routers.
- Updated README.md to reflect the latest project state and technologies (v2.4).
- Added Plyr.io for an improved streaming experience.
- Improved project structure with componentized templates.
- Added Playwright and Vitest configuration for frontend testing.
This commit is contained in:
root
2026-03-26 10:34:26 +00:00
parent a684237725
commit 9f85908ff3
31 changed files with 3413 additions and 2201 deletions
+2
View File
@@ -214,6 +214,7 @@ class RecommendationEngine:
if not any(anime_lower == dl.lower() for dl in downloaded_anime):
recommendations.append({
**anime,
'cover_image': anime.get('cover_image'),
'recommendation_reason': f"Similaire à {anime_name}",
'relevance_score': 0.9
})
@@ -237,6 +238,7 @@ class RecommendationEngine:
recommendations.append({
**anime,
'cover_image': anime.get('cover_image'),
'recommendation_reason': 'Nouveau de la saison' + (' (vos genres!)' if genre_match else ''),
'relevance_score': 0.8 if genre_match else 0.6
})