Commit Graph

19 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