This commit is contained in:
676015863@qq.com committed 2026-07-29 11:02:21 +08:00
1 parent 5c809539d5
commit 9eebe059f4
1255 files changed
+90283 -9

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
+26
View File
@@ -0,0 +1,26 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
ssh
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
/public/assets/ai
/public/assets/ffmpeg
+27
View File
@@ -0,0 +1,27 @@
module.exports = {
// parser: 'babel',
arrowParens: 'avoid', // 箭头函数参数括号 默认avoid 可选 avoid| always
bracketSpacing: true, // 对象中打印空格 默认true
insertPragma: false,
printWidth: 120, // 换行长度
proseWrap: 'always',
requirePragma: false,
singleQuote: true, // 字符串使用单引号
semi: true, // 每行末尾自动添加分号
tabWidth: 2, // tab缩进大小,默认为2
// htmlWhitespaceSensitivity: 'ignore', //对HTML全局空白不敏感
// jsxSingleQuote: true, // jsx中使用单引号
// jsxBracketSameLine: true, //多属性html标签的‘>’折行放置
trailingComma: 'all',
embeddedLanguageFormatting: 'auto', //对引用代码进行格式化
useTabs: false, // 使用tab缩进,默认false
overrides: [
{
files: '*.json',
options: {
tabWidth: 2,
singleQuote: false,
},
},
],
};
+12
View File
@@ -0,0 +1,12 @@
Unicut is licensed under a modified version of the Apache License 2.0, with the following additional conditions:
1. Unicut may be utilized commercially, including as a backend service for video editing applications or as a video development platform for enterprises. Should the conditions below be met, a commercial license must be obtained from the producer:
a. Multi-tenant service: Unless explicitly authorized by Unicut in writing, you may not use the Unicut source code to operate a multi-tenant environment.
- Tenant Definition: Within the context of Unicut, one tenant corresponds to one workspace. The workspace provides a separated area for each tenant's data and configurations.
b. LOGO and copyright information: In the process of using Unicut's frontend, you may not remove or modify the LOGO or copyright information in the Unicut console or applications. This restriction is inapplicable to uses of Unicut that do not involve its frontend.
- Frontend Definition: For the purposes of this license, the "frontend" of Unicut includes all components located in the src/ directory when running Unicut from the raw source code, or the "web" image when running Unicut with Docker.
2. As a contributor, you should agree that:
a. The producer can adjust the open-source agreement to be more strict or relaxed as deemed necessary.
b. Your contributed code may be used for commercial purposes, including but not limited to its cloud video service operations.
Apart from the specific conditions mentioned above, all other rights and restrictions follow the Apache License 2.0. Detailed information about the Apache License 2.0 can be found at http://www.apache.org/licenses/LICENSE-2.0.
The interactive design of this product is protected by appearance patent.
© 2025 Sichuan Aiqiwu Technology Co., Ltd. All Rights Reserved.
+112 -4
View File
@@ -5,9 +5,117 @@ AI-driven open-source video editing tool
体验地址:https://unicut.h5ds.com
即将开源,敬请期待,欢迎加群
![qrcode](qrcode.png)
![editor](editor.png)
相关技术参考文档:
React: [https://react.docschina.org/](https://react.docschina.org/)
semi-ui: [https://semi.design/](https://semi.design/)
Mobx: [https://cn.mobx.js.org/](https://cn.mobx.js.org/)
vite: [https://vitejs.cn/guide/](https://vitejs.cn/guide/)
# 项目源码说明
# 目录结构说明:
```
├─dist 打包后生成的文件(执行yarn build后才会生成)
│ ├─assets 公共资源文件
│ │ ├─ai
│ │ │ ├─matting ai抠图代码
│ │ │ └─onnxruntime-web ai涂抹代码
│ │ ├─ffmpeg12 ffmpeg代码
│ │ ├─images 图片资源
│ │ └─worker 解码代码
│ └─homeAssets 打包后资源
│ ├─css
│ ├─jpg
│ ├─js
│ └─png
├─public 静态资源文件夹
│ └─assets
│ ├─ai
│ │ ├─matting ai抠图代码
│ │ └─onnxruntime-web ai涂抹代码
│ ├─ffmpeg12 ffmpeg代码
│ ├─images 图片资源
│ └─worker 解码代码
├─src 项目源代码
│ ├─assets 图片等资源
│ │ └─images 图片资源
│ ├─components 公共组件
│ │ ├─audio 音频相关组件
│ │ ├─content 我的草稿和我的素材公用容器组件
│ │ ├─content-user 我的账号和我的消息公用容器组件
│ │ ├─footer 网站底部
│ │ ├─header 网站头部
│ │ │ └─user 头部右侧的下拉信息框
│ │ ├─login 登录
│ │ │ ├─loginMobile 手机登录
│ │ │ ├─loginQrcode 二维码登录
│ │ │ └─loginRegisterBox 登录容器框
│ │ ├─not-found 找不到的提示页面
│ │ ├─page-loading 页面加载loading
│ │ ├─sub-header banner组件
│ │ └─water-full 素材资源展示组件
│ ├─config 配置文件
│ ├─layout 布局
│ │ ├─home-layout 首页布局
│ │ ├─index-layout 关于我们布局
│ │ ├─user-layout 用户中心布局
│ │ │ └─sidebar 左侧导航
│ │ │ └─cropUpload 截图
│ │ └─workspace-layout 我的空间布局
│ │ └─sidebar 左侧导航
│ ├─less 基础less文件
│ ├─pages 页面
│ │ ├─aboutus 关于我们
│ │ ├─home 首页
│ │ ├─tools 快捷工具页面
│ │ │ ├─ai-matting ai抠图
│ │ │ └─ai-rubber ai涂抹
│ │ ├─user 个人中心
│ │ │ ├─account 账号设置
│ │ │ └─message 消息中心
│ │ └─workspace 我的空间
│ │ └─user 个人用户空间
│ │ ├─draft 我的草稿
│ │ └─material 我的素材
│ ├─server 请求
│ ├─stores mobx的store
│ ├─theme 主题
│ └─utils 公共方法
├─ssh 本地开发https使用
├─editorconfig 编辑器配置文件
├─.gitignore git提交忽略文件
├─copy.js 打包后复制处理文件
├─index.html 入口html文件
├─nodeExternals.js 处理package.json文件
├─packages.json npm包配置文件
├─readme.md 项目说明文档
├─tsconfig.json ts配置文件
├─tsconfig.node.json 用于vite.config.ts的ts配置文件
├─vite.config.ts vite打包配置文件
└─viteConfig.ts vite公共配置文件(暂时未使用)
```
# 项目开发说明:
当前目录执行yarn dev,启动开发环境(备注:如果没有在最外层执行过一次yarn install, 需要先在最外层执行以上命令,然后才可以在目录下执行yarn dev启动命令)
# 项目单独发布打包命令:
# 打包:
当前目录下执行:yarn build(备注:如果没有在最外层执行过一次yarn install和yarn build, 需要先在最外层执行以上两个命令,然后才可以单独对video-web执行yarn build打包)
执行结束后会在根目录下生成www文件目录,里面是生成的需要发布的文件
打包后目录结构说明:
-assets 公共资源
-homeAssets web系统资源
-index.html 首页
+42
View File
@@ -0,0 +1,42 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="description"
content="云剪是在线使用的视频云剪辑软件,可以对视频进行裁剪、拼接、添加滤镜、贴纸、动画效果,支持定制开发"
/>
<meta
name="keywords"
content="云剪,爱趣五视频云剪辑,视频剪辑软件,免费在线视频剪辑软件,视频云剪辑私有化部署,视频云剪辑软件源码授权"
/>
<meta name="renderer" content="webkit" />
<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="apple-mobile-web-app-title" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>云剪|爱趣五视频云剪辑|视频剪辑软件|免费在线视频剪辑软件|视频剪辑工具|爱趣五科技有限公司</title>
<script src="/assets/scripts/lame.min.js"></script>
<script src="/assets/medianinfo/index.min.js"></script>
<script async src="/assets/ffmpeg/ffmpeg.js"></script>
</head>
<body class="scroll">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
<!-- <script src="https://map.qq.com/api/gljs?v=1.exp&key=M7CBZ-VZQKP-RMADM-VS3D3-34WHS-5GFMW"></script> -->
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src = 'https://hm.baidu.com/hm.js?01f99bc11758b79ed21a256e704bee8e';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</html>
+108 -5
View File
@@ -1,8 +1,111 @@
{
"name": "unicut",
"name": "aacut",
"private": true,
"version": "1.0.0",
"main": "index.js",
"repository": "https://unicut.h5ds.com/",
"author": "676015863@qq.com <676015863@qq.com>",
"license": ""
"scripts": {
"dev": "vite",
"build": "yarn clean && 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.64",
"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"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

+1
View File
@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"8df2520b3d2612276a0b3d26-ac37789","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

+1
View File
@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"83eed60b3d26d2736a0b3d26-acc1fc2","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

+1
View File
@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"6536600b3d17c8ab6a0b3d17-ac32f90","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+1
View File
@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"c21c1d0b3d265d5a6a0b3d26-fdbdgdc01gcg60agg39","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"c7a60f0b3d2736fc6a0b3d27-fdbdgdc01gcgf22gg42","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"d0cb0c0b3d27cb986a0b3d27-a9c411f","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"c348d00b3d273e796a0b3d27-ac67a35","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

@@ -0,0 +1 @@
{"Success":-1,"error":{"code":4008,"request_id":"e34c70b3d27a7ec6a0b3d27-fdbdgdc01gcg602gg36","message":"The specified key does not exist.","ec":"0017-00000003","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Loaded 100 of 1255 files, more files were not shown because too many files have changed in this diff. Show more