Skip to content

ruanimal/r2-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Run Server

uvicorn uploader:app

Nginx Config (Optional)

server {
    location /upload {
        proxy_pass         http://127.0.0.1:8000;
        proxy_set_header Host $host;
    }
}

Upload Image

args:

  • account_id: required
  • access_key_id: required
  • secret_access_key: required
  • bucket: required
  • file: required
  • key_pattern: optional
  • url_prefix: optional

MWeb Config

About

Cloudflare R2 file uploader, MWeb image bed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages