Skip to content

A Chrome/Edge/Firefox extension to turn your bilibili.com into dark mode

Notifications You must be signed in to change notification settings

flanker/bilibili-dark-mode

Repository files navigation

DarkBili - Dark Mode for bilibili.com

Chrome Web Store Chrome Web Store Users Chrome Web Store Rating

一个浏览器插件,可以让 bilibili.com 进入夜间模式。

🌐 官方网站

https://darkbili.com/

📸 效果展示

DarkBili Screenshot

🛠️ 开发指南

这是一个基于 Plasmo extension 的项目。

环境要求

  • Node.js >= 16
  • pnpm (推荐) 或 npm

开发步骤

  1. 克隆项目
git clone https://github.com/flanker/bilibili-dark-mode.git
cd bilibili-dark-mode
  1. 安装依赖
pnpm install
#
npm install
  1. 启动开发服务器
pnpm dev
#
npm run dev
  1. 在浏览器中加载开发版本
  • Chrome: 加载 build/chrome-mv3-dev 目录
  • Edge: 加载 build/chrome-mv3-dev 目录

更多开发指南请参考 Plasmo Documentation

🤝 贡献指南

欢迎提交 Issue 和 Pull Request!

  1. Fork 本仓库
  2. 创建你的特性分支 (git checkout -b feature/AmazingFeature)
  3. 提交你的改动 (git commit -m 'Add some AmazingFeature')
  4. 推送到分支 (git push origin feature/AmazingFeature)
  5. 开启一个 Pull Request

📝 许可证

本项目采用 MIT 许可证

💝 支持项目

如果这个项目对你有帮助,欢迎请开发者喝杯咖啡!

请开发者喝杯咖啡

📮 联系我们