@forward-widget/danmu-universe 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -7
- package/dist/danmu-universe.js +429 -392
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -3,19 +3,25 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@forward-widget/danmu-universe)
|
|
4
4
|
[](https://github.com/baranwang/forward-widgets)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
一个通用的弹幕聚合插件,支持从多个主流视频平台获取弹幕数据,为 Forward 生态系统提供跨平台的弹幕服务
|
|
7
7
|
|
|
8
8
|
## 支持的平台
|
|
9
9
|
|
|
10
|
-
- 腾讯视频
|
|
11
|
-
- 优酷视频
|
|
12
|
-
- 爱奇艺
|
|
13
|
-
- 哔哩哔哩
|
|
10
|
+
- [x] 腾讯视频
|
|
11
|
+
- [x] 优酷视频
|
|
12
|
+
- [x] 爱奇艺
|
|
13
|
+
- [x] 哔哩哔哩
|
|
14
|
+
- [ ] 芒果 TV
|
|
15
|
+
- [ ] 人人视频
|
|
14
16
|
|
|
15
17
|
|
|
16
18
|
## 安装使用
|
|
17
19
|
|
|
18
|
-
###
|
|
20
|
+
### 一键安装
|
|
21
|
+
|
|
22
|
+
[](https://gocy.pages.dev/#forward://widget?url=https%3A%2F%2Funpkg.com%2F%40forward-widget%2Fdanmu-universe)
|
|
23
|
+
|
|
24
|
+
### 手动安装
|
|
19
25
|
|
|
20
26
|
在Forward Widget的模块管理中导入以下URL:
|
|
21
27
|
|
|
@@ -23,9 +29,12 @@
|
|
|
23
29
|
https://unpkg.com/@forward-widget/danmu-universe
|
|
24
30
|
```
|
|
25
31
|
|
|
32
|
+
|
|
26
33
|
## 开发
|
|
27
34
|
|
|
28
|
-
|
|
35
|
+
项目自豪的使用 [forward-widget-libs](https://github.com/baranwang/forward-widget-libs) 开发工具链
|
|
36
|
+
|
|
37
|
+
欢迎社区贡献,如果你想为项目做出贡献可按照以下流程:
|
|
29
38
|
|
|
30
39
|
### 环境要求
|
|
31
40
|
|
|
@@ -34,12 +43,16 @@ https://unpkg.com/@forward-widget/danmu-universe
|
|
|
34
43
|
|
|
35
44
|
### 安装依赖
|
|
36
45
|
|
|
46
|
+
仓库根目录
|
|
47
|
+
|
|
37
48
|
```bash
|
|
38
49
|
pnpm install
|
|
39
50
|
```
|
|
40
51
|
|
|
41
52
|
### 开发模式
|
|
42
53
|
|
|
54
|
+
项目目录
|
|
55
|
+
|
|
43
56
|
```bash
|
|
44
57
|
pnpm dev
|
|
45
58
|
```
|
|
@@ -55,3 +68,11 @@ pnpm build
|
|
|
55
68
|
```bash
|
|
56
69
|
pnpm test
|
|
57
70
|
```
|
|
71
|
+
|
|
72
|
+
### 提交
|
|
73
|
+
|
|
74
|
+
在仓库根目录执行 `pnpm changeset` 创建 changeset 文件,同时使用标准的 Conventional Commits 提交代码
|
|
75
|
+
|
|
76
|
+
## 鸣谢
|
|
77
|
+
|
|
78
|
+
- [misaka_danmu_server](https://github.com/l429609201/misaka_danmu_server)
|