
<p align="center">
<a href="https://www.npmjs.com/package/@unlighthouse/core" target="__blank"><img src="https://img.shields.io/npm/v/@unlighthouse/core?color=2B90B6&label=" alt="NPM版本"></a>
<a href="https://www.npmjs.com/package/@unlighthouse/core" target="__blank"><img alt="NPM下载量" src="https://img.shields.io/npm/dm/@unlighthouse/core?color=349dbe&label="></a>
<a href="https://unlighthouse.dev/" target="__blank"><img src="https://img.shields.io/static/v1?label=&message=文档%20%26%20演示&color=45b8cd" alt="文档 & 演示"></a>
<br>
<a href="https://github.com/harlan-zw/unlighthouse" target="__blank"><img alt="GitHub星标" src="https://img.shields.io/github/stars/harlan-zw/unlighthouse?style=social"></a>
</p>
<p align="center">
Unlighthouse使用Google Lighthouse扫描整个网站,<br>提供现代化UI、最小化配置和智能采样。
</p>
<p align="center"><a href="https://inspect.unlighthouse.dev/">查看演示</a></p>
<p align="center">
<table>
<tbody>
<td align="center">
<img width="2000" height="0" /><br>
状态:<b><a href="https://github.com/harlan-zw/unlighthouse/releases/tag/v0.12.2">v0.12.2 已发布 🎉</a></b><br>
<sub>由我的<a href="https://github.com/sponsors/harlan-zw">赞助计划 💖</a>支持<br> 在Twitter上关注我 <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦 • 加入<a href="https://discord.gg/275MBUBvgP">Discord</a>获取帮助</sub><br>
<img width="2000" height="0" />
</td>
</tbody>
</table>
</p>
快速设置
运行以下命令:
npx unlighthouse --site <你的网站>
# 或使用PNPM
pnpm dlx unlighthouse --site <你的网站>
要求:Node >= 18.x。
入门指南
所有集成的安装说明可在文档网站上找到。
需要帮助?加入Discord获取一对一支持。
gitignore
Unlighthouse会将报告保存在outputDir
中,
建议将这些文件添加到.gitignore中。
.unlighthouse
调试
如果你在使用Unlighthouse时遇到任何问题,第一步应该是启用调试模式重新运行扫描。
# NPM
npx unlighthouse --site unlighthouse.dev --debug
# 或使用PNPM
pnpm dlx unlighthouse --site unlighthouse.dev --debug
文档
集成说明、指南、API和配置规范可在文档网站上找到。
赞助商
<p align="center">
<a href="https://yellow-cdn.veclightyear.com/2b54e442/767f7c0d-59ac-4118-89d4-9b7ff6234262.svg">
<img src='https://yellow-cdn.veclightyear.com/2b54e442/767f7c0d-59ac-4118-89d4-9b7ff6234262.svg'/>
</a>
</p>
许可证
MIT许可证 © 2022 Harlan Wilton