dsh-hackertube 0.1.1 → 0.1.3

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.
Files changed (3) hide show
  1. package/README.en.md +56 -3
  2. package/README.md +56 -3
  3. package/package.json +1 -1
package/README.en.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Browse and watch the videos Hacker News has recommended over two decades, without leaving the DeepSeek Harness panel. A high-quality English video library within reach, which makes the harness a richer and more enjoyable place to work.
6
6
 
7
- ![Home](docs/home.png)
7
+ ![Home](docs/home-en.png)
8
8
 
9
9
  The dataset comes from [HackerTube](https://karpathy.bearblog.dev/hacker-tube/) by Andrej Karpathy. The site ships a complete data export, and the author describes its purpose in his post:
10
10
 
@@ -14,25 +14,78 @@ This plugin consumes that official export. It is an unofficial project and is no
14
14
 
15
15
  The original site works fine on its own. Moving it into the panel changes two things. You no longer switch windows, and the interface is fully available in Chinese, including titles, categories, summaries, and comments.
16
16
 
17
+ ## Browse by category
18
+
19
+ The 6,454 videos sort into 16 areas, and each area splits into subcategories, 150 in total. When you do not know what to watch, start from the categories page.
20
+
21
+ ![Categories page](docs/categories-en.png)
22
+
23
+ | Area | Subcategories | Videos |
24
+ |---|---:|---:|
25
+ | Software Engineering & Languages | 11 | 980 |
26
+ | Systems, Networks & Security | 10 | 702 |
27
+ | AI, Machine Learning & Data | 9 | 576 |
28
+ | Mathematics & Theoretical CS | 9 | 360 |
29
+ | Hardware & Electronics | 8 | 582 |
30
+ | Computing History & Culture | 8 | 1026 |
31
+ | Design, Graphics & Visual Media | 9 | 439 |
32
+ | Business, Startups & Economics | 9 | 644 |
33
+ | Politics, History & Society | 9 | 1018 |
34
+ | Physics, Space & Chemistry | 8 | 600 |
35
+ | Life Sciences, Mind & Health | 11 | 598 |
36
+ | Earth, Energy & Environment | 8 | 354 |
37
+ | Engineering, Transport & Making | 12 | 805 |
38
+ | Games & Game Development | 8 | 355 |
39
+ | Arts, Comedy, Music & Film | 12 | 1344 |
40
+ | Ideas, Learning & Language | 9 | 689 |
41
+
42
+ A video can belong to more than one area, so the video counts add up to more than 6,454.
43
+
17
44
  ## Installation
18
45
 
19
46
  Requires DeepSeek Harness.
20
47
 
48
+ ### Let your agent install it
49
+
50
+ Paste this into a DeepSeek Harness session. The agent installs the plugin, enables it, and checks the result:
51
+
52
+ ```
53
+ Install and enable the HackerTube plugin: plugin_manager install_bundle target=dsh-hackertube.
54
+ If npm fails, use target=github:chow651/dsh-hackertube instead.
55
+ Then confirm dsh-hackertube is enabled in the plugin list and remind me to refresh the page.
56
+ ```
57
+
58
+ ### Install with the plugin manager
59
+
60
+ The package is published on npm as version 0.1.1:
61
+
21
62
  ```
22
63
  plugin_manager install_bundle target=dsh-hackertube
23
64
  ```
24
65
 
25
- If the package is not on npm yet, install from the Git repository. How the host parses the install argument depends on its version, so fall back to the command above if this one fails.
66
+ It can also be installed straight from the Git repository, though how the host parses the install argument depends on its version:
26
67
 
27
68
  ```
28
69
  plugin_manager install_bundle target=github:chow651/dsh-hackertube
29
70
  ```
30
71
 
72
+ ### Install with npm or pnpm
73
+
74
+ ```
75
+ npm install dsh-hackertube
76
+ ```
77
+
78
+ ```
79
+ pnpm add dsh-hackertube
80
+ ```
81
+
82
+ DSH loads plugins from its profile directory, so installing into an ordinary project has no effect. Install inside that profile directory, add the package name to its `dsh.profile.bundles` array, then restart DSH. The `plugin_manager` command above does all three steps for you. Take the manual route only for scripting or bulk deployment.
83
+
31
84
  After installing, enable `dsh-hackertube` in the plugin list and refresh the page. No configuration, no API key, and no data to fetch beforehand.
32
85
 
33
86
  ## Features
34
87
 
35
- ![Watch page](docs/watch.png)
88
+ ![Watch page](docs/watch-en.png)
36
89
 
37
90
  The panel holds 6,454 videos across 16 areas and 150 categories, ordered by how strongly Hacker News recommends them. The home grid loads 60 cards at first and appends more as you scroll.
38
91
 
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  在 DSH 面板内浏览并播放 Hacker News 二十年间反复推荐的技术视频,无需切换到浏览器。触手可及的高质量英文视频信源,让你的 DeepSeek Harness 变得更丰富有趣。
6
6
 
7
- ![首页](docs/home.png)
7
+ ![首页](docs/home-zh.png)
8
8
 
9
9
  数据集来自 Andrej Karpathy 的 [HackerTube](https://karpathy.bearblog.dev/hacker-tube/)。站点提供完整的数据导出,作者在博客中说明其用途:
10
10
 
@@ -14,25 +14,78 @@
14
14
 
15
15
  原站同样可以直接访问。将其并入面板带来两点差异:一是省去窗口切换,二是提供完整的中文支持,包括标题、分类、摘要与评论。
16
16
 
17
+ ## 分类浏览
18
+
19
+ 6454 个视频按主题归入 16 个大类,每个大类下再细分为 150 个二级分类。不知道看什么的时候,从分类页开始逛。
20
+
21
+ ![分类页](docs/categories-zh.png)
22
+
23
+ | 大类 | 二级分类 | 视频数 |
24
+ |---|---:|---:|
25
+ | 软件工程与编程语言 | 11 | 980 |
26
+ | 系统、网络与安全 | 10 | 702 |
27
+ | AI、机器学习与数据 | 9 | 576 |
28
+ | 数学与理论计算机科学 | 9 | 360 |
29
+ | 硬件与电子 | 8 | 582 |
30
+ | 计算机历史与文化 | 8 | 1026 |
31
+ | 设计、图形与视觉媒体 | 9 | 439 |
32
+ | 商业、创业与经济 | 9 | 644 |
33
+ | 政治、历史与社会 | 9 | 1018 |
34
+ | 物理、太空与化学 | 8 | 600 |
35
+ | 生命科学、心智与健康 | 11 | 598 |
36
+ | 地球、能源与环境 | 8 | 354 |
37
+ | 工程、交通与制作 | 12 | 805 |
38
+ | 游戏与游戏开发 | 8 | 355 |
39
+ | 艺术、喜剧、音乐与电影 | 12 | 1344 |
40
+ | 思想、学习与语言 | 9 | 689 |
41
+
42
+ 一个视频可以同时属于多个大类,所以"视频数"之和大于 6454。
43
+
17
44
  ## 安装
18
45
 
19
46
  需要已安装 DeepSeek Harness 本体。
20
47
 
48
+ ### 一句话让 agent 装
49
+
50
+ 把下面这段发给 DSH 里的 agent,安装、启用、核对都由它完成:
51
+
52
+ ```
53
+ 安装并启用 HackerTube 插件:plugin_manager install_bundle target=dsh-hackertube。
54
+ npm 上取不到就改用 target=github:chow651/dsh-hackertube。
55
+ 装完确认插件列表里 dsh-hackertube 已启用,并提醒我刷新页面。
56
+ ```
57
+
58
+ ### 用插件管理器安装
59
+
60
+ 包已发布到 npm,版本 0.1.1:
61
+
21
62
  ```
22
63
  plugin_manager install_bundle target=dsh-hackertube
23
64
  ```
24
65
 
25
- 未发布到 npm 时,可从 Git 仓库安装。宿主如何解析安装参数取决于版本,失败时改用上一条命令。
66
+ 也可以直接从 Git 仓库安装,宿主如何解析安装参数取决于版本:
26
67
 
27
68
  ```
28
69
  plugin_manager install_bundle target=github:chow651/dsh-hackertube
29
70
  ```
30
71
 
72
+ ### 用 npm 或 pnpm 安装
73
+
74
+ ```
75
+ npm install dsh-hackertube
76
+ ```
77
+
78
+ ```
79
+ pnpm add dsh-hackertube
80
+ ```
81
+
82
+ DSH 从 profile 目录加载插件,在普通项目里安装不会生效。需要在该 profile 目录下安装,把包名加入它的 `dsh.profile.bundles` 数组,然后重启 DSH。上面那条 `plugin_manager` 命令会自动完成这三步,只有在写脚本或做批量部署时才需要手动走一遍。
83
+
31
84
  安装后在插件列表中启用 `dsh-hackertube` 并刷新页面。无需额外配置,无需 API key,也不需要在安装前预取任何数据。
32
85
 
33
86
  ## 功能
34
87
 
35
- ![详情页](docs/watch.png)
88
+ ![详情页](docs/watch-zh.png)
36
89
 
37
90
  收录 6454 个视频,分属 16 个大类与 150 个二级分类,按 HN 推荐力度排序。首页首次加载 60 条,滚动时分批追加。
38
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-hackertube",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "DeepSeek Harness 插件:在面板里看 Hacker News 二十年推荐的 6454 个技术视频",
5
5
  "type": "module",
6
6
  "license": "MIT",