Skip to content

danrashid/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather

Cache the last 3 hours of https://radar.weather.gov/ridge/standard/CONUS-LARGE_loop.gif and play them in a loop.

Setup

  • $ cp weather_cron_example weather_cron
  • Adjust the contents of weather_cron as needed
  • $ sudo chown root:root weather_cron
  • $ sudo ln -s $(pwd)/weather_cron /etc/cron.d/
  • Symlink the contents of ./public/ into place (e.g. /var/www/html/)
  • Make sure your HTTP server has streaming support enabled

Testing

PHP_CLI_SERVER_WORKERS=2 php -S localhost:9000 -t ./public/

About

Shows the last 3 hours of NWS radar for CONUS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published