しかもめっちゃ簡単
$> npm install google-home-notifier
IP アドレスを指定する
$> node example.js
Endpoints:
http://192.168.11.14:8091/google-home-notifier
https://d221adc6.ngrok.io/google-home-notifier
GET example:
curl -X GET https://d221adc6.ngrok.io/google-home-notifier?text=Hello+Google+Home
POST example:
curl -X POST -d "text=Hello Google Home" https://d221adc6.ngrok.io/google-home-notifier
example.js