How apple-pie-h/followpulse works
FollowPulse is a React/Flask dashboard that accepts Instagram follower and following exports, compares them, and presents downloadable results. The primary flow runs from file selection through the frontend API client to Flask parsing, comparison, and session storage, then back to result tabs and exports. A separate optional scan checks non-reciprocal accounts using headless Chrome and reports job progress. The README documents search, sorting, pagination, clipboard, CSV/TXT downloads, and validation; the sampled files do not show every UI detail. The graph omits uncertain parser internals and labels only evidenced relationships.
Main entry points: App.jsx Dashboard flow · app.py HTTP endpoints · inactive_checker.py Inactive checker · api.js API client
Components 15
Dashboard
- File upload
frontend/src/components/FileDropZone.jsx - Dashboard flow
frontend/src/App.jsx - Result counts
frontend/src/components/StatCard.jsx - Result tables
frontend/src/components/ResultsTable.jsx - API client
frontend/src/lib/api.js - Analytics
frontend/src/App.jsx
Backend API
- HTTP endpoints
backend/app.py - Scan job API
backend/app.py
Export Analysis
- Export parser
backend/services/instagram_parser.py - Result comparison
backend/services/instagram_parser.py - CSV/TXT writers
backend/services/instagram_parser.py
Inactive Scan
- Inactive checker
backend/services/inactive_checker.py - Instagram profiles
Session State
- Session and job store
backend/storage/store.py
Other components
- Instagram user
Connections 20
- Instagram user → File upload: chooses files
frontend/src/components/FileDropZone.jsx - File upload → Dashboard flow: selects files
frontend/src/App.jsx - Dashboard flow → API client: submits upload
frontend/src/App.jsx - API client → HTTP endpoints: HTTP requests
- HTTP endpoints → Export parser: detects and extracts
backend/app.py - HTTP endpoints → Result comparison: builds result sets
backend/app.py - HTTP endpoints → Session and job store: creates session
backend/app.py - HTTP endpoints → CSV/TXT writers: writes result files
backend/app.py - HTTP endpoints → Dashboard flow: returns results
- Dashboard flow → Result counts: renders counts
frontend/src/App.jsx - Dashboard flow → Result tables: renders results
frontend/src/App.jsx - Dashboard flow → API client: requests downloads
frontend/src/App.jsx - Dashboard flow → Scan job API: starts and polls
frontend/src/App.jsx - Scan job API → Session and job store: reads session
backend/app.py - Scan job API → Inactive checker: starts scan
backend/app.py - Scan job API → Inactive checker: reads job snapshot
backend/app.py - Inactive checker → Instagram profiles: checks profiles
backend/services/inactive_checker.py - Inactive checker → Session and job store: updates jobs and session
backend/services/inactive_checker.py - Inactive checker → CSV/TXT writers: writes scan exports
backend/services/inactive_checker.py - Dashboard flow → Analytics: renders analytics
frontend/src/App.jsx