最后更新:2025年12月29日

Lightning 的构建得益于众多开源库的支持。我们在此对这些项目的所有贡献者表示诚挚的感谢。

Tauri 框架

Lightning 基于 Tauri 框架构建,这是一个用于构建安全跨平台桌面应用的工具包。

组件版本许可证仓库
tauri2.8.4Apache-2.0 OR MITGitHub
@tauri-apps/api2.9.0Apache-2.0 OR MITGitHub
tauri-plugin-autostart2.xApache-2.0 OR MITGitHub
tauri-plugin-clipboard-manager2.xApache-2.0 OR MITGitHub
tauri-plugin-dialog2.xApache-2.0 OR MITGitHub
tauri-plugin-fs2.xApache-2.0 OR MITGitHub
tauri-plugin-log2.xApache-2.0 OR MITGitHub
tauri-plugin-shell2.xApache-2.0 OR MITGitHub

Rust 依赖

核心库

组件版本许可证描述
serde1.0MIT OR Apache-2.0序列化框架
serde_json1.0MIT OR Apache-2.0JSON 支持
tokio1.0+MIT异步运行时
toml0.8MIT OR Apache-2.0TOML 配置支持

网络与 HTTP

组件版本许可证描述
reqwest0.11MIT OR Apache-2.0HTTP 客户端
url2.5MIT OR Apache-2.0URL 解析
urlencoding2.1MITURL 编码
tiny_http0.12MIT OR Apache-2.0HTTP 服务器

工具库

组件版本许可证描述
anyhow1.0MIT OR Apache-2.0错误处理
thiserror2.0MIT OR Apache-2.0自定义错误类型
chrono0.4MIT OR Apache-2.0日期时间处理
uuid1.0Apache-2.0 OR MITUUID 生成
regex1.10MIT OR Apache-2.0正则表达式
base640.22MIT OR Apache-2.0Base64 编码
log0.4MIT OR Apache-2.0日志接口
dirs5.0MIT OR Apache-2.0目录路径处理
which6.0MIT查找可执行文件
libloading0.8ISC动态库加载
open5.0MIT打开 URL/文件
once_cell1.19MIT OR Apache-2.0全局状态管理
rev_lines0.3MIT反向读取行

前端依赖

构建工具

组件版本许可证描述
vite5.4.20MIT构建工具
typescript5.9.2Apache-2.0TypeScript 编译器
eslint8.57.1MIT代码检查
prettier3.6.2MIT代码格式化

测试

组件版本许可证描述
vitest1.6.1MIT单元测试
@playwright/test1.57.0Apache-2.0端到端测试
jsdom23.2.0MITDOM 模拟

许可证全文

MIT 许可证

MIT License

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.

Apache 2.0 许可证

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

ISC 许可证

ISC License

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

致谢

我们衷心感谢所有使 Lightning 成为可能的开源项目及其贡献者。开源社区致力于创建免费且可访问的软件,这种精神令人钦佩。

特别感谢:
  • Tauri - 提供出色的跨平台框架
  • Rust - 提供安全高性能的编程语言
  • Vite - 提供极速构建工具
  • 所有其他开源贡献者