martinopiaggi/summarize
À propos
Video AI summarization from multiple sources (YouTube, X, Instagram, TikTok, Reddit, Facebook, Google Drive, Dropbox, and local files).
Design et médiasProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +3
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalVideo Summarizer
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
Background
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.
Explorer des projets similaires
Chargement…