ChainSafe / ChainSafe/ui-monorepo

[Files] Allow the user to upload files of any size.

Open
#2,099 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
50
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Media in the form of videos and albums frequently get larger in size than 2 GB, and I find that the 2 GB limit is rather small and inconvenient. The user could indeed use ChainSafe Storage for storing files larger than 2 GB, but this would be inconvenient, since a user's repository of files would have to be split across two different apps. Instead, the limit should ideally be lifted entirely.

Describe the solution you'd like
I'm not too keen on the technicalities given my very limited background on how the project works behind the scenes, but perhaps -- given that a file larger than 2 GB cannot be encrypted -- it would be possible to chunk the file during upload if it is larger than 2 GB, store it in chunks, but show the user the file as one whole in the UI. In the file information, the user would be able to see the CIDs of the chunks the file is broken up into.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the upload, encryption, and file-information entry points, then determine where the 2 GB limit is enforced and how stored files are represented. Define how chunked files would be uploaded, displayed as one file, and expose their chunk CIDs; done means uploads larger than 2 GB work without breaking encryption or the existing UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cloud, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.