How sinantrn/follow-lens works
Follow Lens is a browser extension that compares Instagram accounts the signed-in user follows with their followers. The workflow starts from the toolbar, restores local state, scans following and followers through Instagram requests, saves resumable progress and completed results, then presents two filtered comparison lists; users can open profiles or unfollow from the non-reciprocal list. The graph reflects the excerpts and README; unsampled panel interactions and manifest wiring are not expanded beyond documented behavior.
Main entry points: panel.js Panel UI · scanner.js List scanner · storage.js Browser storage · content.js Content entry
Components 11
Extension entry
- Toolbar handler
src/background.js - Content entry
src/content.js - Shared state and text
src/core.js
Scan and results
- List scanner
src/scanner.js - List comparison
src/scanner.js
Panel experience
- Panel UI
src/panel.js - Panel styling
src/panel.css - Unfollow controls
src/unfollow.js
Local state
- Browser storage
src/storage.js
Other components
- Extension user
Connections 17
- Extension user → Toolbar handler: clicks toolbar
src/background.js - Toolbar handler → Content entry: sends toggle
src/background.js - Content entry → Browser storage: restores state
src/content.js - Content entry → Panel UI: renders panel
src/content.js - Panel UI → List scanner: starts scan
src/panel.js - List scanner → Instagram: requests lists
src/scanner.js - List scanner → Browser storage: saves progress
src/scanner.js - List scanner → List comparison: compares lists
src/scanner.js - List scanner → Panel UI: updates results
src/scanner.js - Panel UI → List comparison: renders comparison
src/panel.js - Panel UI → Unfollow controls: requests unfollow
src/panel.js - Unfollow controls → Instagram: posts unfollow
src/unfollow.js - Unfollow controls → Browser storage: persists limits
src/unfollow.js - Panel UI → Browser storage: saves settings
src/panel.js - Panel styling → Panel UI: styles panel
- Shared state and text → Panel UI: provides shared state
- Shared state and text → List scanner: provides shared state