chkdua / cf-worker-upload

Handling File Uploads with Cloudflare Workers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upload test for Cloudflare

It's a simple worker to test upload process in Cloudflare. This will get the file and calculate the SHA-1 hash of it and return it to you.

Deploy

cp wrangler.toml.example wrangler.toml
wrangler login
wrangler deploy

Usage - CLI

curl -X POST -F 'file=@file.img' https://your.worker/

Usage - Web

Just open your browser and go to your deployed worker.

sc

Support πŸ’›

Donate with Bitcoin

Donate with Ethereum

Contributing 🀝

Don't be shy and reach out to us if you want to contribute πŸ˜‰

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Issues

Each project may have many problems. Contributing to the better development of this project by reporting them. πŸ‘

About

Handling File Uploads with Cloudflare Workers


Languages

Language:JavaScript 100.0%