diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..afe1dec --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 nianzhibai + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 51c00b4..b4ea6ef 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,8 @@ 快速开始 · 功能特性 · 预览图 · - 数据目录 + 数据目录 · + 许可证

--- @@ -196,6 +197,12 @@ docker compose up -d # 更新并重启 --- +## 许可证 + +本项目基于 [MIT License](LICENSE) 开源。 + +--- + ## 致谢 - [OpenList](https://github.com/OpenListTeam/OpenList) — 优秀的开源项目 diff --git a/package-lock.json b/package-lock.json index 56b3368..843876b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "video-site", "version": "0.1.0", + "license": "MIT", "dependencies": { "lucide-react": "0.453.0", "react": "18.3.1", diff --git a/package.json b/package.json index f21119c..8bbe097 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "video-site", "private": true, + "license": "MIT", "version": "0.1.0", "type": "module", "scripts": {