Summarize 网页与媒体摘要工具
生成网页和视频摘要并提取关键幻灯片。
使用前,准备这些
输入素材:研究问题、来源范围与输出要求
- 在下方原始文档中确认支持的 AI 工具、模型和运行依赖。
- 打开原仓库,按作者的安装说明完成配置;模型 API 或外部服务可能需要单独开通。
- 用自己的素材试运行,再检查事实、版式与输出文件。
许可证:MIT
来源快照:2026-09-15。README ↗
原项目许可证与版权声明
MIT License Copyright (c) 2026 Peter Steinberger Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
可以这样开始
Summarize 📝 — Link in, signal out.
Summarize extracts clean text and produces summaries from web pages, files, YouTube videos, podcasts, and other audio or video. Use it from the Node.js CLI or from the Chrome Side Panel and Firefox Sidebar.
$ summarize "https://example.com" --extract --plain
This domain is for use in documentation examples without needing permission. Avoid use in operations.
[Learn more](https://iana.org/domains/example)
Install
Run it once without installing:
npx -y @steipete/summarize --version
Or install the CLI with npm or Homebrew:
npm install --global @steipete/summarize
brew install summarize
The npm package requires Node.js 24 or newer. Homebrew/core and the macOS archives on GitHub Releases provide standalone builds. See the installation guide for optional media tools and platform notes.
Quick start
Extract readable content without an API key:
summarize "https://example.com" --extract --plain
For a model-generated summary, configure a supported provider or use an authenticated coding CLI:
summarize "https://example.com" --cli codex
The default auto model chooses among configured providers. The five-minute quickstart covers API keys, local models, files, YouTube, podcasts, and JSON output.
Turkish
Select Turkish summaries with either spelling:
summarize "https://example.com" --language tr
summarize "https://example.com" --language turkish
For Turkish CLI help and progress text, use --locale tr or set
SUMMARIZE_LOCALE=tr. English remains the default interface language.
What it handles
| Input | Processing path |
|---|---|
| Web pages | Readability extraction, with optional Markdown and Firecrawl fallbacks |
| PDFs, images, and text files | File-aware extraction and model attachments where supported |
| YouTube and podcasts | Published transcripts first, then configured transcription fallbacks |
| Audio and video | Local or cloud transcription, with optional speaker labels |
| Video slides | Scene-based frames, optional OCR, and timestamped output |
Use --extract when you only need clean content, --json for a stable automation envelope, and --slides for video frames. The command reference documents every flag.
Browser extension
Install Summarize Side Panel from the Chrome Web Store to summarize the active tab, chat with its content, and work with video transcripts and slides.
Direct mode runs without a companion service. Browser media uses Chrome capabilities for local transcription and slide extraction; the optional daemon adds CLI model backends, native media tools, OCR, shared caches, and Firefox media support.
To pair the installed CLI, copy the token shown by the extension and run:
summarize daemon install --token <TOKEN>
See the extension setup and architecture and troubleshooting guide.
Media and slides
Summarize prefers existing captions and podcast transcripts before it transcribes media. Native ffmpeg, yt-dlp, and tesseract extend codec, YouTube slide, and OCR support; a bundled WebAssembly FFmpeg path covers common media without a native install.
The focused guides describe YouTube extraction, media routing, slides, and local ONNX transcription.
Models and configuration
Model IDs use provider/model names. Summarize works with configured API providers, OpenAI-compatible endpoints, Ollama, OpenRouter free models, and authenticated coding CLIs such as Codex, Claude, Gemini, OpenClaw, and GitHub Copilot.
Configuration lives at ~/.summarize/config.json; command-line flags take precedence. Inspect the effective setup without exposing keys:
summarize status
Read the model guide, automatic selection rules, CLI provider guide, and configuration reference for the full setup.
Library
For programmatic extraction without the CLI dependency surface, install @steipete/summarize-core:
npm install @steipete/summarize-core
The package exports focused content and prompt entry points. See the core package README for usage.
Documentation
Start with the documentation index, then follow the guide for your task:
- Installation and quickstart
- Commands and configuration
- Website extraction and Firecrawl fallback
- YouTube, media, and slides
- Agent skill for automated workflows
Development
Requires Node.js 24 and pnpm 11.25.0.
pnpm install --frozen-lockfile
pnpm build
pnpm check
See CONTRIBUTING.md for repository layout and extension workflows.
License
MIT. See LICENSE.