Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iiop123/dingding
丁丁快传-基于cloudflare workers的文件传输工具
https://github.com/iiop123/dingding
cloudflare-workers serverless
Last synced: 11 days ago
JSON representation
丁丁快传-基于cloudflare workers的文件传输工具
- Host: GitHub
- URL: https://github.com/iiop123/dingding
- Owner: iiop123
- License: mit
- Created: 2022-12-07T07:05:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T04:59:51.000Z (over 1 year ago)
- Last Synced: 2024-08-01T08:08:13.863Z (3 months ago)
- Topics: cloudflare-workers, serverless
- Language: Vue
- Homepage:
- Size: 459 KB
- Stars: 175
- Watchers: 3
- Forks: 53
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloudflare - dingding
README
## 丁丁快传
> ### 一款基于cloudflare workers的文件传输工具,文件存储在cloudflare KV中
---
> ### 主要功能:
- [x] 拖拽上传
- [x] 多文件上传
- [x] 定时删除
- [x] 二维码接收
- [x] 文件口令传输> ### 功能截图
主页
文件上传成功信息页
> ### 如何使用 :tw-1f334:
```
#先安装Cloudflare Workers.命令行工具wrangler
npm install -g wrangler#登录cloudflare
wrangler login#下载代码
git clone https://github.com/iiop123/dingding.git#执行npm i 安装库
cd dingding && npm i#修改wrangler.toml中 id 为你创建的KV数据库id
kv_namespaces = [
{ binding = "LINK", id = "111",preview_id='111'}
]#最后执行publish推送到workers即可
wrangler publish
```
>### 关于后台
#### 可以访问 /list.html 页面查看已经上传的数据,密码为123 可以在 src/index.js文件中修改密码------------
>### 关于过期时间的配置
#### 可以修改 src/index.js中 const exp=86400 的值单位为秒