Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hatamiarash7/cf-worker-upload
- Owner: hatamiarash7
- Created: 2023-08-05T07:25:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T20:23:18.000Z (4 months ago)
- Last Synced: 2024-10-20T07:04:43.541Z (4 months ago)
- Topics: cloudflare, cloudflare-workers, upload, upload-file, upload-testing
- Language: JavaScript
- Homepage:
- Size: 241 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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. 👍