Skip to content

A python script to add your tweets to the Day One journalling program for OS X

Notifications You must be signed in to change notification settings

mrdan/tweet-dayone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

tweet-dayone

A python script to add your tweets to the Day One journalling program for OS X. Relies on the Day One CLI.

Make sure to set the following options before running:

  • lastid_filename: a text file to store the id of the last tweet we found
  • twitter_username: your twitter username
  • tweet_count: how many tweets to pull down at a time, the higher the number the less frequently you should run the script. Max is 200.
  • retweets: 1 to include retweets and 0 to exclude them. Retweets are included in the tweet_count total no matter what you pick here
  • tweet_photos: 1 if you want to include photos from tweets in the Day One entries

The script will create a text file to store the id of the newest tweet it's added to Day One, to prevent adding duplicate tweets. It will also create temporary image files to import your photos into your Day One entries. Both of these are created in the directory you run the script from.

Todo:

  • Should probably be using twitter's 1.1 api
  • Favourited tweets (requires auth)

About

A python script to add your tweets to the Day One journalling program for OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages