Skip to content

Online editing: Upload assets to s3 bucket #173

Description

@wen-templari

Currently when upload image at editing, the image was uploaded to repo. This will cause repo size increase after there are many images. I suggest we separate those images from repo, upload to external storage when edit and only keep a reference.

Image

Suggested implimentation

Since we already using Cloudflare worker to host this page, I suggest we continue to use Cloudflare R2 storage for storing images. After edit save, upload image to R2 storage, keep a reference to that uploaded asset, and sever it directly or via worker.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions