earshot-cli 0.8.0__tar.gz → 0.8.1__tar.gz
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.
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/PKG-INFO +8 -6
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/README.md +6 -4
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/pyproject.toml +2 -2
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/__init__.py +3 -3
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/cli.py +1 -1
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/uv.lock +1 -1
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/.github/workflows/ci.yml +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/.github/workflows/publish.yml +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/.gitignore +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/LICENSE +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/scripts/download_models.sh +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/auth.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/capture.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/compose.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/config.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/deliver.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/extract.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/hardsub.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/live.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/models.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/subtitle.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/transcribe.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/src/earshot/transcribe_cloud.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/conftest.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_auth.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_compose.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_config.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_credential_lifecycle.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_deliver.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_deliver_api.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_do_deliver.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_extract.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_hardsub.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_live.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_me.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_subtitle.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_ua.py +0 -0
- {earshot_cli-0.8.0 → earshot_cli-0.8.1}/tests/test_wizard.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: earshot-cli
|
|
3
|
-
Version: 0.8.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.8.1
|
|
4
|
+
Summary: 媒体剪藏:视频字幕/系统声听录/本地音频/硬字幕OCR 四路摄入,端侧转写 → Markdown → 投递知识库(默认 ExoMind,可插拔)
|
|
5
5
|
Project-URL: Homepage, https://github.com/helloworldtang/earshot
|
|
6
6
|
Project-URL: Repository, https://github.com/helloworldtang/earshot
|
|
7
7
|
Project-URL: Issues, https://github.com/helloworldtang/earshot/issues
|
|
@@ -35,13 +35,15 @@ Description-Content-Type: text/markdown
|
|
|
35
35
|
|
|
36
36
|
# earshot
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
媒体剪藏:**听到看到的,都能进知识库。**
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
给它一条视频链接,或听播客/讲座时开着它,内容自动转写为 Markdown 并投递到你的知识库(默认 [ExoMind 知识飞轮](https://exomind.ai-as.cn),可插拔任意 webhook)。纯端侧转写,无限流、零 API 费用。
|
|
41
41
|
|
|
42
42
|
```
|
|
43
|
-
系统声音 ──录制──> 16k wav ──silero VAD 切段──> SenseVoice 端侧识别(实时字幕)
|
|
44
|
-
视频链接 ──yt-dlp──> 平台字幕(ai-zh/CC)
|
|
43
|
+
系统声音 ──录制──> 16k wav ──silero VAD 切段──> SenseVoice 端侧识别(实时字幕) ─┐
|
|
44
|
+
视频链接 ──yt-dlp──> 平台字幕(ai-zh/CC,高信噪比路线) ─────────────────────────┼──> Markdown ──> 投递(exomind / webhook / 仅存档)
|
|
45
|
+
本地音频 ──文件──> 16k wav ──VAD 切段──> SenseVoice 端侧识别 ──────────────────┤
|
|
46
|
+
硬字幕视频 ──ffmpeg 抽帧──> PaddleOCR(无音轨路线) ─────────────────────────────┘
|
|
45
47
|
```
|
|
46
48
|
|
|
47
49
|
## 安装(开箱即用)
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# earshot
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
媒体剪藏:**听到看到的,都能进知识库。**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
给它一条视频链接,或听播客/讲座时开着它,内容自动转写为 Markdown 并投递到你的知识库(默认 [ExoMind 知识飞轮](https://exomind.ai-as.cn),可插拔任意 webhook)。纯端侧转写,无限流、零 API 费用。
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
系统声音 ──录制──> 16k wav ──silero VAD 切段──> SenseVoice 端侧识别(实时字幕)
|
|
9
|
-
视频链接 ──yt-dlp──> 平台字幕(ai-zh/CC)
|
|
8
|
+
系统声音 ──录制──> 16k wav ──silero VAD 切段──> SenseVoice 端侧识别(实时字幕) ─┐
|
|
9
|
+
视频链接 ──yt-dlp──> 平台字幕(ai-zh/CC,高信噪比路线) ─────────────────────────┼──> Markdown ──> 投递(exomind / webhook / 仅存档)
|
|
10
|
+
本地音频 ──文件──> 16k wav ──VAD 切段──> SenseVoice 端侧识别 ──────────────────┤
|
|
11
|
+
硬字幕视频 ──ffmpeg 抽帧──> PaddleOCR(无音轨路线) ─────────────────────────────┘
|
|
10
12
|
```
|
|
11
13
|
|
|
12
14
|
## 安装(开箱即用)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "earshot-cli"
|
|
3
|
-
version = "0.8.
|
|
4
|
-
description = "
|
|
3
|
+
version = "0.8.1"
|
|
4
|
+
description = "媒体剪藏:视频字幕/系统声听录/本地音频/硬字幕OCR 四路摄入,端侧转写 → Markdown → 投递知识库(默认 ExoMind,可插拔)"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
7
7
|
authors = [{ name = "Jackie" }]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"""earshot
|
|
1
|
+
"""earshot:媒体剪藏 —— 听到看到的都能进知识库。
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
→ 组装 Markdown → 投递(默认 exomind CLI,可插拔 webhook)。
|
|
3
|
+
跨平台桌面端四路摄入:视频字幕(平台已生成文本)/系统声听录(macOS 需 BlackHole)
|
|
4
|
+
/本地音频/硬字幕OCR → 端侧转写 → 组装 Markdown → 投递(默认 exomind CLI,可插拔 webhook)。
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from importlib import metadata as _metadata
|
|
@@ -58,7 +58,7 @@ def _add_common(p: argparse.ArgumentParser) -> None:
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
def build_parser() -> argparse.ArgumentParser:
|
|
61
|
-
parser = argparse.ArgumentParser(prog="earshot", description="
|
|
61
|
+
parser = argparse.ArgumentParser(prog="earshot", description="媒体剪藏:听到看到的都能进知识库")
|
|
62
62
|
parser.add_argument("--version", action="version", version=f"earshot {__version__}")
|
|
63
63
|
sub = parser.add_subparsers(dest="command") # 不带子命令时进入交互向导
|
|
64
64
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|