sonda/web
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 94dbf57544 feat(mixes): playlists made for a listener, by listening and by genre
GET /mixes lists the mixes a listener has, GET /mixes/{id}?variant= gives one with its
songs, and POST /mixes/{id}/playlist keeps one as a playlist of their own.

- Genre mixes: one for each genre with at least 30 songs by 4 artists, the genres the
  listener plays most first. Spellings that differ by case or punctuation are one
  genre (jazz+funk, jazz-funk); other and unknown are not genres.
- Made for the listener: Your favourites, Rediscover (liked artists not played for a
  month; both need history) and New to you (songs never played).
- A mix has up to 50 songs, at most 3 by one artist, never two of an artist in a row,
  picked by weighted chance (artist preference, never-played, less if played lately;
  skipped lately and avoided artists are out). The seed is user, mix, day and variant,
  so a mix is steady for a day and another is one variant away.
- Worked out when asked, from the listener's own history and the genre tags; nothing is
  stored and nothing leaves the server.

internal/mixes holds the selection and the service, internal/storage/mixes.go the
queries (SQLite and PostgreSQL). Spec, contract test, README and web types follow;
the web app comes separately.

Closes #95
2026-11-12 17:25:49 +01:00
..
public feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
scripts feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
src feat(mixes): playlists made for a listener, by listening and by genre 2026-11-12 17:25:49 +01:00
.gitignore feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
.oxlintrc.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
components.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
index.html feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
package-lock.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
package.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
tsconfig.app.json feat(web): four themes with a contrast test 2026-11-12 11:17:41 +01:00
tsconfig.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
tsconfig.node.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
vite.config.ts feat: embed the built web app in sondad behind the webui build tag 2026-11-12 15:56:34 +01:00