Files
BewlyBewly/README.md
2023-09-04 12:01:52 +08:00

69 lines
2.8 KiB
Markdown

<p align="center" style="margin-bottom: 0px !important;">
<img width="150" src="https://user-images.githubusercontent.com/33394391/160250512-410b71fc-7f25-4caf-b850-429227ff082a.png"><br/>
</p>
<h1 align="center" style="margin-top: 0px;">BewlyBewly</h1>
<p align="center">Just make a few small changes to your Bilibili homepage.</p>
<details>
<summary>開發中, 佛系更新 = =,祇是一個勉強用得了的玩具</summary>
![Home page](https://user-images.githubusercontent.com/33394391/232247842-47aac96b-4826-4eea-b210-82a0900589fd.jpg)
![Anime page](https://user-images.githubusercontent.com/33394391/232247840-c84f6165-15e0-4745-8173-0999bcd95b3e.jpg)
![History page](https://user-images.githubusercontent.com/33394391/232247837-aee43969-7df0-406d-b6e0-555a67dd9d37.jpg)
## ⬇️ Installation
- Edge: <https://microsoftedge.microsoft.com/addons/detail/bewlybewly/kceadhehfjdiakpiphpjgolbgehjdmja>
- Chrome: <https://chrome.google.com/webstore/detail/bewlybewly/bbbiejemhfihiooipfcjmjmbfdmobobp/related?hl=en>
- Firefox: Comming soon
### Local Installation
#### Edge
>
> Ensure you installed [extension.zip](https://github.com/hakadao/BewlyBewly/releases) and decompress this file.
1. Type in `edge://extensions/` in the address bar and press Enter
2. Turn on `Developer mode` then press `Load unpacked` <br/> <img width="655" alt="image" src="https://user-images.githubusercontent.com/33394391/232246901-e3544c16-bde2-480d-b770-ca5242793963.png">
3. Load decompressed exetension folder in your browser
#### Chrome
>
> Ensure you installed [extension.zip](https://github.com/hakadao/BewlyBewly/releases) and decompress this file.
1. Type in `chrome://extensions/` in the address bar and press Enter
2. Turn on `Developer mode` then press `Load unpacked` <br/> <img width="655" alt="Snipaste_2022-03-27_18-17-04" src="https://user-images.githubusercontent.com/33394391/160276882-13da0484-92c1-47dd-add8-7655c5c2bf1c.png">
3. Load decompressed exetension folder in your browser
## 🔧 Development & build
### Development
```bash
pnpm dev
```
Then **load extension in browser with the `extension/` folder**.
After each modification, you need to click the [Extensions Reloader](https://chrome.google.com/webstore/detail/fimgfedafeadlieiabdeeaodndnlbhid) button and refresh the page to ensure the changes would be applied.
### Build
To build the extension, run
```bash
pnpm build
```
And then pack files under `extension`
## ❤️ Credits
- [vitesse-webext](https://github.com/antfu/vitesse-webext) - The template used for this project
- [UserScripts/bilibiliHome](https://github.com/indefined/UserScripts/tree/master/bilibiliHome) - Reference source for obtaining the access key
- [Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved) - Partial implementation of functionalities
- [bilibili-API-collect](https://github.com/SocialSisterYi/bilibili-API-collect)
</details>