Tweetを読み上げる
特に他意はないのですが、Mac OSでtweetをリアルタイムで読み上げさせてみました(Ruby)。内容によって日本語が不自然な場合が多いですが、将来的にはMacのTwitterクライアントの標準機能になりそうな可能性を感じます。視覚より聴覚で知らせてくれる方が、いいですね。しばらく常駐させてみます。
# encoding: utf-8 require 'tweetstream' TweetStream.configure do |config| config.consumer_key = 'xxx' config.consumer_secret = 'xxx' config.oauth_token = 'xxx' config.oauth_token_secret = 'xxx' config.auth_method = :oauth end TweetStream::Client.new.userstream do |status| str = status.text str.gsub!(/http:\S+/, '') seg = "tweet from #{status.user.name}、#{str}" `echo 'RATE 270 #{seg}' | say -v 'kyoko'` end