https://github.com/lyonbot/cf-drop
A fast and simple tool to store and share temporary files via Cloudflare Workers.
https://github.com/lyonbot/cf-drop
Last synced: 5 months ago
JSON representation
A fast and simple tool to store and share temporary files via Cloudflare Workers.
- Host: GitHub
- URL: https://github.com/lyonbot/cf-drop
- Owner: lyonbot
- Created: 2025-01-02T05:09:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-08T12:34:26.000Z (over 1 year ago)
- Last Synced: 2025-10-12T12:32:13.808Z (8 months ago)
- Language: TypeScript
- Size: 532 KB
- Stars: 59
- Watchers: 2
- Forks: 23
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cloudflare - cf-drop
README

cf-drop
🗃️ Private File/Text Box — Deploy on Cloudflare Workers

- ⚡ Serverless on Cloudflare Worker
- 📱 PWA ready! for mobile
- 🔑 Password protected
- 📦 Download as Tarball
- 🚚 Resumable download link
- 🔗 Shareable download link
## 🚀 Quick Start
Follow these steps to get up and running quickly:
(Prerequisites: Node.js >= 20, pnpm)
```sh
pnpm install
npx wrangler r2 bucket create cf-drop
npx wrangler d1 create cf-drop
# 📝 edit wrangler.toml
# 1. write down the database_id
# 2. set the password
# then...
npm run deploy
```
## 🎨 Customize
Make `cf-drop` your own by customizing the following:
- 🔑 **Set password** via `./wrangler.toml`
- 🎨 **Change theme color** in `./web/public/manifest.json`
- 💡 **Find `database_id`** from Cloudflare Dashboard - D1 SQL page
- **Development** - `pnpm dev`