Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 13 days 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 (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-01-21T12:15:33.000Z (21 days ago)
- Last Synced: 2025-01-21T12:29:19.794Z (21 days ago)
- Language: TypeScript
- Size: 298 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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`