FD

fanchenggang/davflare

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

107 stars 质量 81 趋势 30MIT

Cloudflare R2上的自办云驱动器——网络文件管理器+WebDAV,其上传内容被块化,到期共享链接,垃圾,缩略图,搜索和API密钥.

概览

Cloudflare R2文件管理器上 (API通过Pages函数)——每天免费10GB存储和10万引用. R2定价 此 repo 在 wrangler.toml 中设置了页面 building output dir 并且没有 Worker 主机 。 请使用 Cloudflare 按钮或 wrangler 按钮来部署工人, 即寻找工人的入口, 而失败的“ 未配置的入口 ” 。 - Chunked web上传,文件夹,搜索,拖放,图像/视频/PDF缩略图 - 共享过期或永久链接,取出代码,文件夹zip;媒体/PDF的0-JS预览,单空间预览+文本/平面复制 - :工具栏粘贴 .txt + 现有共享(过期/提取代码) - 自办的Pastebin - :文件管理器中的Ctrl/Cmd+V,图像主页,或设置 - 通过POST/api/images上传,土司副本 https:///i/{id} - :发布PDF/EPUB文件夹到站点/{slug}/ 有开放/下载量+可选封面 - :发布音频/video文件夹到站点/{slug}/ 有种子.

概述(AI 翻译)

英语

部署指南

Cloudflare R2文件管理器在Cloudflare Pages(API通过Pages函数)上——每天免费10GB存储和10万引用. R2定价

** 页,而不是工人。 ** 此重置在 [[T0] 中,没有工人 main 。 不要**** 使用“部署工人”按钮或“[T3] ”来寻找工人进入点,但“未配置的进入点”失败。

□ 截图

网格光:

网格黑暗 :

图像预览 :

共享( 过期 + 提取代码) :

□ 特性

  • 断开的网页上传、文件夹、搜索、拖放、图像/视频/PDF缩略图
  • 共享过期或永久的链接,取出代码,文件夹zip;媒体/PDF的0-JS预览,单空间预览+复制text/plain
  • QQ快粘贴**:工具栏粘贴 + .txt + 已存股票(过期/提取代码)——自办的 Pastebin
  • ** Paste 截图 — CDN **: 文件管理器中的 Ctrl/Cmd+V, 图像主页, 或设置 – 通过 [ [T6] 上传, 土司副本 [ [T7]
  • PDF库/书架:发布一个PDF/EPUB文件夹到sites/{slug}/,并带有开/下载+可选封面

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Davflare

English | 中文

· Deploy guide

Cloudflare R2 file manager on Cloudflare Pages (API via Pages Functions) — free 10 GB storage and 100,000 invocations per day. R2 pricing

Pages, not Workers. This repo sets pages_build_output_dir in wrangler.toml and has no Worker main. Do not use the Workers Deploy to Cloudflare button or wrangler deploy — that looks for a Worker entry point and fails with «entry point not configured».

Screenshots

Grid light:

Grid dark:

Image preview:

Share (expiry + extract code):

Features

  • Chunked web uploads, folders, search, drag-and-drop, image/video/PDF thumbnails
  • Share links with expiry or forever, extract code, folder zip; zero-JS preview for media/PDF, monospace preview + copy for text/plain
  • Quick paste: toolbar paste → .txt + existing shares (expiry / extract code) — a self-hosted Pastebin
  • Paste screenshot → CDN: Ctrl/Cmd+V in the file manager, Image host page, or Settings — uploads via POST /api/images, toast copies https:///i/{id}
  • PDF library / bookshelf: publish a PDF/EPUB folder to sites/{slug}/ with open/download + optional covers
  • Podcast / RSS: publish an audio/video folder to sites/{slug}/ with feed.xml + a simple player page — subscribe in any podcast app
  • Download page / Releases on R2: publish an installer/zip folder to sites/{slug}/ with name, size, SHA-256 (optional README notes)
  • Scheduled backup: Settings card copies safe davflare sync crontab lines; examples + GitHub Actions
  • Recycle bin with configurable retention (TRASH_RETENTION_DAYS)
  • WebDAV Class 1/2 at /webdav (toggleable without affecting the web UI)
  • API keys for scripted upload / download / sync, plus remote MCP at /mcp (25 tools)
  • Static sites and image host on a separate hostname (SITES_HOST), plus a GitHub Action to deploy from CI
  • Owner Settings with five persistent feature switches
  • davflare-cli, optional Chrome MV3 extension, agent layouts on R2, and an official Agent Skill (skills/davflare/)
  • Chinese / English UI

Quick start

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add fanchenggang/davflare
新手?先看 mcpskill.org 教程 →