buckket / twtxt

Decentralised, minimalist microblogging service for hackers.
http://twtxt.readthedocs.org/en/stable/
MIT License
1.91k stars 79 forks source link

Allow to limit timeline by timestamp #80

Open kdave opened 8 years ago

kdave commented 8 years ago

I'd like to do eg. "twtxt timeline --since yesterday", or what's new since last time I check (provided that I save the timestamp of previous check).

timofurrer commented 8 years ago

I've implemented the --since option in #83

I propose to implement another option to get all the tweets since last checked.

What about a --new/-n option and an alias to this command?:

$ twtxt timeline --new
$ twtxt timeline -n
$ twtxt new OR twtxt newest OR twtxt unread 

Any suggestions?

kdave commented 8 years ago

Thanks! Adding '--new' sounds ok to me, this would be more convenient as twtxt would do the work. The option --since would be good for scripting etc so I'd like to keep both ways though they may seem redundant. In addition to that, the pairing option --until would make sense.

Puddinglord commented 8 years ago

Just want to let everyone know that I have implemented the --newtweets/ -nt option. If bukket wants it I can submit a pull request.

timofurrer commented 8 years ago

I think you should just create the PR and then we can discuss it there ...