Open-source landscape для Source Watch.
Широкий обзор watcher/diff/feed/event инструментов. Ищем не один «мониторинг-сервис», а набор зрелых компонентов для разных типов источников: HTML, GitHub, RSS/Atom, JSON/API, PDFs и structured releases.
1. Критерии Source Watch
HARD: self-hosted API/automation snapshot/history deterministic change detection retries/backoff exportable state CORE: HTML JSON/API RSS/Atom GitHub/release events selectors/filters diff webhooks/notifications noise suppression source availability IMPORTANT: browser rendering auth rate limits proxy support PDF/document handling resource footprint security SourceRef identity mapping
2. changedetection.io — главный general watcher finalist
Что подтверждено
- self-hosted website change detection;
- REST API;
- webpage history/diffs;
- Playwright/browser fetcher path для dynamic pages;
- notification integrations;
- активный проект в 2026: 0.55.x releases и новые PR/issue activity;
- есть работа вокруг AI/LLM intent filters, но это не должно становиться нашей policy.
Почему хорошо подходит
WatchTarget → changedetection watch SourceSnapshot → historical fetch/version raw diff → input to our ChangeClassifier notification → our webhook/event adapter
Сильные стороны
- готовый scheduler;
- готовый fetch + browser fetch;
- selectors/filters;
- history;
- API;
- широкая эксплуатационная зрелость;
- UI для ручной диагностики watchers.
Риски
- наша ChangeEvent taxonomy всё равно custom;
- LLM фильтры проекта не должны заменять наш Qwen classifier;
- нужно проверить точную лицензию текущей версии перед reuse;
- browser fetcher увеличивает footprint;
- PDF semantics не являются его главным native use case;
- нужно проверить export/migration watch state.
3. urlwatch — lightweight deterministic finalist
Что подтверждено
- Python-based webpage watcher;
- watch parts of pages;
- highly configurable;
- unified diff notifications;
- Dockerfile/reproducible CLI path;
- маленькая архитектура по сравнению с full web app.
Почему интересен
Source Watch control plane уже планируется нашим. Поэтому маленький fetch/filter/diff engine иногда лучше огромной платформы.
our scheduler → urlwatch-like job → normalized content → unified diff → our classifier → ChangeEvent
Плюсы
- простая эксплуатация;
- удобный deterministic baseline;
- низкий expected footprint;
- diff first-class;
- легко контейнеризовать отдельно.
Минусы
- не полный API-driven multi-agent service из коробки;
- наш scheduler/state database вероятно всё равно нужен;
- сложные browser-rendered sites требуют отдельного path;
- UI/central operations слабее changedetection.io.
4. GitHub webhooks/API — использовать напрямую
Что подтверждено официальной документацией
- webhooks доставляют события в near-real-time без polling;
- можно подписываться только на нужные event types;
- есть release event;
- есть push, issues, repository advisory и многие другие events;
- repository webhooks можно управлять через REST API;
- webhook secret поддерживается для signature verification;
- fine-grained permissions доступны.
Source Watch mapping
GitHub release webhook → VERSION_RELEASE repository_advisory → SECURITY_CHANGE push to selected docs/changelog paths → CONTENT_CHANGE candidate issue event → event only if watch policy requires
Important
Если webhook доступен, polling репозитория — второй выбор. Webhooks лучше масштабируются и экономят API quota.
Ограничение
Для чужих repositories, где у нас нет admin permission для установки webhook, придётся использовать public API/RSS/polling.
5. RSSHub — feed normalization layer
Подтверждено
- очень активный проект;
- 17k+ commits;
- тысячи routes/instances;
- self-hosted deployment;
- AGPL-3.0;
- превращает множество сайтов/сервисов в RSS feeds.
Роль в Source Watch
site without native RSS → RSSHub route → normalized feed → Source Watch feed consumer → new item/event
Плюсы
- снижает количество custom scrapers;
- хорош для news/releases/blogs;
- event-style updates дешевле full semantic webpage diff.
Риски
- route может ломаться при изменении сайта;
- не видит изменение уже опубликованной старой страницы так же хорошо, как watcher;
- AGPL;
- browser-dependent routes могут быть operationally heavier.
6. FreshRSS — feed state/reference
Подтверждено
- free/self-hostable feed aggregator;
- активные releases, включая 1.29.x;
- поддерживает PostgreSQL/SQLite/MariaDB/MySQL;
- стабильный operational product.
Роль
FreshRSS полезен как готовый human-facing feed inbox и reference для feed polling/state, но Source Watch скорее нуждается в нашем event schema, чем в полноценном reader.
Вывод
RSSHub = feed generation FreshRSS = feed reading/state/UI Our Source Watch = significance + routing
7. Huginn — orchestration reference
Подтверждено
Huginn строит agents, которые читают web, наблюдают events и выполняют действия; events распространяются по directed graph. По сути self-hosted IFTTT/Zapier-style automation.
Почему полезен
Fetcher Agent → Event → Trigger → Transformation → Webhook/Action
Это хороший pattern для Source Watch pipeline.
Почему не основной выбор
- много orchestration capabilities, которые уже будут в ИИшке;
- может дублировать scheduler/routing;
- change semantics/freshness всё равно наши;
- сложнее audit domain decisions через generic agent graph.
8. PDF/document change detection
Не решать byte hash-ом
PDF bytes changed ≠ meaning changed
Recommended reuse with existing stack
new PDF → Docling canonical parse → structured text/tables → canonical hash per block/section → diff → ChangeClassifier
Почему
- metadata/recompression может изменить bytes без semantic change;
- Docling уже выбран reuse-кандидатом в Curator stack;
- можно сравнивать headings/tables/paragraphs, а не PDF binary;
- provenance к page/block сохраняется.
9. Сравнительная матрица
| Candidate | Fetch | Diff/history | Scheduler | API/event | Dynamic web | Role |
|---|---|---|---|---|---|---|
| changedetection.io | STRONG | STRONG | YES | REST/notify | browser path | PRIMARY WATCHER |
| urlwatch | YES | STRONG | CLI/job based | integration custom | LIMITED/ADAPT | LIGHT ENGINE |
| GitHub webhooks | event native | event history ours | NO NEED | NATIVE | N/A | DIRECT EVENT SOURCE |
| RSSHub | route fetch | feed items | service internal | RSS | some routes | FEED NORMALIZER |
| FreshRSS | feeds | item state | YES | feed APIs ecosystem | N/A | OPTIONAL UI/STATE |
| Huginn | YES | custom | YES | events/actions | custom | ORCHESTRATION REF |
| Docling + our diff | external fetch | STRUCTURED | ours | ours | N/A | PDF/DOC PATH |
10. Shortlist
PRIMARY FINALISTS: 1. changedetection.io 2. urlwatch DIRECT REUSE: 3. GitHub webhooks / REST events SECONDARY COMPONENT: 4. RSSHub DOCUMENT PATH: 5. Docling + custom structured diff REFERENCE/OPTIONAL: 6. FreshRSS 7. Huginn
Likely architecture hypothesis
Our Source Watch Core
|
+-- HTTP/HTML Adapter
| changedetection.io OR urlwatch
|
+-- GitHub Event Adapter
| webhook/API
|
+-- Feed Adapter
| RSS/Atom / RSSHub
|
+-- Document Adapter
Docling + structured diff
All outputs
→ our SourceSnapshot
→ our ChangeClassifier
→ our freshness/significance policy
→ Dossier / Researcher / Curator routing
11. Practical spike plan
Shared watch set
20 static HTML pages 10 dynamic JS pages 10 JSON endpoints 10 GitHub repositories 10 release pages 10 RSS/Atom feeds 10 PDFs/manuals plus synthetic controlled pages with known changes.
Golden changes
CSS only navigation only timestamp only one sentence edit warning added version 3.1→3.2 procedure removed number changed PDF re-generated same text PDF semantic paragraph changed 404 once 404 persistent rate limit login expired
Compare changedetection.io vs urlwatch
detection recall false alerts selector/filter ergonomics API automation snapshot export diff quality browser support CPU/RAM 100-watch scheduling 1000-watch projection recovery after restart
Direct adapter tests
GitHub: release webhook push webhook repository advisory duplicate delivery signature verification RSSHub: new item route failure duplicate item changed GUID/content Docling: same semantic PDF different bytes table cell changed warning removed page layout changed only
Decision gates
no silent missed HIGH change cosmetic false-alert rate acceptable state exportable SourceRef IDs preserved bounded retries auth secrets isolated resource fit with Qwen 30B no direct Curator mutation