Fast CLI to summarize URLs, local files, and YouTube links.
summarize "https://example.com" --model google/gemini-3-flash-preview
summarize "/path/to/file.pdf" --model google/gemini-3-flash-preview
summarize "https://youtu.be/dQw4w9WgXcQ" --youtube auto
Set the API key for your chosen provider:
OPENAI_API_KEYANTHROPIC_API_KEYXAI_API_KEYGEMINI_API_KEY (aliases: GOOGLE_GENERATIVE_AI_API_KEY, GOOGLE_API_KEY)Default model is google/gemini-3-flash-preview if none is set.
--length short|medium|long|xl|xxl|<chars>--max-output-tokens <count>--extract-only (URLs only)--json (machine readable)--firecrawl auto|off|always (fallback extraction)--youtube auto (Apify fallback if APIFY_API_TOKEN set)7w4.net提供免費和付費技能下載。
Optional config file: ~/.summarize/config.json
{ "model": "openai/gpt-5.2" }
Optional services:
FIRECRAWL_API_KEY for blocked sitesAPIFY_API_TOKEN for YouTube fallback這是一個專門用於總結網頁、檔案和影片的命令列工具。文件寫得清晰易懂,提供了完整的入門指南和配置說明,安裝也很方便(brew一鍵安裝)。不過文件內容相對基礎,缺少常見問題的解答和一些實際使用示例,可能需要使用者自己摸索一些高階用法。整體來說,這是一個實用且配置完善的工具,適合需要快速獲取內容摘要的使用者。