Closed lidel closed 2 weeks ago
No longer relevant, js-ipfs was sunset, and 5 years later we have other toys, like https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system Modern Helia and its datastores will be tracked in https://github.com/ipfs/ipfs-companion/issues/1284
Background
datastore-level
(js-ipfs-repo/src/default-options-browser.js#L7-L10), which afaik useslevel-js
backed by IndexedDB on extension's background page.browser.storage.local
to WebExtensionsunlimitedStorage
permission, so there won't be any action required from the userCandidates
datastore-level
- (current) leveldb wrapper on top of IndexedDBdatastore-<idb-batch>
- new datastore on top of IndexedDB with batchingdatastore-<webext-storage>
- new datastore created on top ofchrome.storage
APIOut of scope:
chrome.fileSystem
– With this API, Chrome Apps can read and write to a user-selected location, but it prompts user to pick directory/file, which makes it not feasible here.TODO
ipfs.add
/ipfs.cat
on files 1k 100k 1M/10/50/100MBReferences