How jyoti-ranjan-rout/internet-complaint-bot works
Internet Complaint Bot is a small Python app that measures network speeds and, after three consecutive below-threshold results, drafts and emails an ISP complaint. main.py orchestrates the workflow; internet.py drives the browser-based speed test. The README documents environment-based credentials and the Gemini/Gmail integrations. A Twitter-login method exists in internet.py, but it is not part of the documented complaint workflow and is not invoked by the runner. The graph reflects the excerpts and README; other source behavior was not inspected.
Main entry points: main.py Workflow Runner · internet.py Browser Speed Test · .env Environment Credentials
Components 11
Speed Monitoring
- Browser Speed Test
internet.py - Threshold Verification
main.py - Speed Reports
main.py
Complaint Workflow
- Workflow Runner
main.py - Complaint Generation
main.py - Email Delivery
main.py
External Services
- Speedtest Website
- Gemini API
- Gmail SMTP
- Environment Credentials
.env
Other components
- Operator
Connections 11
- Operator → Workflow Runner: starts
README.md - Workflow Runner → Browser Speed Test: runs tests
main.py - Browser Speed Test → Speedtest Website: measures speeds
internet.py - Workflow Runner → Threshold Verification: checks thresholds
main.py - Threshold Verification → Speed Reports: records results
main.py - Threshold Verification → Complaint Generation: triggers after three
main.py - Complaint Generation → Gemini API: requests draft
main.py - Gemini API → Email Delivery: returns draft
main.py - Email Delivery → Gmail SMTP: sends complaint
main.py - Workflow Runner → Environment Credentials: loads settings
main.py - Browser Speed Test → Environment Credentials: loads settings
internet.py