Files
Prism/THIRD-PARTY-NOTICES.md
T
renjue fe8ea784d0
CI / docker (push) Successful in 2m54s
feat: Prism HTTP/SOCKS5 代理网关及管理台
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 15:58:28 +08:00

54 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 第三方组件与许可声明
Prism 在 MIT 许可下发布(见 [LICENSE](LICENSE))。以下列出主要直接依赖及嵌入组件。**完整依赖树**见 `go.mod``go.sum``web/package-lock.json`
## 嵌入内核
| 组件 | 用途 | 许可 |
|------|------|------|
| [Mihomo](https://github.com/MetaCubeX/mihomo) | HTTP/SOCKS5 代理数据面(Go 静态链接嵌入) | GPL-3.0 **或** MIT(双重许可,由使用者选择) |
### Mihomo 许可说明
Mihomo 以 **GPL-3.0 / MIT 双许可** 发布。分发包含 Mihomo 的 Prism 二进制或容器镜像时:
1. **保留** Mihomo 及所有依赖的版权声明与许可全文
2. 若选择 GPL-3.0 路径,需按 GPL-3.0 要求提供对应源码获取方式
3. 若选择 MIT 路径(针对 Mihomo 部分),需保留 Mihomo 的 MIT 版权声明
Prism **自研控制面代码**`cmd/``internal/``web/`)采用 MIT 许可,与 Mihomo 通过 Go 包导入方式组合为单一可执行文件。
## Go 直接依赖
| 组件 | 用途 | 许可 |
|------|------|------|
| [gin-gonic/gin](https://github.com/gin-gonic/gin) | HTTP 框架 | MIT |
| [pressly/goose](https://github.com/pressly/goose) | 数据库迁移 | MIT |
| [robfig/cron](https://github.com/robfig/cron) | 定时任务 | MIT |
| [golang.org/x/crypto](https://pkg.go.dev/golang.org/x/crypto) | bcrypt 等 | BSD-3-Clause |
| [gopkg.in/yaml.v3](https://github.com/go-yaml/yaml) | YAML 解析 | Apache-2.0 / MIT |
| [modernc.org/sqlite](https://gitlab.com/cznic/sqlite) | 纯 Go SQLite 驱动 | BSD-3-Clause |
Mihomo 还引入大量间接依赖(Tailscale、gVisor、quic-go 等),其许可信息见 `vendor/`(若本地生成)或各模块仓库。
## 前端直接依赖
| 组件 | 用途 | 许可 |
|------|------|------|
| [Vue 3](https://vuejs.org/) | UI 框架 | MIT |
| [Element Plus](https://element-plus.org/) | 组件库 | MIT |
| [vue-i18n](https://vue-i18n.intlify.dev/) | 国际化 | MIT |
| [ECharts](https://echarts.apache.org/) | 图表 | Apache-2.0 |
| [axios](https://axios-http.com/) | HTTP 客户端 | MIT |
| [Vite](https://vitejs.dev/) | 构建工具 | MIT |
## 生成 vendor 目录(可选)
如需离线/可复现构建,可在本地执行:
```bash
go mod vendor
```
`vendor/` 已加入 `.gitignore`,默认由 CI 与 Docker 构建在线拉取依赖。