Skip to content

A caching/server-side URL rewriting system for S3 services using Cloudflare Workers!

License

Notifications You must be signed in to change notification settings

MagicCap/s3-workers-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s3-workers-js

A caching/server-side URL rewriting system for S3 services using Cloudflare Workers!

Setup

  1. Set bucketHost in index.js to the host for your bucket.
  2. Deploy to a CloudFlare worker.
  3. Enjoy!

Caveats

Due to how AWS4 works, you cannot do administrative actions using this worker. Therefore, I have restricted it to GET requests only and Headers are erased during the request. This isn't a big deal since this worker is really designed for making a neat URL for your users. Your CI can go directly to your S3 provider.

About

A caching/server-side URL rewriting system for S3 services using Cloudflare Workers!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published