Skip to content

Commit bddde80

Browse files
committed
Update usage instructions and enhance shared constants
- Added detailed usage instructions for both internal and Chrome Web Store versions of RWKV Chat in usage.md. - Included steps for downloading and installing the Chrome extension. - Updated shared constants in const.ts to include a new URL for Wikipedia.
1 parent 6a6340a commit bddde80

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

packages/shared/const.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ export const ignoreHref = [
3434
'https://www.gov.cn', // 中国政府网
3535
'https://www.gamersky.com', // 游民星空
3636
'https://t.bilibili.com', // 游民星空
37+
'https://zh.wikipedia.org', // 游民星空
3738
];

usage.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
1+
## 使用方法 (内部版)
2+
13
1. 下载 RWKV Chat 桌面版
24
2. 打开 RWKV Chat 桌面版
35
3. 点击 "离线翻译"
46
4. 在弹出的面板中选择一个翻译模型
57
1. 模型越大, 效果越好, 速度越慢
6-
5. 下载 chrome 扩展安装包
8+
5. 下载 chrome 扩展安装包 `dist.crx`
9+
6. 下载 CRX Extractor/Downloader
10+
7. 使用解压缩 dist.crx
11+
8. 打开 chrome extensions 页面
12+
9. 开启开发者模式
13+
10. 选择 Load unpacked
14+
11. 选择解压缩后的文件夹
15+
12. 点击 "确定"
16+
13. 刷新页面
17+
18+
## 使用方法 (已经在 Chrome Web Store 上架)
19+
20+
1. 下载 RWKV Chat 桌面版
21+
2. 打开 RWKV Chat 桌面版
22+
3. 点击 "离线翻译"
23+
4. 在弹出的面板中选择一个翻译模型
24+
1. 模型越大, 效果越好, 速度越慢
25+
5. 在 Chrome Extension Store 中搜索 "RWKV Offline Translator"
26+
6. 点击 Add to Chrome
27+
7. 刷新页面

0 commit comments

Comments
 (0)