Momijinn / googlehome_tiwttertrends

GoogleHomeにTwitterのトレンドを喋らせる

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

googlehome_twittertreand

googlehomeにTwitterのトレンドを喋らせるプログラム

Description

GoogleHomeとiftttとRaspberryPiを利用して"ねぇGoogle Twitterのトレンド"と話しかけると現在時間におけるTwitterのトレンドを読み上げるプログラム

Demo

Requirement

  • RaspberryPi

  • Node.js

    • -必要なモジュール-
    • node-express
    • body-parser
    • ngrok
    • google-home-notifier
    • Twitter
  • ifttt

  • GoogleHome

  • Twitter API

Usage

image

Install

  1. TwitterのAPIを取得後TOKENなどを追加
var client = new Twitter({
    consumer_key: 'YOUR_TWITTER_KEY',
    consumer_secret: 'YOUR_TWITTER_SECRET',
    access_token_key: 'YOUR_TWITTER_TOKEN_KEY',
    access_token_secret: 'YOUR_TWITTER_TOKEN_SECRET'
});
  1. 必要なNodeモジュールのインストール

  2. iftttでGoogleHomeとRaspberryPiを結びつける

詳細は下記のURL参照

URL

Licence

This software is released under the MIT License, see LICENSE.

mark.png

Author

Twitter

Blog

About

GoogleHomeにTwitterのトレンドを喋らせる

License:MIT License


Languages

Language:JavaScript 100.0%