How sahana-652/url-monitor works
URL Monitoring Dashboard lets users register websites and APIs, manage monitoring, and review availability, response-time analytics, history, and alerts. The main runtime path is scheduled checks of active websites, persistence of current status and check history, then down/recovery/SSL email alerts. Web routes provide authentication, website management, dashboard and reports, exports, and administrator statistics. The README also documents the API, charts, filters, and responsive/dark-mode interface. Edges reflect excerpted calls or README capabilities; unsampled route and presentation wiring is omitted.
Main entry points: __init__.py Flask application · websites.py Website management · jobs.py Scheduled jobs · admin.py Admin overview
Components 21
Web experience
- Flask application
app/__init__.py - Configuration
app/config.py - Input forms
app/forms.py - Authentication
app/routes/auth.py - Website management
app/routes/websites.py - Dashboard routes
app/routes/dashboard.py - Chart and report API
app/routes/api.py - Admin overview
app/routes/admin.py - Templates and assets
app/templates
Monitoring
- Scheduled jobs
app/scheduler/jobs.py - URL and SSL checks
app/monitoring/checker.py
Domain records
- Website records
app/models/website.py - User records
app/models/user.py - Monitoring history
app/models/monitoring_log.py - Alert records
app/models/alert.py
Analytics and delivery
- Analytics helpers
app/utils/helpers.py - CSV and PDF export
app/utils/export.py - Alert email
app/utils/email.py
Other components
- User
- Monitored websites
- Email service
Connections 31
- User → Flask application: uses
README.md - Flask application → Configuration: loads
app/__init__.py - Flask application → Authentication: registers
app/__init__.py - Flask application → Dashboard routes: registers
app/__init__.py - Flask application → Website management: registers
app/__init__.py - Flask application → Admin overview: registers
app/__init__.py - Flask application → Chart and report API: registers
app/__init__.py - Authentication → Input forms: validates with
app/routes/auth.py - Authentication → User records: authenticates
app/routes/auth.py - Website management → Input forms: validates with
app/routes/websites.py - Website management → Website records: manages
app/routes/websites.py - Website management → Monitoring history: queries
app/routes/websites.py - Website management → CSV and PDF export: exports via
app/routes/websites.py - Dashboard routes → Analytics helpers: gets statistics
app/routes/dashboard.py - Chart and report API → Analytics helpers: gets report data
app/routes/api.py - Admin overview → User records: counts
app/routes/admin.py - Admin overview → Website records: counts
app/routes/admin.py - Admin overview → Monitoring history: counts
app/routes/admin.py - Admin overview → Alert records: queries
app/routes/admin.py - Flask application → Scheduled jobs: starts
app/__init__.py - Scheduled jobs → Website records: loads and updates
app/scheduler/jobs.py - Scheduled jobs → URL and SSL checks: checks URLs
app/scheduler/jobs.py - Scheduled jobs → Monitoring history: persists checks
app/scheduler/jobs.py - Scheduled jobs → Alert records: records alerts
app/scheduler/jobs.py - Scheduled jobs → Alert email: sends alerts
app/scheduler/jobs.py - Alert email → Email service: sends email
- Monitored websites → URL and SSL checks: receives checks
- Analytics helpers → Website records: queries
app/utils/helpers.py - Analytics helpers → Monitoring history: calculates from
app/utils/helpers.py - User → Templates and assets: views
README.md - Website management → Templates and assets: renders