Skip to content

Simple app that scans the health of an array of URLs

Notifications You must be signed in to change notification settings

mmarcotte/url-scanner

Repository files navigation

URL Scanner

This simple app is to help me monitor the health of a collection of URLs. The goal is to make sure that all of them are returning 200 status codes, and if not do something to make that obvious.

Setup

  1. make sure python and flask is installed
  2. make sure a PostgreSQL database is ready, and specify the following environment variable:
    export DATABASE_URL=postgres://example.com
    
  3. Ensure the application environment variable is set
    export FLASK_APP=app.py
    
  4. Install requirements
    pip3 install -r requirements.txt
    
  5. Run the application
    flask run
    
  6. Browse to the /install endpoint to setup the tables and add some sample data

About

Simple app that scans the health of an array of URLs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published