This is the data path behind annotated links. It connects the Build Pipeline, where metadata is read and generated, to the Popup System, where annotation fragments are shown to readers.
Reading Path
| Step | Page | Why it matters |
|---|
| 1 | LinkMetadata.hs | Central metadata lookup, annotation creation, and fragment generation |
| 2 | Annotation.hs | Dispatcher that routes URLs to source-specific metadata extractors |
| 3 | GTX.hs | Parser and writer for the line-based metadata database format |
| 4 | LinkMetadataTypes.hs | Shared metadata types used across the backend |
| 5 | annotations.js | Browser-side annotation data loading and caching |
Scrapers and Cleanup
Where It Surfaces