Bundles: a show with its data in one file #70

Open
opened 2026-11-03 14:05:16 +00:00 by Weissstreifen · 0 comments

A bundle: a scene or a deck with everything it reads in one file, to upload and to load in the web player.

  • dub run -- pack quarterly writes exports/quarterly.daviz: the deck, its scenes, their CSV files and audio.
  • The format is simple to read in D and JavaScript: a line daviz-bundle 1, the main file's path, then for every
    file a line file <path> <bytes> and its bytes. Paths are relative and never leave the bundle (no ..).
  • The server unpacks it for the web player and checks it (sizes, paths, that the main file is there).
A bundle: a scene or a deck with everything it reads in one file, to upload and to load in the web player. - `dub run -- pack quarterly` writes `exports/quarterly.daviz`: the deck, its scenes, their CSV files and audio. - The format is simple to read in D and JavaScript: a line `daviz-bundle 1`, the main file's path, then for every file a line `file <path> <bytes>` and its bytes. Paths are relative and never leave the bundle (no `..`). - The server unpacks it for the web player and checks it (sizes, paths, that the main file is there).
Weissstreifen added this to the M12 Web milestone 2026-11-03 14:05:16 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Weissstreifen/daviz#70
No description provided.