GithubHelp home page GithubHelp logo

pkharsimran / universalwebtracker Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 51 KB

๐Ÿ” Effortlessly monitor any website with our versatile Python script, originally designed for tracking Cortex agent version updates. Stay informed with prompt alerts whenever there are updates or changes, ensuring you're always equipped with the latest information.

Home Page: https://harsim.ca/UniversalWebTracker/

Python 79.02% Dockerfile 20.98%
docker monitoring python website-monitoring universal-web

universalwebtracker's Introduction

UniversalWebTracker

๐ŸŒ Monitor any website with ease using the UniversalWebTracker. Initially designed to track Cortex agent version updates, this versatile Python script is now equipped to monitor any website of your choice. Stay informed with timely alerts whenever there are changes, keeping you ahead with the latest updates.

Key Features

Versatile Website Monitoring

  • Broaden Your Horizons: Originally crafted for Cortex agent versions, this script is adaptable to monitor changes on any website. Simply configure the target URL to switch between different websites seamlessly.

Docker Integration

  • Containerized for Flexibility: The script is encapsulated within Docker, ensuring a consistent environment and easy deployment, irrespective of the target website.
  • Automated Checks with Cron: Deployed as a Docker container, the script utilizes cron for scheduled and automated monitoring, reducing the need for manual oversight.

User-Friendly and Efficient

  • Resource-Efficient Operation: Designed to be light on resources, the script smartly checks for updates, ensuring efficient operation without compromising responsiveness.
  • Easy to Configure and Use: With straightforward configuration steps, the script can be set up quickly to start monitoring your website of choice.

Embrace the power of automation and versatility with UniversalWebTracker โ€“ your go-to solution for keeping tabs on any website efficiently and effortlessly.

How It Works

1. Target URL Configuration

  • Users configure the script to monitor a specific URL. This flexibility allows tracking of virtually any website.

2. Fetching and Analyzing Content

  • The script periodically sends an HTTP request to the targeted URL to fetch the current webpage content.
  • It computes a SHA-256 hash of current content

3. Change Detection Mechanism

  • The script compares the newly computed hash with a previously stored hash (from the last check).
  • A difference in hashes indicates a change in the webpage content.

4. Notifications and Logging

  • When a change is detected, the script logs this event.
  • It can be configured to send notifications or alerts to inform users about these changes.

Advanced Features

Cron Job Scheduling

  • The script is integrated with a cron job within a Docker container. This setup automates the process, with the script running at regular intervals defined in the cron schedule.

Docker Integration

  • Dockerfile Creation: A Dockerfile is created to define the script's running environment. This file includes instructions for setting up Python, installing necessary dependencies, and configuring the cron job.
  • Isolated Environment: Running the script inside a Docker container ensures an isolated and consistent environment, regardless of the deployment platform.
  • Cron Setup in Docker: The Dockerfile includes steps to set up a cron job that regularly triggers the script. This approach automates the monitoring process, making it more reliable and efficient.

Usage

  • Configure the URL: Set the target website URL in the script.
  • Deploy with Docker: Build the Docker container using the provided Dockerfile. This container includes everything needed to run the script.
  • Automated Monitoring: Once deployed, the script will automatically check the specified website at intervals defined in the cron job.

universalwebtracker's People

Contributors

pkharsimran avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.