Skip to content

nurtdinovadf/tweetsender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

tweetsender

Get tweets of particular users into your gmail inbox without using twitter app.

So you can follow people you admire and read inspiring ideas without being annoyed with push notifications.

Using the power of email, you can read tweets whenever you want and have all the tweets history in your inbox.

Getting started

pip install python-twitter
  • Create an executable python3 script (say, tsservice.py as follows:
# import the class
from tweetsender import TwSender
# create an instance, load configurations, collect tweets
tws = TwSender()
# send tweets and update userconf.json
tws.send(toaddr_list = ['[email protected]', '[email protected]'])
# clean up after yourself
tws.cleanup()

and save it in the same directory (~/tweetsender).

  • Check if script works (open your terminal and type):
python3 ~/tweetsender/tsservice.py
  • Schedule the script via crontab (check every day in my case):
    • Open your terminal and type:
    crontab -e
    • Add the following line (you can change the freequency as you like it):
    0 6 * * * python3 /path/to/your/home/tweetsender/tsservice.py
    This will run the script every day at 6:00 am

About

Get tweets of particular users into your gmail inbox without using twitter app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages