Skip to content

Add options to use OPFS #1588

@Ranjith-KumarT-IBM

Description

@Ranjith-KumarT-IBM

Hi there,

Thanks for this awesome project!

I would like to know if it is possible to add options to use OPFS, it quite new but most browser as of now supports opfs.

why do we need opfs ?
There are few niche cases where native fs would be far better and resilient than indexed DB like video streaming and recording.

Ref:
https://github.com/whitphx/stlite?tab=readme-ov-file#file-persistence-with-indexeddb-backend
https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system
https://pyodide.org/en/stable/usage/file-system.html#experimental-using-the-native-file-system-in-the-browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions