@steipete/summarize 0.21.2 → 0.21.4
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/CHANGELOG.md +25 -0
- package/README.md +39 -15
- package/completions/summarize.fish +2 -0
- package/dist/esm/daemon/env-snapshot.js +1 -0
- package/dist/esm/daemon/env-snapshot.js.map +1 -1
- package/dist/esm/daemon/native-messaging-install.js +2 -1
- package/dist/esm/daemon/native-messaging-install.js.map +1 -1
- package/dist/esm/llm/cli-exec.js +46 -32
- package/dist/esm/llm/cli-exec.js.map +1 -1
- package/dist/esm/llm/cli-runners/plain.js +59 -2
- package/dist/esm/llm/cli-runners/plain.js.map +1 -1
- package/dist/esm/run/finish-line-lengths.js +4 -3
- package/dist/esm/run/finish-line-lengths.js.map +1 -1
- package/dist/esm/run/flows/asset/summary-attempts.js +22 -4
- package/dist/esm/run/flows/asset/summary-attempts.js.map +1 -1
- package/dist/esm/run/flows/asset/summary.js +7 -3
- package/dist/esm/run/flows/asset/summary.js.map +1 -1
- package/dist/esm/run/flows/url/extraction-session.js +2 -1
- package/dist/esm/run/flows/url/extraction-session.js.map +1 -1
- package/dist/esm/run/flows/url/flow.js +1 -0
- package/dist/esm/run/flows/url/flow.js.map +1 -1
- package/dist/esm/run/help.js +11 -5
- package/dist/esm/run/help.js.map +1 -1
- package/dist/esm/run/runner-flags.js +2 -1
- package/dist/esm/run/runner-flags.js.map +1 -1
- package/dist/esm/run/runner-setup.js +11 -3
- package/dist/esm/run/runner-setup.js.map +1 -1
- package/dist/esm/run/runner-slides.js +11 -6
- package/dist/esm/run/runner-slides.js.map +1 -1
- package/dist/esm/run/runner.js +32 -9
- package/dist/esm/run/runner.js.map +1 -1
- package/dist/esm/run/slides-cli.js +3 -1
- package/dist/esm/run/slides-cli.js.map +1 -1
- package/dist/esm/run/transcriber-cli.js +2 -2
- package/dist/esm/run/transcriber-cli.js.map +1 -1
- package/dist/esm/slides/scene-detection.js +5 -1
- package/dist/esm/slides/scene-detection.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/daemon/env-snapshot.d.ts +1 -1
- package/dist/types/llm/cli-exec.d.ts +2 -1
- package/dist/types/llm/cli-runners/plain.d.ts +6 -0
- package/dist/types/run/flows/asset/summary-attempts.d.ts +5 -1
- package/dist/types/run/flows/url/extraction-session.d.ts +2 -1
- package/dist/types/run/help.d.ts +1 -0
- package/dist/types/run/runner-setup.d.ts +2 -0
- package/dist/types/version.d.ts +1 -1
- package/docs/agent.md +9 -6
- package/docs/chrome-extension.md +3 -0
- package/docs/cli.md +6 -1
- package/docs/commands/summarize.md +5 -3
- package/docs/commands/transcriber.md +4 -4
- package/docs/extract-only.md +1 -1
- package/docs/index.md +1 -1
- package/docs/install.md +1 -1
- package/docs/media.md +2 -1
- package/docs/nvidia-onnx-transcription.md +1 -1
- package/docs/transcript-provider-flow.md +5 -4
- package/docs/website.md +1 -1
- package/docs/youtube.md +4 -4
- package/package.json +3 -3
package/docs/youtube.md
CHANGED
|
@@ -16,7 +16,7 @@ YouTube URLs use transcript-first extraction.
|
|
|
16
16
|
- `web`: try `youtubei` → `captionTracks` only
|
|
17
17
|
- `no-auto`: try creator captions only (skip auto-generated/ASR) → `yt-dlp` (if configured)
|
|
18
18
|
- `apify`: Apify only
|
|
19
|
-
- `yt-dlp`: download audio + transcribe (Groq first; then local
|
|
19
|
+
- `yt-dlp`: download audio + transcribe (Groq first; then local ONNX/`whisper.cpp`; then AssemblyAI/Gemini/OpenAI/FAL/Deepgram fallback)
|
|
20
20
|
|
|
21
21
|
## `youtubei` vs `captionTracks`
|
|
22
22
|
|
|
@@ -35,9 +35,9 @@ YouTube URLs use transcript-first extraction.
|
|
|
35
35
|
- Apify is an optional fallback (needs `APIFY_API_TOKEN`).
|
|
36
36
|
- By default, we use the actor id `faVsWy9VTSNVIhWpR` (Pinto Studio’s “Youtube Transcript Scraper”).
|
|
37
37
|
- `yt-dlp` requires the `yt-dlp` binary (either set `YT_DLP_PATH` or have it on `PATH`) and either local `whisper.cpp` or one of `GROQ_API_KEY`, `ASSEMBLYAI_API_KEY`, `GEMINI_API_KEY`, `OPENAI_API_KEY`, `FAL_KEY`, or `DEEPGRAM_API_KEY`.
|
|
38
|
-
-
|
|
39
|
-
- Gemini
|
|
40
|
-
-
|
|
38
|
+
- Remote cloud fallback order after Groq/local providers is AssemblyAI, Gemini, OpenAI, FAL, then Deepgram.
|
|
39
|
+
- Gemini handles larger uploads via the Files API and defaults to `gemini-2.5-flash`; override with `SUMMARIZE_GEMINI_TRANSCRIPTION_MODEL`.
|
|
40
|
+
- Deepgram defaults to `nova-3`; override with `SUMMARIZE_DEEPGRAM_TRANSCRIPTION_MODEL`.
|
|
41
41
|
|
|
42
42
|
## Example
|
|
43
43
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steipete/summarize",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.4",
|
|
4
4
|
"description": "Link → clean text → summary.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"summarize": "./dist/cli.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"osc-progress": "^0.3.1",
|
|
44
44
|
"tokentally": "^0.1.1",
|
|
45
45
|
"undici": "8.5.0",
|
|
46
|
-
"@steipete/summarize-core": "0.21.
|
|
46
|
+
"@steipete/summarize-core": "0.21.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^24.13.2",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"happy-dom": "^20.10.6",
|
|
54
54
|
"oxfmt": "0.56.0",
|
|
55
55
|
"oxlint": "^1.71.0",
|
|
56
|
-
"oxlint-tsgolint": "^0.
|
|
56
|
+
"oxlint-tsgolint": "^0.24.0",
|
|
57
57
|
"rimraf": "^6.1.3",
|
|
58
58
|
"typescript": "^6.0.3",
|
|
59
59
|
"vitest": "^4.1.9"
|