1. 8
    1. 3

      https://github.com/GoogleChromeLabs/browser-fs-access is a nice library that abstracts over the newer chrome-only APIs and the traditional approaches depending on what’s available

      1. 3

        I half-wrote a project recently that used the File System{, Access} APIs with wasm-bindgen and Rust to inspect Restic backups from your local filesystem inside your web browser. I wanted to get to grips with Restic internals to evaluate what I thought of it as a disaster-recovery backup system.

        It all works surprisingly nicely on Chromium, which at the time of writing was the only browser to support the showDirectoryPicker() function. The only thing I was missing was the ability to seek within files, which would have been a nice feature to reduce memory usage when dealing with large packfiles.