Browser Using the File System Access API
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- database
調査の方向性
まず、既存の IDBBlockstore と IDBDatastore の実装を Node.js の blockstore-fs インターフェースと比較します。File System Access API のドキュメントと、ブラウザーおよびセキュリティ上の制約を確認します。完了の条件は、ブラウザー互換の blockstore-FS、IndexedDB フォールバック、そしてサポート、パフォーマンス、永続性に関する設計上の判断が確定していることです。
索引モデルが issue の本文から書いたものです。
説明
Description:
Currently, Helia uses IndexedDB-based blockstore/datastore (IDBBlockstore and IDBDatastore) in the browser. While these work, IndexedDB has limits on storage size and performance. I propose adding a new blockstore implementation for browsers that leverages the File System Access API. This would allow users to choose a local folder for storing blocks, offering:
- Larger storage capacity: Bypassing some IndexedDB limitations.
- Better persistence and backup: Data is saved as files on the local filesystem, making it easier to back up or transfer.
- Potential performance improvements: Direct filesystem access might be faster for some operations.
Implementation:
- Create a blockstore-FS that follows a similar interface to the Node.js blockstore-fs, but is adapted for the browser using the File System Access API.
- Provide a fallback to IndexedDB if the File System Access API is not supported.
Open Questions:
I do not fully understand what limitations or trade-offs might arise with this approach. I would love to hear opinions and suggestions from the community on potential challenges, such as issues with cross-browser support, performance, or security. What do you think guys? 🤔
Potential Benefits:
- More flexibility for apps with high storage needs.
- Easier backup and transfer of stored data.
- Improved user experience on supported browsers (e.g., Chrome, Edge).
Feedback and discussion on design details and potential limitations would be greatly appreciated.
- 主要言語
- TypeScript
- スター
- 39
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipfs/js-stores のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
need/triage
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
feat: create new core data & blockstore that acts as a cache/buffered store再び着手できるかも @SgtPooki が 1046 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdif/medium effort/days kind/enhancement P1 status/in-progress
-
need/triage
難易度 1/5 1時間未満 初心者へのやさしさ 45/100
-
datastore-idb .query doesn't work as expected再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンkind/bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
software-mansion/argent#1946 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
podman-desktop/podman-desktop#20216 ·
メンテナーはふだん 1 日以内に返信
-
[Type] Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
WordPress/ai#1386 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
omdsh-dev/DSH-better-sidebar#1205 ·
メンテナーはふだん 3 日以内に返信