Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use git interface for web uploads #3300

Open
nellh opened this issue Jan 27, 2025 · 0 comments
Open

Use git interface for web uploads #3300

nellh opened this issue Jan 27, 2025 · 0 comments

Comments

@nellh
Copy link
Contributor

nellh commented Jan 27, 2025

What would you like to see added?

The command line tools now use our git interface, which is faster and provides client side checksums for uploads. We should adopt this process for browser based uploads and revamp some of the behavior of the uploader.

Most of the command line tools implementation of this is browser compatible, steps needed for implementation:

  1. Use the filesystem access API for validation.
  2. Modularize the worker implementation as a separate JSR package for the React app and the command line tools to consume.
  3. Implement a new uploader component that uses this worker for transfers.

We may want to cache and sync the git repo itself somehow on the client to avoid extra transfers when uploading single files, for example. It's much more efficient to fetch and fast forward the local copy than to refetch each time.

Alternatives

No response

Do you have any interest in helping implement the feature?

Yes

Additional information / screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant