AI SOURCE WATCH / 02 / GITHUB RESEARCH / REUSE-FIRST / 2026-09-07

Open-source landscape для Source Watch.

Широкий обзор watcher/diff/feed/event инструментов. Ищем не один «мониторинг-сервис», а набор зрелых компонентов для разных типов источников: HTML, GitHub, RSS/Atom, JSON/API, PDFs и structured releases.

Предварительный вывод: наиболее сильная комбинация для дальнейшего исследования — changedetection.io как general-purpose watcher, urlwatch как лёгкий deterministic diff engine, direct GitHub webhooks/API для repositories и RSSHub/FreshRSS как feed layer. Huginn полезен как orchestration reference, но не выглядит обязательным core.

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

Что подтверждено

Почему хорошо подходит

WatchTarget
→ changedetection watch

SourceSnapshot
→ historical fetch/version

raw diff
→ input to our ChangeClassifier

notification
→ our webhook/event adapter

Сильные стороны

Риски

Статус: PRIMARY FINALIST.

3. urlwatch — lightweight deterministic finalist

Что подтверждено

Почему интересен

Source Watch control plane уже планируется нашим. Поэтому маленький fetch/filter/diff engine иногда лучше огромной платформы.

our scheduler
→ urlwatch-like job
→ normalized content
→ unified diff
→ our classifier
→ ChangeEvent

Плюсы

Минусы

Статус: PRIMARY FINALIST как minimal engine/baseline.

4. GitHub webhooks/API — использовать напрямую

Что подтверждено официальной документацией

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.

Статус: REUSE DIRECTLY как native event source, не через changedetection.io.

5. RSSHub — feed normalization layer

Подтверждено

Роль в Source Watch

site without native RSS
→ RSSHub route
→ normalized feed
→ Source Watch feed consumer
→ new item/event

Плюсы

Риски

Статус: SECONDARY REUSE — source adapter, не core watcher.

6. FreshRSS — feed state/reference

Подтверждено

Роль

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
Статус: OPTIONAL/reference.

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.

Почему не основной выбор

Статус: ARCHITECTURE REFERENCE, не core dependency.

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

Почему

Предварительно: для PDF не нужен отдельный тяжёлый watcher product; лучше переиспользовать Docling + наш diff.

9. Сравнительная матрица

CandidateFetchDiff/historySchedulerAPI/eventDynamic webRole
changedetection.ioSTRONGSTRONGYESREST/notifybrowser pathPRIMARY WATCHER
urlwatchYESSTRONGCLI/job basedintegration customLIMITED/ADAPTLIGHT ENGINE
GitHub webhooksevent nativeevent history oursNO NEEDNATIVEN/ADIRECT EVENT SOURCE
RSSHubroute fetchfeed itemsservice internalRSSsome routesFEED NORMALIZER
FreshRSSfeedsitem stateYESfeed APIs ecosystemN/AOPTIONAL UI/STATE
HuginnYEScustomYESevents/actionscustomORCHESTRATION REF
Docling + our diffexternal fetchSTRUCTUREDoursoursN/APDF/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
Следующий документ: `AI_source_watch_3_детальное_исследование_финалистов.html` — глубокий разбор changedetection.io и urlwatch, плюс точные integration contracts для GitHub webhooks, RSSHub и Docling document diff.

12. Источники исследования