Warning
The repo is archived and no longer maintained. It is recommended to use the S3 API of R2 for uploading and publish it through Custom Domain.
PicGo plugin for cmj2002/CF-R2-ImageBed
There are 3 configuration options:
remoteURL
: the remote URL of the CF-R2-ImageBed Worker. Don't misshttps://
at beginning or/
at the end.secret
: the secret of the CF-R2-ImageBed Worker.uploadPath
: the path of the uploaded images. That must be contained in theallowPaths
in the config of Worker.
The file you upload will be place at
/uploadPath/{year}/{month}/{date}{hour}{minute}{second}{i}.{extname}
, where{i}
is the index if you upload multiple images at the same time.