basedest / indexed-filesystem

Fun little project to experiment with File System Access API and IndexedDB.

Home Page:https://basedest.github.io/indexed-filesystem/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

indexed-filesystem

Fun little project to experiment with File System Access API and IndexedDB.

Description

Ok so basically you first need to grant permission to your local directory (that'll be "root" directory for app) and then its contents become available for you to see in browser. You can also change root directory any time if you wish.

example

Explanation

The IndexedDB part is needed to persistently store FileSystemDirectoryHandle so site could load it when the page's reloaded. However, you still need to grant permission every time you refresh the page. It's not my fault, it's the way things work in Chromium rn (in Firefox they simply don't work at all)

About

Fun little project to experiment with File System Access API and IndexedDB.

https://basedest.github.io/indexed-filesystem/


Languages

Language:TypeScript 83.4%Language:JavaScript 10.4%Language:HTML 6.0%Language:CSS 0.3%