Skip to main content

Video Summarizer

Video summarizer demo

https://github.com/user-attachments/assets/d59e4879-f527-47c0-bdcc-bc512a87ce94

Turn any video — a lecture, TikTok, or Drive recording — into distilled markdown: Q&A, fact-checks, tutorials, Mermaid diagrams, essays, and more.

  • 11+ sources: Local-first summarization for YouTube, Instagram, TikTok, X, Reddit, Facebook, Drive, Dropbox, local files
  • Bring your own API keys: Works with any OpenAI-compatible LLM, Perplexity models, LiteLLM
  • CLI · Streamlit · HTTP API · Telegram bot · Docker · Raycast · Agent skill
  • Transcript cache + optional JEV prefiltering + optional Cobalt sidecar for yt-dlp fallbacks + optional vision mode
  • Optional transcript sidecar: TranscriptFetch fetches YouTube, TikTok, and Instagram transcripts from servers where YouTube blocks downloads

Documentation

https://summarize.martino.im

Background

more on this project

Quick Start

Requires Python 3.10+, ffmpeg on PATH, and an OpenAI-compatible API key in .env. Recommended: install with pipx for an isolated environment.

Groq (GROQ_API_KEY) offers a free tier; OPENAI_API_KEY works with --provider openai.

pipx install martino-summarize
summarizer --init-config
echo "GROQ_API_KEY=your_key_here" > .env
summarizer --source "https://www.youtube.com/watch?v=arj7oStGLkU"

Output: summaries/watch_YYYYMMDD_HHMMSS.md.

Configuration lives in summarizer.yaml and .env.

To use the TranscriptFetch sidecar, add TRANSCRIPTFETCH_API_KEY to .env and run with --sidecar transcriptfetch (or set sidecar: transcriptfetch in summarizer.yaml). See Transcript sidecar.

Prefer Telegram? Create a bot with @BotFather, add TELEGRAM_BOT_TOKEN to .env and run summarizer telegram: send it links, videos, audio or voice messages and get formatted Markdown summaries back. See Telegram Bot.

Prefer Docker?

git clone https://github.com/martinopiaggi/summarize.git && cd summarize
cp summarizer.docker.yaml summarizer.yaml
echo "GROQ_API_KEY=your_key_here" > .env
docker compose up -d    # → http://localhost:8501

Or pull the pre-built image: docker pull ghcr.io/martinopiaggi/summarize:latest.

Contributing

git clone https://github.com/martinopiaggi/summarize.git && cd summarize
pip install -e ".[all]" pytest && pytest tests/

See CONTRIBUTING.md. License: MIT.

Metadata

Release files for martino-summarize 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for martino-summarize 0.6.0
File Size Uploaded Provenance Actions
martino_summarize-0.6.0.tar.gz 142.1 kB With provenance Details for martino_summarize-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for martino-summarize 0.6.0
File Interpreter ABI Platform Actions
martino_summarize-0.6.0-py3-none-any.whl Python 3 none any Details for martino_summarize-0.6.0-py3-none-any.whl

Total release size: 261.4 kB

Release files / martino_summarize-0.6.0.tar.gz

Download URL martino_summarize-0.6.0.tar.gz
Size 142.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2732b4c64bb9d2c6ae21b681648ac43130a6183a2c69c2b7db063d5b08207206
BLAKE2b-256 checksum
How to use checksums
bd7cb304887bd6bd3b5ff8f5dfba467b848d55e572833697fd6d925468988442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / martino_summarize-0.6.0-py3-none-any.whl

Download URL martino_summarize-0.6.0-py3-none-any.whl
Size 119.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4cb4b315740ce0d72a8f6cebf3926800a3f909ce04a956e923efe259be859266
BLAKE2b-256 checksum
How to use checksums
7a8bcb55e243cd03e2e2de350fc059f096879613b624d9a812f00cee114a848b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for martino-summarize 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for martino_summarize-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page