Summarize any URL, PDF, image, audio file, or YouTube video from the command line using your preferred AI model.
npx clawhub@latest install summarizeRequirements
Summarize is a fast CLI tool that condenses URLs, local files, and YouTube links into digestible summaries. It supports multiple AI providers (OpenAI, Anthropic, xAI, Google Gemini) and handles a wide range of content types including web pages, PDFs, images, audio, and YouTube videos. Optional integrations with Firecrawl and Apify extend coverage to paywalled or bot-protected sites and YouTube transcripts.
npx clawhub@latest install summarizeClick the Install button at the top of this page for one-click setup
--json) for downstream automation or data pipelines.Summarize handles web URLs, local PDFs, images, audio files, and YouTube links in a single unified CLI. No need to preprocess or convert files before summarizing.
Choose from OpenAI, Anthropic, xAI (Grok), or Google Gemini by setting the appropriate API key and passing --model. The default model is google/gemini-3-flash-preview if no model is specified.
Use --length short|medium|long|xl|xxl|<chars> or --max-output-tokens to precisely control how long the output summary is, from a quick one-liner to an extended breakdown.
Set FIRECRAWL_API_KEY to automatically fall back to Firecrawl for sites that block standard scraping. For YouTube, APIFY_API_TOKEN enables transcript extraction via Apify when the default method fails.
The --json flag outputs structured summaries suitable for piping into scripts, automation workflows, or other tools without any extra parsing.
Point Summarize at a PDF or arXiv URL and get a concise summary in seconds, letting you decide quickly whether a paper warrants a full read.
Run summarize "https://youtu.be/..." --youtube auto to get a text summary of any YouTube video's content without watching it, using Apify as a fallback for transcript extraction.
Use --json output to pipe summaries of multiple URLs or files into a downstream script, building daily briefings or automated newsletters from curated sources.
Summarize any article or documentation page from your terminal in a single command, with Firecrawl fallback ensuring coverage even on bot-protected sites.
OPENAI_API_KEY), Anthropic (ANTHROPIC_API_KEY), xAI (XAI_API_KEY), Google Gemini (GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY).FIRECRAWL_API_KEY) (optional) — Enables fallback extraction for paywalled or bot-protected websites.APIFY_API_TOKEN) (optional) — Enables YouTube transcript extraction fallback via Apify.npx clawhub@latest install summarizeRequirements
Log in to write a review
No reviews yet. Be the first to share your experience!