Commit Graph

28 Commits

Author SHA1 Message Date
axibayuit
7ef6fd48ac feat: add HuggingFace storage channel support
- Add HuggingFace API wrapper class (huggingfaceAPI.js)
- Support upload, download, delete operations via HuggingFace Hub API
- Support public repos (unlimited storage) and private repos (100GB limit)
- Private repos: server proxies requests with Authorization header
- Auto-create repo if not exists (with write token)
- Add HuggingFace to auto-retry channel list
- Environment variables: HF_TOKEN, HF_REPO, HF_PRIVATE
- Support load balancing for multiple HuggingFace channels
2025-12-30 17:46:11 +08:00
axibayuit
5393e04631 feat(discord): add delete message support for Discord channel 2025-12-30 15:57:17 +08:00
axibayuit
155aacab63 perf: 优化容量统计,从索引元数据读取,减少 KV 写入操作 2025-12-29 23:20:04 +08:00
axibayuit
3d77585ec5 feat: add storage quota limit for S3/R2 channels
- Add quota counter tracking (usedMB, fileCount) per channel
- Filter channels by quota threshold in fetchUploadConfig()
- Update quota on upload (endUpload) and delete
- Add /api/manage/quota API for stats and recalculation
- Fix null check in delete when file record not found
- Fix R2 channel name from hardcoded to actual channel.name
2025-12-29 19:55:20 +08:00
MarSeventh
4ddfd58bc5 Feat:后端接口跨域请求处理逻辑优化 2025-12-25 19:51:36 +08:00
初衷
9d9de6760a fix:所有模块导入/导出的兼容性问题 2025-08-13 19:09:01 +08:00
初衷
d6899847e0 fix:修复更多兼容方法 2025-08-13 17:56:34 +08:00
初衷
2589927def feat:现有的 KV 存储数据迁移到 D1 数据库 2025-08-13 16:26:04 +08:00
MarSeventh
63d1d1edca Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-28 22:28:12 +08:00
MarSeventh
fc3629a1cf Feat:支持nsfwjs审查渠道 2025-06-22 22:50:24 +08:00
MarSeventh
e826149a82 Bug:S3路径风格读取错误 2025-06-19 22:45:48 +08:00
MarSeventh
c32a57b553 Feat:S3渠道支持路径风格;代码风格优化 2025-06-19 15:23:29 +08:00
MarSeventh
8245ae0fb7 修复随机图API缓存不更新的问题 2025-03-14 22:51:22 +08:00
MarSeventh
24735a20c1 文件夹删除移动体验优化 2025-03-14 21:53:51 +08:00
MarSeventh
6e5b8d6be6 Feat: 随机图API支持指定目录 2025-03-07 18:53:36 +08:00
MarSeventh
b1afba0a42 完善目录功能 2025-03-07 13:22:47 +08:00
MarSeventh
e3baafe24b 完善目录功能 2025-03-07 00:24:31 +08:00
MarSeventh
01023191fa 修复部分bug;页面美化 2025-03-05 20:40:24 +08:00
zhou
a84757f17d 添加文件夹的路径上传 2025-03-05 17:36:37 +08:00
MarSeventh
85bfa18f3c S3路径统一为虚拟主机风格 2025-02-08 17:59:30 +08:00
MarSeventh
be4629c643 v2beta 2025-02-06 18:18:39 +08:00
MarSeventh
83bba5944f 优化list相关接口的响应速度 2024-12-20 17:56:47 +08:00
MarSeventh
303a80f70b 管理端支持拉黑上传ip;管理端批量操作支持按照用户选择的顺序进行;random接口优化 2024-12-20 15:02:01 +08:00
MarSeventh
65dfc5f28b 优化CDN缓存配置,提升性能;支持设置管理端删除、拉黑等操作绕过缓存,实时生效,见readme3.1.3.9节 2024-12-11 14:49:31 +08:00
MarSeventh
55a64edf72 TG渠道记录更详细;支持自定义命名;支持自定义链接前缀;R2渠道删除时,存储桶同步删除 2024-12-04 23:25:35 +08:00
MarSeventh
87c74f7ddb 优化后端url存储 2024-09-13 15:53:57 +08:00
MarSeventh
585f9f596f add notice when picture has been deleted 2024-09-11 13:25:12 +08:00
MarSeventh
4e0c55d1f9 init 2024-07-19 23:26:06 +08:00