https://github.com/lukestorry/weather-downloader
Simple node script to download and archive images for a auto-refreshing weather desktop background, using puppeteer to screenshot from windy.com
https://github.com/lukestorry/weather-downloader
Last synced: about 1 year ago
JSON representation
Simple node script to download and archive images for a auto-refreshing weather desktop background, using puppeteer to screenshot from windy.com
- Host: GitHub
- URL: https://github.com/lukestorry/weather-downloader
- Owner: LukeStorry
- Created: 2022-12-24T19:47:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-23T10:59:20.000Z (over 3 years ago)
- Last Synced: 2025-03-05T11:18:36.922Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Weather Downloader
Simple node script to download and archive images for a auto-refreshing weather desktop background, using puppeteer to screenshot from [windy.com](windy.com), and a mac launchctl plist to auto-run on the hour.

## Installation
```bash
chmod +x ./weather-downloader.js
mkdir -p ~/Library/LaunchAgents
cp ./local.WeatherDownloader.plist ~/Library/LaunchAgents/
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/local.WeatherDownloader.plist
launchctl enable gui/$(id -u)/local.WeatherDownloader.plist
```
## Run
```bash
yarn start
```
or
```bash
launchctl start local.WeatherDownloader
```
## Remove
Unload via
```bash
launchctl remove local.WeatherDownloader
```