青丘企业官网引用的第三方依赖与协议
九卿
2026年1月28日 21:38
52 次
0 条回复
2026年1月28日 21:38
52 次
0 条回复
本文档列出本项目中使用的第三方资源、前端依赖与 CDN 资源及其对应的许可协议。
一、前端构建依赖(npm/pnpm)¶
通过 package.json 管理,用于 CSS 构建与开发。
| 资源名称 | 版本范围 | 用途 | 协议 |
|---|---|---|---|
| tailwindcss | ^4 | CSS 工具类框架 | MIT |
| @tailwindcss/cli | ^4 | Tailwind 命令行工具 | MIT |
| daisyui | ^5 | 基于 Tailwind 的 UI 组件库 | MIT |
- Tailwind CSS:https://tailwindcss.com,许可证 https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE
- DaisyUI:https://daisyui.com,许可证 https://github.com/saadeghi/daisyui/blob/master/LICENSE
二、CDN 引入的前端资源¶
以下资源在模板中通过 jsDelivr CDN 按需加载,未打入本仓库。
| 资源名称 | CDN 地址示例 | 使用场景 | 协议 |
|---|---|---|---|
| github-markdown-css | cdn.jsdelivr.net/npm/github-markdown-css@5 |
帖子详情、产品详情、新闻详情、关于页的 Markdown 样式 | MIT |
| highlight.js(样式) | cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github.min.css |
代码块样式 | BSD-3-Clause |
| highlight.js(脚本) | cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/highlight.min.js |
代码块语法高亮 | BSD-3-Clause |
- github-markdown-css:https://github.com/sindresorhus/github-markdown-css,MIT License
- highlight.js:https://highlightjs.org,BSD-3-Clause License
- jsDelivr:仅作为 CDN 分发方,所承载文件的版权与协议归属各自上游项目。
三、本地静态资源(static/)¶
3.1 Font Awesome Free¶
- 说明:图标与字体库,用于导航、按钮等界面图标。
| 部分 | 协议 |
|---|---|
| 图标(SVG/JS 等) | CC BY 4.0(署名 4.0 国际) |
| 字体文件(webfonts/) | SIL Open Font License 1.1 |
| 其余代码与文档 | MIT License |
完整说明见:https://fontawesome.com/license/free
3.2 社区表情(expression/)— Microsoft Fluent Emoji¶
- 来源:微软 Fluent UI Emoji(Fluent Emoji),为本项目使用的表情图素材来源。
- 协议:MIT License(https://github.com/microsoft/fluentui-emoji/blob/main/LICENSE)
- 说明:用于社区发帖/回复中的
<img src="/static/expression/id.gif" alt="" class="inline-block align-middle expression-emoji">表情。
四、Python 依赖(requirements.txt)¶
运行与开发所需的 Python 包。下表为常见许可类型,具体以 PyPI 各包页面及源代码中的 LICENSE 为准。
| 包名 | 典型用途 | 常见协议 |
|---|---|---|
| Django | Web 框架 | BSD-3-Clause |
| django-environ | 环境变量 | MIT |
| django-ninja | API 框架 | MIT |
| django-redis | Redis 缓存 | BSD-3-Clause |
| django-simpleui | 后台 UI | 见项目声明 |
| django-debug-toolbar | 调试工具 | BSD-3-Clause |
| Markdown | Markdown 解析 | BSD-3-Clause |
| bleach | HTML 清洗 | Apache-2.0 |
| pillow | 图片处理 | HPND |
| pydantic / pydantic_core | 数据校验 | MIT |
| redis | Redis 客户端 | MIT |
| ruff | 代码检查/格式化 | MIT |
| mysqlclient | MySQL 驱动 | GPL / 见项目声明 |
| 其余(asgiref、sqlparse、tzdata、webencodings 等) | 运行/工具支持 | 以 PyPI 或源码为准 |
五、协议缩写与链接¶
| 缩写 | 全称 | 说明链接 |
|---|---|---|
| MIT | MIT License | https://opensource.org/licenses/MIT |
| BSD-3-Clause | 3-Clause BSD | https://opensource.org/licenses/BSD-3-Clause |
| CC BY 4.0 | Creative Commons Attribution 4.0 | https://creativecommons.org/licenses/by/4.0/ |
| SIL OFL 1.1 | SIL Open Font License 1.1 | https://scripts.sil.org/OFL |
| Apache-2.0 | Apache License 2.0 | https://www.apache.org/licenses/LICENSE-2.0 |
| GPL | GNU General Public License | https://www.gnu.org/licenses/gpl.html |