A NodeJS re-authored of EarthLiveSharp.
Fetch photo of the earth every 5 minutes from himawari-8 (wiki).
-
Clone this repository
git clone https://github.com/oxoooo/earthlivejs.git cd earthlivejs
-
Install necessary libraries for
node-canvas
as describe here -
Install dependencies and start
npm install npm start
-
Set the
images
folder as your wallpaper slides switches every 5 minutes.
Keep the script running, it will fetches the latest image every 5 minutes and cleans outdated images.
You can also use something like forever or pm2 to run the script in the background.