在上游 gitee.com/676015863/unicut 基础上做的自托管改造,使其可脱离官方账号体系 与 CDN 独立运行。详见 CHANGELOG.md。 主要能力 - 免登录:GUEST_USER 直接使用核心功能,checkAuth 不再拦截 - 本机 AI:对话 mimo-v2.6-flash(同源 /newapi/v1)、视觉 deepseek-v4-flash-vision-exp、 生图 /omniai、生视频 /civideo;密钥仅存服务端(nginx 占位符 + entrypoint 注入) - AI 一键出片:图片+标题 → AI 文案 → 人声/语速/情绪 → 确认生成直接排时间轴, 并支持转场、图片运镜、字幕位置/大小/配色/入场动画 - 离线可用:工程数据 IndexedDB + 项目文件 JSON 双写;官方素材走同源 /cdn/ 反代; 无 OPFS 时素材回落 IndexedDB files 表 修复 - 账号类接口本地短路,不再反复弹「Header parameter [authorization] cannot be empty」 - isFSApiSupported 改取值判断,修 OPFS 判定错误导致卡在文件夹引导页 - 模板素材统一 /cdn/ 改写 + nginx 兜底转发,修缩略图全裂 - 剔除素材已失效的模板(上游 CDN 已删,点开必卡 loading 50%) - 补齐 SDK 内置 4 张滤镜贴图,修画布卡 loading 0% - 封面上传失败不再中断整次保存 品牌与页面 - 「云剪」改为 UniCut - 首页删除收费标准栏目;顶部菜单移除 GitHub/Gitee;底部栏整体下线 安全 - .env 与 public/local-ai.json(含密钥)已在 .gitignore,不入库 - public/local-ai.json.example 仅含占位符
113 lines
3.3 KiB
JSON
113 lines
3.3 KiB
JSON
{
|
|
"name": "aacut",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "yarn clean && node scripts/patch-sdk-offline.mjs && yarn build:worker && vite build",
|
|
"build:worker": "node worker.config.js",
|
|
"preview": "vite preview --port 8080",
|
|
"lint": "eslint src --fix",
|
|
"clean": "rimraf dist"
|
|
},
|
|
"dependencies": {
|
|
"@douyinfe/semi-ui": "^2.89.1",
|
|
"@ffmpeg/util": "^0.12.1",
|
|
"@icon-park/react": "^1.4.2",
|
|
"@mediapipe/tasks-vision": "^0.10.18",
|
|
"@uiw/react-affix": "^4.22.3",
|
|
"@uiw/react-color": "^2.4.0",
|
|
"apng-js": "^1.1.5",
|
|
"asset-require-hook": "^1.2.0",
|
|
"axios": "^0.24.0",
|
|
"classnames": "^2.3.2",
|
|
"dayjs": "^1.11.10",
|
|
"dexie": "^4.4.3",
|
|
"echarts": "^5.5.0",
|
|
"fflate": "^0.8.2",
|
|
"gifuct-js": "^2.1.2",
|
|
"gl-transitions": "^1.43.0",
|
|
"howler": "^2.2.4",
|
|
"http-proxy": "^1.18.1",
|
|
"ignore-styles": "^5.0.1",
|
|
"jquery": "^3.7.1",
|
|
"js-audio-recorder": "^1.0.7",
|
|
"jsdom": "^22.1.0",
|
|
"jszip": "^3.10.1",
|
|
"leafer-ui": "^1.0.0",
|
|
"localforage": "^1.10.0",
|
|
"lodash": "^4.17.21",
|
|
"lottie-web": "^5.12.2",
|
|
"mediabunny": "^1.50.9",
|
|
"mobx": "^5.15.4",
|
|
"mobx-react": "^6.2.2",
|
|
"mp4-muxer": "^5.2.1",
|
|
"nanoid": "^4.0.2",
|
|
"ndarray": "^1.0.19",
|
|
"opencv-ts": "^1.3.6",
|
|
"p-limit": "^4.0.0",
|
|
"pixi-color-effects": "^1.0.0",
|
|
"pixi-filters": "^5.2.1",
|
|
"pixi.js": "^7.3.0",
|
|
"pubsub-js": "^1.9.4",
|
|
"qrcode": "^1.5.4",
|
|
"qrcode.react": "^3.0.2",
|
|
"react": "^18.2.0",
|
|
"react-contexify": "^6.0.0",
|
|
"react-cropper": "^2.3.3",
|
|
"react-dom": "^18.2.0",
|
|
"react-easy-crop": "^5.0.2",
|
|
"react-fast-compare": "^3.2.2",
|
|
"react-image-crop": "^11.0.10",
|
|
"react-infinite-scroll-component": "^6.1.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-moveable": "^0.56.0",
|
|
"react-photo-view": "^1.2.3",
|
|
"react-resize-detector": "^9.1.0",
|
|
"react-router": "^5.2.0",
|
|
"react-router-config": "^5.1.1",
|
|
"react-router-dom": "^5.1.0",
|
|
"simple-query-string": "^1.3.2",
|
|
"swiper": "^12.1.2",
|
|
"three": "^0.168.0",
|
|
"tinycolor2": "^1.6.0",
|
|
"undo-redo-manager2": "^1.0.0",
|
|
"use-fs-access": "^1.3.2",
|
|
"video-core-sdk": "1.0.70",
|
|
"xlsx": "^0.18.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"esbuild-windows-64": "^0.15.18"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-proposal-decorators": "^7.22.7",
|
|
"@rollup/plugin-commonjs": "^25.0.3",
|
|
"@types/jquery": "^3.5.18",
|
|
"@types/lodash": "^4.14.197",
|
|
"@types/pubsub-js": "^1.8.4",
|
|
"@types/react": "^18.2.15",
|
|
"@types/react-color": "^3.0.6",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@types/react-loadable": "^5.5.6",
|
|
"@types/react-router": "^5.1.20",
|
|
"@types/react-router-config": "^5.0.6",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/simple-query-string": "^1.3.1",
|
|
"@vitejs/plugin-react": "^4.0.3",
|
|
"husky": "^8.0.1",
|
|
"less": "^4.1.3",
|
|
"less-loader": "^11.1.3",
|
|
"lint-staged": "^12.4.2",
|
|
"rollup-plugin-node-externals": "^6.1.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
"stylus": "^0.57.0",
|
|
"typescript": "^5.1.6",
|
|
"vite": "^4.4.4",
|
|
"vite-plugin-imp": "^2.4.0",
|
|
"vite-plugin-mkcert": "^1.17.9",
|
|
"terser": "^5.31.0",
|
|
"rimraf": "^5.0.5"
|
|
}
|
|
} |