feat(driver): add Cloudflare Image Bed support#2427
Open
ZZ0YY wants to merge 6 commits intoOpenListTeam:mainfrom
Open
feat(driver): add Cloudflare Image Bed support#2427ZZ0YY wants to merge 6 commits intoOpenListTeam:mainfrom
ZZ0YY wants to merge 6 commits intoOpenListTeam:mainfrom
Conversation
Member
|
可能违反使用政策 |
Author
不好意思 不熟悉流程,急于询问相关要求 所以提了个 issue。入门试一试,前端构建文件忘记弄回去了 |
Author
应该没有吧,单纯看使用者使用什么存储后端,比如我自己是用 S3和 Cloudflare 自己的对象存储,完全合规。较少使用Huface 和 telegram 存储文件 |
- Rename driver identifier and directory to 'cloudflare_imgbed' for consistency. - Remove invalid 'replace' directive in go.mod. - Restore accidentally modified/deleted files in public/dist. - Update driver registration in drivers/all.go. Co-authored-by: Copilot <copilot@github.com>
Author
xrgzs
reviewed
May 1, 2026
xrgzs
reviewed
May 1, 2026
Co-authored-by: Copilot <copilot@github.com>
…tion with improved error handling and pagination
Author
Author
|
不好意思 刚刚在调试 build 工作流 拉 snap 老是不成功 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description / 描述
目前实现了列表和下载功能,上传功能后续再做,先提一个 PR,看看意见
Add a new storage driver for Cloudflare Image Bed https://github.com/MarSeventh/CloudFlare-ImgBed
(a popular image hosting solution based on Cloudflare Workers & KV/D1).
Features implemented:
RootPath(subdirectory) mounting.为 Cloudflare Image Bed
https://github.com/MarSeventh/CloudFlare-ImgBed
(基于 Cloudflare Workers 和 KV/D1 的图床方案)新增存储驱动。
实现功能:
Motivation and Context / 背景
Cloudflare Image Bed is a lightweight and free-tier-friendly image hosting tool. Integrating it into OpenList allows users to manage their Cloudflare-based image assets alongside other storage services.
Cloudflare Image Bed 是一个轻量且对免费用户友好的图床工具。通过将其集成到 OpenList,用户可以方便地与其他存储服务一起管理其在 Cloudflare 上的图片资产。
Relates to #376 (Add more storage drivers)
How Has This Been Tested? / 测试
Environment: Go 1.24, Windows 10.
Manual Test:
RootPath.Debug: Used
restydebug mode to ensure HTTP requests/responses are handled correctly.环境:Go 1.24, Windows 10。
手动测试:
调试:开启
resty的调试模式,确保 HTTP 请求和响应逻辑无误。Checklist / 检查清单
我已阅读 CONTRIBUTING 文档。
go fmt.我已使用
go fmt格式化提交的代码。我已为此 PR 添加了适当的标签。
我已相应更新了相关仓库。