{"repo":"cobanov/websum","free":true,"listed":false,"github":"https://github.com/cobanov/websum","clone":"git clone https://github.com/cobanov/websum.git","description":"Summarize web pages and YouTube videos with pluggable LLM backends (Ollama, OpenAI). CLI, library, and Gradio UI.","language":"Python","stars":124,"topics":["langchain","llm","ollama","summarization","cli","gradio","openai","pypi","python","youtube"],"license":"MIT","category":"ai-agents","readme_excerpt":"websum Summarize web pages and YouTube videos with pluggable LLM backends. Ships with first-class support for Ollama (local) and OpenAI , plus an optional Gradio web UI. Installation Using uv : Quickstart Library Swap the backend without touching anything else: CLI Run websum --help for the full command reference. API overview Object Purpose --- --- Summarizer High-level API. summarize(url) , summarize web(url) , summarize youtube(url) , translate(text) . SummarizerConfig Chunking and language settings. OllamaBackend , OpenAIBackend Built-in backends. Frozen dataclasses with .build() . LLMBackend (Protocol) Implement this to plug in any backend. BackendRegistry Map string names to backend classes (used by the CLI). All public names are re-exported from the top-level websum package and listed in all . Custom backends Docker The image starts websum ui by default. Migration from 0.1.x The 0.1.x scripts under app/ ( summarizer.py , translator.py , yt summarizer.py , webui.py ) are gone. Everything moved into the websum package with a typed, importable API. Before After --- --- python app/summarizer.py -u URL websum summarize URL python app/webui.py websum ui from summarizer import setup summarization chain from websum import Summarizer Hardcoded ChatOllama OllamaBackend / OpenAIBackend / custom LLMBackend pip install -r requirements.txt pip install 'websum[ollama]' Development See CONTRIBUTING.md for the full guide. License MIT. See LICENSE.","default_branch":null,"files":null,"tree":[],"storefront":"/r/cobanov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cobanov/websum/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}