Code Monkey home page Code Monkey logo

say-hubot's Introduction

say-hubot

hubotにTwitterのTLを読み上げさせたりするやつです(mac用)

  • 発言を取得してsayコマンドを使って喋ります

  • 先頭がスペースの場合は喋りません。(/^[^\s].*$/)

準備

  • システム環境設定>音声入力と読み上げ>テキスト読み上げから日本語用音声(Kyoko, Otoya)を設定

  • 環境変数でexport SAY_HUBOT_ENGLISH_VOICE="Alex", export SAY_HUBOT_JAPANESE_VOICE="Otoya"のように英語・日本語音声を指定

  • アダプターごとの環境変数を保存

  • bin/hubot -a {adopter_name}で受付開始

メモ

hubot-twitter-userstreamを使う場合&自分の発言を拾わせたい場合はnode_modules/hubot-twitter-userstream/src/twitter-userstream.coffeestream.on 'tweet', (tweet) =>の次の行(63行目)をコメントアウトするとできる

say-hubot's People

Contributors

matsu-chara avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.