Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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`