获取向日葵 8 号的 Web action 栗子,fork 自 djyde/earthlivejs
Fetch photo of the earth every 5 minutes from himawari-8 (wiki).
-
Clone this repository
git clone https://github.com/TinydustDevelopers/fetch-himawari8.git cd fetch-himawari8
-
Install necessary libraries for
node-canvas
as describe here -
Install dependencies and start
npm install npm start
-
Fetch photo
http://localhost:3000/latest