This commit is contained in:
Hakadao
2023-12-24 17:26:34 +08:00
5 changed files with 119 additions and 18 deletions

View File

@@ -1,3 +1,5 @@
**| English | [简体中文](README_cn.md) |**
<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>
@@ -17,23 +19,32 @@
![Snipaste_2023-11-21_00-32-51](https://github.com/hakadao/BewlyBewly/assets/33394391/a439ea59-cc80-48aa-9c6a-ec5d4da98441)
## ⬇️ Installation
### Online Installation
Even in the Edge browser, we strongly recommend you install it in the Chrome web store. In terms of review speed, the Chrome web store is slightly faster than Edge Add-ons.
- Chrome: <https://chrome.google.com/webstore/detail/bewlybewly/bbbiejemhfihiooipfcjmjmbfdmobobp/related?hl=en>
- Edge: <https://microsoftedge.microsoft.com/addons/detail/bewlybewly/kceadhehfjdiakpiphpjgolbgehjdmja>
- Firefox: **I NEED SOME HELP!!!!!!!!!!!!!!!!!! ( ;∀;)**
### Local Installation
#### Edge & Chrome (RECOMMENDED)
> Ensure you installed [extension.zip](https://github.com/hakadao/BewlyBewly/releases) and decompress this file.
[ci](https://github.com/hakadao/BewlyBewly/actions)automatically build with the latest code
Opening the `chrome://extensions` page in the browser, simply drag and drop the downloaded `extension.zip` file into the browser to complete the installation.
[releases](https://github.com/hakadao/BewlyBewly/releases)stable version
#### Edge & Chrome (RECOMMENDED)
> Ensure you installed [extension.zip](https://github.com/hakadao/BewlyBewly/releases) .
Opening the `edge://extensions` page in the Edge or `chrome://extensions` page in the Chrome, simply drag and drop the downloaded `extension.zip` file into the browser to complete the installation.
<details>
<summary> Another installation method for Edge & Chrome </summary>
#### 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

90
README_cn.md Normal file
View File

@@ -0,0 +1,90 @@
**| [English](README.md) | 简体中文 |**
<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">只需对您的 Bilibili 主页进行一些小更改即可。</p>
![Image 3840x2400](https://github.com/hakadao/BewlyBewly/assets/33394391/ad726480-e6ef-4823-82e0-e3c3735a3909)
![Snipaste_2023-11-21_00-26-26](https://github.com/hakadao/BewlyBewly/assets/33394391/b1c1c25a-482a-438f-8e61-4d67cb32aea1)
![Snipaste_2023-11-21_00-30-03](https://github.com/hakadao/BewlyBewly/assets/33394391/1a9f0c56-5053-40d9-bec8-72665f85962d)
![Snipaste_2023-11-21_00-30-30](https://github.com/hakadao/BewlyBewly/assets/33394391/4cb44949-8352-4607-9dd4-74a8d1e00a74)
![Snipaste_2023-11-21_00-31-33](https://github.com/hakadao/BewlyBewly/assets/33394391/9ebebfd9-d8a8-411d-8c10-cf7cdb60abd4)
![Snipaste_2023-11-21_00-31-54](https://github.com/hakadao/BewlyBewly/assets/33394391/86ad5303-56b2-4d68-985d-300f2825ee49)
![Snipaste_2023-11-21_00-32-06](https://github.com/hakadao/BewlyBewly/assets/33394391/64b6eac1-d9ee-4157-a850-b940700a565b)
![Snipaste_2023-11-21_00-32-22](https://github.com/hakadao/BewlyBewly/assets/33394391/2533a1f9-3cb1-402e-96bb-3755404ddf02)
![Snipaste_2023-11-21_00-32-51](https://github.com/hakadao/BewlyBewly/assets/33394391/a439ea59-cc80-48aa-9c6a-ec5d4da98441)
## ⬇️ 安装
### 在线安装
即使在 Edge 浏览器中,我们也强烈建议您使用 Chrome 应用商店进行安装。在审核速度上Chrome 应用商店的审核速度比 Edge 应用商店快得多。
- Chrome: <https://chrome.google.com/webstore/detail/bewlybewly/bbbiejemhfihiooipfcjmjmbfdmobobp/related?hl=cn>
- Edge: <https://microsoftedge.microsoft.com/addons/detail/bewlybewly/kceadhehfjdiakpiphpjgolbgehjdmja>
- Firefox: **我需要一些帮助!!!!!!!!!!!!!!!!!! ( ;∀;)**
### 本地安装
[ci](https://github.com/hakadao/BewlyBewly/actions):使用最新代码自动构建
[releases](https://github.com/hakadao/BewlyBewly/releases):稳定版
#### Edge 和 Chrome推荐
> 确保您下载了 [extension.zip](https://github.com/hakadao/BewlyBewly/releases)。
在 Edge 浏览器中打开 `edge://extensions` 或者在 Chrome 浏览器中打开 `chrome://extensions` 界面,只需将下载的 `extension.zip` 文件拖放到浏览器中即可完成安装。
<details>
<summary> Edge & Chrome 的另一种安装方法 </summary>
#### Edge
> 确保您下载了 [extension.zip](https://github.com/hakadao/BewlyBewly/releases) 并解压缩该文件。
1. 在地址栏输入 `edge://extensions/` 并按回车
2. 打开 `开发者模式` 并点击 `加载已解压的拓展程序` <br/> <img width="655" alt="image" src="https://user-images.githubusercontent.com/33394391/232246901-e3544c16-bde2-480d-b770-ca5242793963.png">
3. 在浏览器中加载解压后的扩展文件夹
#### Chrome
> 确保您下载了 [extension.zip](https://github.com/hakadao/BewlyBewly/releases) 并解压缩该文件。
1. 在地址栏输入 `chrome://extensions/` 并按回车
2. 打开 `开发者模式` 并点击 `加载已解压的拓展程序` <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. 在浏览器中加载解压后的扩展文件夹
</details>
## 🔧 开发 & 构建
### 开发
```bash
pnpm dev
```
然后**在浏览器中使用 `加载已解压的拓展程序` 加载 `extension` 文件夹**。
每次修改后,您需要单击 [重新加载](https://chrome.google.com/webstore/detail/fimgfedafeadlieiabdeeaodndnlbhid) 按钮并刷新页面以确保应用更改。
### 构建
要构建拓展程序,运行
```bash
pnpm build
```
然后打包到 `extension` 文件夹
## ❤️ 鸣谢
- [vitesse-webext](https://github.com/antfu/vitesse-webext) - 该项目使用的模板
- [UserScripts/bilibiliHome](https://github.com/indefined/UserScripts/tree/master/bilibiliHome), [bilibili-app-recommend](https://github.com/magicdawn/bilibili-app-recommend) - 获取访问密钥的参考来源
- [Bilibili-Evolved](https://github.com/the1812/Bilibili-Evolved) - 部分功能实现
- [bilibili-API-collect](https://github.com/SocialSisterYi/bilibili-API-collect)

View File

@@ -43,7 +43,7 @@ settings:
authorize: 授权
revoke: 取消授权
open_settings: 打开设置...
select_language: 界面语
select_language: 界面语
select_language_opt:
english: 英文
mandarin_cn: 官话
@@ -78,10 +78,10 @@ settings:
adapt_to_other_page_styles: 适应其他页面样式
adapt_to_other_page_styles_desc: 适应一些常见页面,以与 BewlyBewly 主题相匹配
wallpaper_mode: 背景图片模式
wallpaper_mode_desc: ' URL: 直接用网上图片的 URL 来设置背景图片。'
wallpaper_mode_desc: '使用 URL: 直接用网上图片的 URL 来设置背景图片。'
wallpaper_mode_opt:
build_in: 内置
by_url: URL
by_url: 使用 URL
choose_ur_wallpaper: 选择你的背景
image_url: 图片 URL
image_url_hint: |-
@@ -109,7 +109,7 @@ settings:
authorize_app_desc: |
授权使用后能在首页推送 bilibili App 端算法的推荐视频,授权 key 有效期约为一个月,过后记得重新授权获取 access key。
authorize_app_more_info_access_key: 关于 access key
scan_qrcode_desc: 使用 Bilibili 移动应用程序扫描此二维码,以授权访问 access key。
scan_qrcode_desc: 使用 Bilibili 移动应用程序扫描此二维码,以授权获取 access key。
use_search_page_mode: 首页使用搜索页模式
settings_shared_with_the_search_page: 与搜索页共用的配置
settings_shared_with_the_search_page_desc: 这些设置都与搜索页共用
@@ -168,7 +168,7 @@ topbar:
money: 硬币:
b_coins: B币
following: 关注
followers: 观众
followers: 粉丝
posts: 动态
accout_settings: 个人中心
uploads_manager: 投稿管理

View File

@@ -43,7 +43,7 @@ settings:
authorize: 授權
revoke: 解除授權
open_settings: 打開設定...
select_language: 介面語
select_language: 介面語
select_language_opt:
english: 英文
mandarin_cn: 官话
@@ -78,10 +78,10 @@ settings:
adapt_to_other_page_styles: 適應其他頁面風格
adapt_to_other_page_styles_desc: 適應一些常見頁面,以配合 BewlyBewly 主題
wallpaper_mode: 背景圖片模式
wallpaper_mode_desc: ' URL: 直接用網上圖片的 URL 來設定背景圖片。'
wallpaper_mode_desc: '使用 URL: 直接用網上圖片的 URL 來設定背景圖片。'
wallpaper_mode_opt:
build_in: 內建
by_url: URL
by_url: 使用 URL
choose_ur_wallpaper: 選擇你的背景
image_url: 圖片 URL
image_url_hint: |-
@@ -110,7 +110,7 @@ settings:
授權使用後能在首頁推送 bilibili 手機端推介演算法的影片,授權 key 的有效期約爲一個月,過了有效期後,請記得重新取得授權以取得 access
key。
authorize_app_more_info_access_key: 關於 access key
scan_qrcode_desc: 使用 Bilibili 手機應用程式掃描這個QR碼以授權訪問 access key。
scan_qrcode_desc: 使用 Bilibili 手機應用程式掃描這個QR碼以授權取得 access key。
use_search_page_mode: 首頁使用搜尋頁模式
settings_shared_with_the_search_page: 與搜尋頁共用的設定
settings_shared_with_the_search_page_desc: 這些設定都與搜尋頁共用

View File

@@ -43,7 +43,7 @@ settings:
authorize: 授權
revoke: 解除授權
open_settings: 打開設定...
select_language: 介面語
select_language: 介面語
select_language_opt:
english: 英文
mandarin_cn: 官话
@@ -78,10 +78,10 @@ settings:
adapt_to_other_page_styles: 適應其他版面風格
adapt_to_other_page_styles_desc: 執執啲常用嘅版面,襯返 BewlyBewly 主題風格
wallpaper_mode: 背景圖片模式
wallpaper_mode_desc: ' URL: 直接用網上圖片嘅 URL 嚟到設定背景圖片。'
wallpaper_mode_desc: '使用 URL: 直接用網上圖片嘅 URL 嚟到設定背景圖片。'
wallpaper_mode_opt:
build_in: 內建
by_url: URL
by_url: 使用 URL
choose_ur_wallpaper: 揀張背景
image_url: 圖片 URL
image_url_hint: |-
@@ -110,7 +110,7 @@ settings:
授咗權嘅話,你就會收到基於 bilibili 手機版推介演算法所推介嘅內容,兼且授權 key 只有約一個月有效期,到期後記得要重新授權嚟取得存取
access key。
authorize_app_more_info_access_key: 關於 access key
scan_qrcode_desc: 用 Bilibili 流動應用程式去 scan 呢個 QR code 愛嚟授權訪問 access key。
scan_qrcode_desc: 用 Bilibili 流動應用程式去 scan 呢個 QR code 愛嚟授權取得 access key。
use_search_page_mode: 主頁使用搵嘢頁模式
settings_shared_with_the_search_page: 同搵嘢頁共用嘅設定
settings_shared_with_the_search_page_desc: 呢啲設定都同搵嘢頁共用