Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 798 Bytes

README.md

File metadata and controls

55 lines (40 loc) · 798 Bytes

Why

For Apple Shotcuts or MWeb APP or Bash scripts

Apple Shotcuts

https://www.icloud.com/shortcuts/936ea0c7a9404a0ebf0cbabf9d522149

How to use

Deploy

docker run -d \
  --restart unless-stopped \
  --name s3-proxy \
  -e S3_ACCESS_ID=xxx \
  -e S3_SECRET_KEY=xxx \
  -e S3_REGION=xxx \
  -e S3_BUCKET_NAME=xxx \
  -e S3_ENDPOINT=xxx \
  -e S3_URL_PREFIX=xxx \
  -e HTTP_USERNAME=xxx \
  -e HTTP_PASSWORD=xxx \
  -p 8080:8080 \
  ghcr.io/monlor/s3-proxy:main

Upload by curl

curl -X POST -u foo:bar -F [email protected] localhost:8080/upload

Command line tool

install s3-proxy (For Mac)

brew tap monlor/taps
brew install monlor/taps/s3-proxy

Config

s3-proxy

Typora

add custom command

s3-proxy