Skip to content

idk, i need some notifications from random scripts, so this is it

Notifications You must be signed in to change notification settings

Castrozan/notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Endpoint Availability Monitor

This script periodically checks the availability of an API endpoint and sends an SMS notification if the endpoint goes down or comes back online.

Features

  • Checks the availability of a specified API endpoint.
  • Sends SMS notifications using Twilio when the endpoint status changes.
  • Uses environment variables for configuration (stored in .env).

Prerequisites

  • Python 3.11
  • Twilio account (for sending SMS notifications)
  • python-dotenv package (for loading environment variables)

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/your-repo.git
    cd your-repo
  2. Run the project
    nix-shell --run "python app.py"

About

idk, i need some notifications from random scripts, so this is it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published