[go: up one dir, main page]

Skip to content

zmsp/elon-muskr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In musk we trust

This project looks for specific keywords from any twitter account including Elon musk's.

To use this script, Twitter API key is needed. Its free!
https://developer.twitter.com/en/portal/dashboard

The project can be extended to forward messages to slack and use Google Spreadsheet to configure keywords. See EXAMPLE folder for usage.

Screenies

Slack:slack
Google Spreadsheet:google-docs

Running it in a time interval via cron

To install the script on on cron run-

crontab -e
0 6 * * * python3 cd /Users/username/{PROJECT_DIRECTORY} && python3 -m EXAMPLE.slacker > /tmp/cron.log # runs this everyday at 6:00 am and saves log to /tmp/cron.log

https://crontab.guru/examples.html