Skip to content

Proxy s3 service into a simple POST request, you can use curl, shortcut command quickly access! 将s3服务代理成简单的POST请求,可以通过curl,快捷指令快速访问!

Notifications You must be signed in to change notification settings

monlor/s3-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 file=@test.txt 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

About

Proxy s3 service into a simple POST request, you can use curl, shortcut command quickly access! 将s3服务代理成简单的POST请求,可以通过curl,快捷指令快速访问!

Resources

Stars

Watchers

Forks