https://github.com/andrewn/radiodan-tweeter
https://github.com/andrewn/radiodan-tweeter
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrewn/radiodan-tweeter
- Owner: andrewn
- Created: 2016-02-14T14:20:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-14T14:36:12.000Z (over 10 years ago)
- Last Synced: 2025-01-13T13:31:50.383Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tweeter
===
Simple example that uses [Radiodan](http://radiodan.net) to listen to a user's timeline and speak new tweets.
Install
---
1. Clone this repo
2. `npm install`
3. `cp .env.example .env`
4. Put your Twitter credentials in `.env`
Running
---
npm start
When a Tweet comes in, it's passed through a text-to-speech system to generate `audio/tweet.wav` and then the file is played by radiodan.
On OS X this is the built-in [`say`](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/say.1.html) command.
[`pico2wav`](http://rpihome.blogspot.de/2015/02/installing-pico-tts.html) is also supported for systems like the Raspberry Pi.
Other systems can be added in `src/speech/index.js`.