How antibot4navalny/metabot works
Metabot is a browser extension that highlights suspected bot accounts in Twitter posts. The principal workflow is: the extension refreshes legacy and manual account labels from GitHub, stores them locally, and the page script combines those labels with bundled labels to annotate matching tweets. Storage access is shared through a small helper. The README establishes the user-facing capability; the sampled source shows the refresh, storage, and page-marking behavior. Other declared files are unused or development-only and are omitted.
Main entry points: metabot.js Tweet annotator · background.js Label refresh · common_impex.js Storage helper · labels.json Bundled labels
Components 8
Label updates
- Label refresh
sources/background.js
Extension runtime
- Storage helper
sources/common_impex.js - Browser local storage
Tweet highlighting
- Tweet annotator
sources/metabot.js - Bundled labels
assets/labels.json
Other components
- Twitter user
- Twitter page
- GitHub label files
Connections 9
- Twitter user → Twitter page: views tweets
README.md - Twitter page → Tweet annotator: enables highlighting
README.md - Label refresh → GitHub label files: fetches labels
sources/background.js - Label refresh → Storage helper: reads dates
sources/background.js - Label refresh → Browser local storage: writes labels
sources/background.js - Storage helper → Browser local storage: reads values
sources/common_impex.js - Tweet annotator → Storage helper: loads cached labels
sources/metabot.js - Tweet annotator → Bundled labels: loads labels
sources/metabot.js - Tweet annotator → Twitter page: marks matching tweets
sources/metabot.js