zarrita.js icon indicating copy to clipboard operation
zarrita.js copied to clipboard

Support for icechunk

Open alxthm opened this issue 2 months ago • 1 comments

Thanks for building this library ! Being able to read Zarr data directly from a javascript client without having to setup an intermediary server/API is really helpful, and I like the simplicity of zarrita.js (minimal dependencies, focus on read-only patterns).

I was wondering if there are plans to add support for icechunk Zarr stores?

(I don't know the amount of work this represents)

alxthm avatar Oct 07 '25 14:10 alxthm

Hi there, icechunk implementation isn't currently on the roadmap (but mostly because I don't know what an implementation would entail). My understanding is that icechunk is implemented as a custom store. The reference implementation is written in Rust, so there might be a way to compile to WASM and wrap in our own Readable interface. My preference would be for that to live outside of this project and brought in as a separate library used along side zarrita:

import { Store } from "icechunk"; // does not exist!
import * as zarr from "zarrita";

const store = Store.fromUrl("...");
const grp = await zarr.open(store, {kind:"group"})

manzt avatar Oct 22 '25 15:10 manzt