Open yarikoptic opened 8 months ago
Downloader? Possibly we were talking about deno-based CLI that is in progress from @nellh?
We have a somewhat limited downloader built into OpenNeuro that's used in Blink browsers. It uses the local filesystem API to request access to write outside of the browser sandbox and then creates the dataset file tree. There's a lot of limitations to this feature and the main dependency, the filesystem permission API, has not made it to browsers other than the Blink engine (and no sign it ever will).
There's also the Deno CLI, which is a pure JavaScript implementation that downloads git-annex datasets. This can download a dataset in a browser but it writes to indexeddb - so it's not really useful for a large dataset where you want to work with annexed object or working with the dataset outside of a web app.
@effigies , on our ride to/from BOS you mentioned that you settled down on an implementation of a JS downloader for OpenNeuro compatible with Chrome. Could you please point me to it?