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 · 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 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.5.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.5.0
File Size Uploaded Provenance Actions
martino_summarize-0.5.0.tar.gz 93.0 kB With provenance Details for martino_summarize-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 166.8 kB

Release files / martino_summarize-0.5.0.tar.gz

Download URL martino_summarize-0.5.0.tar.gz
Size 93.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f5609a2ff9700c26dd8efdd7eb37441c2c54e545249f8477759d821ad4251109
BLAKE2b-256 checksum
How to use checksums
1a595e6d0182ea4a672b5c5bc479f65e2c19848ed151a1b50981c1932f754a67
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 13, 2026.

Transparency log

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

Download URL martino_summarize-0.5.0-py3-none-any.whl
Size 73.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ee35c7458d81deafd9b4ecfc07e55741c026b08fa7c18ef21129669c13496a9
BLAKE2b-256 checksum
How to use checksums
8858dc8537809e339b77efcc36a144d4ba455fe8036f4223338845440eb79e74
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 13, 2026.

Transparency log

Security for martino-summarize 0.5.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.5.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 13, 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