Skip to content

shmulc8/missile-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

missile-alert

Missile Alert App

Updates your Slack status when a Tseva Adom (Red Alert) is detected in Israel. Restores your previous status 10 minutes after the last alert.

Setup

1. Create a Slack App

  1. Go to api.slack.com/appsCreate New AppFrom scratch
  2. Under OAuth & Permissions, add these User Token Scopes:
    • users.profile:read
    • users.profile:write
  3. Click Install to Workspace and copy the xoxp-... token

2. Configure

cp .env.example .env
# Edit .env and paste your token

3. Run

uv run --env-file .env missile_alert.py

Options

--city "תל אביב"   Only trigger for alerts in a specific city (Hebrew name)
--test-alert       Set the alert status and exit (for testing)
--test-clear       Restore previous status and exit (for testing)

Requirements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages