This is just a simple automated destroyer of old tweets and likes to keep my Twitter timeline trimmed.
- Tweets are kept for at least 14 days.
- If a tweet has any interaction (like, retweet or quote tweet), another 14 days are added.
- For each like, 7 more days are added.
- For each retweet, 14 more days are added.
- For each quote tweet, 28 more days are added.
- Any tweet with a limit above 180 days gets to stay for 5 years.
- Likes are kept for at least 5 days, and at most 19 days.
- The number of days is = 5 + 9 * atan((likes+retweets)/50)