8000 GitHub - timbeiko/PaigeTurner: Paige Turner helps you spend less time on Twitter and read more books.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

timbeiko/PaigeTurner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Paige Turner helps you spend less time on Twitter and more time reading. Built during CODEX Boston 2016

Installation

Assumes you’ve installed redis, probably from homebrew.

Local

+bundle install+ +foreman start+

Deployment

+heroku git:remote -a paige-turner+ +git push heroku master+

TODO

- Delete / Add book for a user
- Keep track of tweets for the user's current book (`current.user.books.find_by(1)` ?)
  - When a tweet about X book has been sent, it is marked as so
  - When all tweets about X book have been sent for `current_user`, they should all be marked as unsent again
  - Not sure how to implement this intelligently
    - Add field to user with count of tweets sent about current book
    - If the index is >= than their book.tweets.count, then the index is reset to 0
    - Else, the tweet # index+1 is sent to the user.
      ex: 
        A user adds a book which has 10 tweets.
        0 tweets have been sent
        Index is 0
        Tweet 0+1 gets sent
        index is now 1
        ... 24h passes...
        1 tweet has been sent
        index is 1
        Tweet 1+1 gets sent
        index is now 2 
        .... days pass ....
        index is now 10. 
        book.tweets.count == 10
        index gets reset to 0
        Tweet 0+1 gets sent

        ... Something like that.

About

Paige Turner helps you spend less time on Twitter and read more books.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0