martinopiaggi/summarize
关于
Video AI summarization from multiple sources (YouTube, X, Instagram, TikTok, Reddit, Facebook, Google Drive, Dropbox, and local files).
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +3
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Video 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.
探索相关项目
加载中…