Skip to content

A program that fetches tweets by using a list of keywords or screen names and then vocalizes them with text-to-speech.

License

Notifications You must be signed in to change notification settings

thomasreynolds4881/TwitterTTSBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwitterTTS

A program that fetches tweets by using a list of keywords or screen names and then vocalizes them with text-to-speech.

Usage

To run tweetreader.py, keys.py must be given authentication keys from a new Twitter app (if you don't know how, try this. Next, download the following modules:

pip install tweepy
pip install pyttsx3
pip install pypiwin32

After this, set up with preferences in config.py and you should be good to go.

Files

  • tweetreader.py: runs the tweet streamer
  • config.py: used to change streaming settings
  • keys.py: location to put Twitter access keys

Libraries

  • Tweepy: streams tweets
  • pyttsx3: used for tts

References

Future Ideas

  • Allow inputing screen names instead of account IDs
  • Allow using screen names and search terms in a single filter
  • Throw it onto a Raspberry Pi with a speaker, stream a junk Twitter in the config, and use it as a mini-Alexa in my dorm room
  • Implement sentiment analysis

About

A program that fetches tweets by using a list of keywords or screen names and then vocalizes them with text-to-speech.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages