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

Implement CLI upload flow in front end #154

Closed
SlnPons opened this issue Oct 30, 2024 · 4 comments
Closed

Implement CLI upload flow in front end #154

SlnPons opened this issue Oct 30, 2024 · 4 comments

Comments

@SlnPons
Copy link
Collaborator

SlnPons commented Oct 30, 2024

Objective
Develop the FE for the upload flow to enable users to sign and upload a website on chain.

How to

@thomas-senechal
Copy link
Member

@pivilartisant

You can use the UploadManager for the chunk batches upload. It takes a callback that is called when an operation is updated. You have an example of the UploadManager in use here

I highly recommand you to check the cli upload flow to reuse as much as possible for the front end

@pivilartisant
Copy link
Collaborator

@pivilartisant

You can use the UploadManager for the chunk batches upload. It takes a callback that is called when an operation is updated. You have an example of the UploadManager in use here

I highly recommand you to check the cli upload flow to reuse as much as possible for the front end

I'm wondering for this first build, should i setup a wallet connection or generate a key pair with a yaml file ? i'm guessing droppping the yaml in the website is not the best in terms of security ?

@pivilartisant pivilartisant changed the title Create the upload flow Implement CLI upload flow Nov 6, 2024
@pivilartisant
Copy link
Collaborator

pivilartisant commented Nov 12, 2024

Encountering one main difficulty, fs is not compatible with browsers.... this could have a big impact on the dev time needed.

Here is the main solution i'm exploring : FILE API

As of tuesday 12th, i'm focusing on uploading a single html file, i ignore how we will handle zip files.

@thomas-senechal thomas-senechal changed the title Implement CLI upload flow Implement CLI upload flow in front end Nov 18, 2024
@pivilartisant
Copy link
Collaborator

#168

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

3 participants