No description
  • TypeScript 62%
  • Svelte 29.2%
  • CSS 8.2%
  • HTML 0.6%
Find a file
Alfred Lopez 674ff19a44 Lock @asanasoft/asanagi-compository 0.18.0 from the registry
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qd8iAVsBbLoMfr6tih3vDy
2026-11-28 11:47:20 -05:00
src Add people, a you screen, follows, saved edges, song-to-work links, new instruments and an accent picker 2026-11-27 19:18:09 -05:00
.env.example Scores: link PDFs saved by hand to their work's Document via dpath 2026-10-22 13:58:20 -04:00
.gitignore Scaffold: SvelteKit 3, Svelte 5, Framework7; Compository and Gremlin connection layer; MusicBrainz search 2026-10-20 23:18:53 -04:00
package-lock.json Lock @asanasoft/asanagi-compository 0.18.0 from the registry 2026-11-28 11:47:20 -05:00
package.json Move to the v3 document wire and Gremlin packed vertex ids 2026-11-27 19:11:13 -05:00
README.md Move to the v3 document wire and Gremlin packed vertex ids 2026-11-27 19:11:13 -05:00
tsconfig.json Scaffold: SvelteKit 3, Svelte 5, Framework7; Compository and Gremlin connection layer; MusicBrainz search 2026-10-20 23:18:53 -04:00
vite.config.ts Scaffold: SvelteKit 3, Svelte 5, Framework7; Compository and Gremlin connection layer; MusicBrainz search 2026-10-20 23:18:53 -04:00

Sonogram

A small social-music app built on AsanagiDB: search MusicBrainz, save what you like, and see how it all connects.

Svelte 5 + Framework7 on SvelteKit. The server talks to AsanagiDB two ways on one host and port:

  • Compository (JSON lines) stores and fetches whole documents.
  • Gremlin (WebSocket, GraphBinary) walks the links between them.

AsanagiDB Desktop serves both on 127.0.0.1:8080 by default.

Run it

cp .env.example .env   # set MUSICBRAINZ_USER_AGENT to something that identifies you
npm install
npm run dev

GET /api/health checks that both doors into AsanagiDB are open. GET /api/search?q=... searches MusicBrainz (one request per second, as its terms ask).

Notes

  • Needs AsanagiDB 3.0.0 or later and @asanasoft/asanagi-compository 0.18.0 or later. On v3 a document id is {label, id}, which Gremlin does not accept, so graph vertices keep their own packed ids as strings (never as JavaScript numbers) and are found by label and key. The key indexes are registered when the app first connects, so start from an empty database: v3 will not build them over stored data (asanagidb-admin create-index does that offline).

  • IMSLP scores are never committed (*.pdf is ignored).

Work in progress.