Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hatamiarash7/cf-worker-upload

Handling File Uploads with Cloudflare Workers
https://github.com/hatamiarash7/cf-worker-upload

cloudflare cloudflare-workers upload upload-file upload-testing

Last synced: 4 months ago
JSON representation

Handling File Uploads with Cloudflare Workers

Awesome Lists containing this project

README

        

# 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

```bash
cp wrangler.toml.example wrangler.toml
wrangler login
wrangler deploy
```

## Usage - CLI

```bash
curl -X POST -F '[email protected]' https://your.worker/
```

## Usage - Web

Just open your browser and go to your deployed worker.

![sc](.github/sc.png)

## Support 💛

[![Donate with Bitcoin](https://img.shields.io/badge/Bitcoin-bc1qmmh6vt366yzjt3grjxjjqynrrxs3frun8gnxrz-orange)](https://donatebadges.ir/donate/Bitcoin/bc1qmmh6vt366yzjt3grjxjjqynrrxs3frun8gnxrz)

[![Donate with Ethereum](https://img.shields.io/badge/Ethereum-0x0831bD72Ea8904B38Be9D6185Da2f930d6078094-blueviolet)](https://donatebadges.ir/donate/Ethereum/0x0831bD72Ea8904B38Be9D6185Da2f930d6078094)

## 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. 👍