How ohenriquesilva/spottube works
SpotTube is a browser-based music recommender whose main workflow turns Cold Start star ratings into a user vector, builds a ranked and exploration-augmented feed, then updates the profile from later ratings. The dashboard visualizes the resulting state. The graph follows calls visible in the excerpts and the README’s documented workflow; it does not infer script-loading relationships or inspect unsampled files.
Main entry points: app.js App orchestration · matematica.js Vector mathematics · exploracao.js Anti-bubble exploration · dashboard.js Math dashboard
Components 11
User workflow
- App orchestration
js/app.js
Recommendation model
- Profile formation
js/perfil.js - Vector mathematics
js/matematica.js - Similarity ranking
js/recomendacao.js - Anti-bubble exploration
js/exploracao.js
Interface and insight
- Rating and feed UI
js/interface.js - Math dashboard
js/dashboard.js
Session foundation
- Music catalog
js/catalogo.js - Model configuration
js/config.js - Session state
js/estado.js
Other components
- Listener
Connections 15
- Listener → App orchestration: rates and navigates
js/app.js - App orchestration → Music catalog: looks up and validates
js/app.js - App orchestration → Profile formation: forms and updates
js/app.js - App orchestration → Session state: updates session
js/app.js - App orchestration → Similarity ranking: requests feed
- App orchestration → Anti-bubble exploration: requests feed
js/exploracao.js - Anti-bubble exploration → Similarity ranking: gets ranked items
js/exploracao.js - Similarity ranking → Vector mathematics: scores cosine
js/recomendacao.js - Anti-bubble exploration → Vector mathematics: scores candidates
js/exploracao.js - Profile formation → Vector mathematics: calculates updates
js/perfil.js - App orchestration → Rating and feed UI: renders and navigates
js/app.js - App orchestration → Math dashboard: configures and renders
js/app.js - Math dashboard → Music catalog: reads songs
js/dashboard.js - Math dashboard → Vector mathematics: computes displays
js/dashboard.js - Model configuration → Vector mathematics: sets parameters
js/matematica.js