Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

gerritvreeman/aurora_watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aurora watch

Monitor the aurora and get push notifications.

Installation

Install uv

curl -LsSf https://astral.sh/uv/install.sh | sh

Add an .env file with the following variables:

OPENWEATHER_API_KEY=your_openweather_api_key
OPENAI_API_KEY=your_openai_api_key
FAIRBANKS_LAT=64.8378
FAIRBANKS_LON=-147.7164
POKER_FLAT_IMAGE_URL="https://allsky.gi.alaska.edu/PKR/latest-cam.jpg"
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id

For local development, we use Infisical to manage environment variables. Install the Infisical CLI, ensure you're logged in (infisical login), and export the environment variables (infisical export > .env)

Run aurora.py every 15 min with a cronjob:

crontab -e

and add

*/15 * * * * /root/.local/bin/uv run /root/aurora_watch/aurora.py > /root/aurora_watch/aurora_cron.log 2>&1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages