All Projects β†’ petarov β†’ shut-up-bird

petarov / shut-up-bird

Licence: MIT License
🐦 Put your tweets/likes in an EPUB and delete them like a boss

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to shut-up-bird

Twurl
OAuth-enabled curl for the Twitter API
Stars: ✭ 1,648 (+7390.91%)
Mutual labels:  twitter, twitter-api
Twitter Bot
Node js twitter bot to send auto welcome message for your new followers
Stars: ✭ 184 (+736.36%)
Mutual labels:  twitter, twitter-api
Twitwork
Monitor twitter stream
Stars: ✭ 133 (+504.55%)
Mutual labels:  twitter, twitter-api
Twitterbot
Several PHP scripts for making Twitter bots that retweet certain terms, or post from a data source (rss, database, markov body, picture folder).
Stars: ✭ 106 (+381.82%)
Mutual labels:  twitter, twitter-api
labs-sample-code
Sample code for Twitter Developer Labs
Stars: ✭ 25 (+13.64%)
Mutual labels:  twitter, twitter-api
Awesome Twitter Tools
A curated list of awesome twitter tools
Stars: ✭ 113 (+413.64%)
Mutual labels:  twitter, twitter-api
Twitter Api Php
The simplest PHP Wrapper for Twitter API v1.1 calls
Stars: ✭ 1,808 (+8118.18%)
Mutual labels:  twitter, twitter-api
Autohook
Automatically setup and serve webhooks for the Twitter Account Activity API
Stars: ✭ 67 (+204.55%)
Mutual labels:  twitter, twitter-api
Harpy
A Twitter app built with Flutter
Stars: ✭ 211 (+859.09%)
Mutual labels:  twitter, twitter-api
Tweetledee
A PHP library that provides an incredibly easy way to access Twitter data as JSON or RSS feed by URL or standard CLI syntax.
Stars: ✭ 208 (+845.45%)
Mutual labels:  twitter, twitter-api
Tia
Your Advanced Twitter stalking tool
Stars: ✭ 98 (+345.45%)
Mutual labels:  twitter, twitter-api
Egg Mode
a twitter api crate for rust
Stars: ✭ 249 (+1031.82%)
Mutual labels:  twitter, twitter-api
Tweetview
This project is an example Android Twitter feed reader app from the Codehenge Android development tutorials.
Stars: ✭ 75 (+240.91%)
Mutual labels:  twitter, twitter-api
Twitter Python Ads Sdk
A Twitter supported and maintained Ads API SDK for Python.
Stars: ✭ 114 (+418.18%)
Mutual labels:  twitter, twitter-api
21 Recipes
πŸ“• An R/rtweet edition of Matthew A. Russell's Python Twitter Recipes Book
Stars: ✭ 69 (+213.64%)
Mutual labels:  twitter, twitter-api
Csscreatures
Make a creature by tweeting to @csscreatures
Stars: ✭ 144 (+554.55%)
Mutual labels:  twitter, twitter-api
Twitter.jl
Julia package to access Twitter API
Stars: ✭ 58 (+163.64%)
Mutual labels:  twitter, twitter-api
Likelo
Twitter auto like bot, Under DevelopmentπŸ‘·, Pre Alpha
Stars: ✭ 64 (+190.91%)
Mutual labels:  twitter, twitter-api
Twitter To Sqlite
Save data from Twitter to a SQLite database
Stars: ✭ 203 (+822.73%)
Mutual labels:  twitter, twitter-api
Twitterdelete
πŸ’€ Delete your old, unpopular tweets.
Stars: ✭ 231 (+950%)
Mutual labels:  twitter, twitter-api

Shut Up Bird

Archives your tweets in an EPUB book and then optionally deletes them.

Things you could do:

  • Get rid of your old tweets or likes but still have them nicely organized somewhere.
  • An annual archive of your twitter activty.
  • Setup a cron job to regularly clean up your status.
  • Archive someone else's tweets for your own viewing pleasure.
  • Read your own tweets in your favourite e-book reader app and cry.

Installation

Requires Python 2.7 or 3.x.

Packages

To install on ArchLinux from AUR run:

yaourt -S shut-up-bird

Manual

Run make or pip install -r requirements.txt.

Setup

Create a new Twitter application. The name shouldn't matter.

Open the app's Permissions page and make sure Read and Write is selected, otherwise shut-up-bird will not be able to delete anything.

Run without any parameters to initialize:

$ python shut-up-bird.py
Please provide your Twitter app access keys

Enter the consumer API key:

Consumer API Key: <25-chars>

Enter the consumer API secret:

Consumer API Secret: <50-chars>

A Twitter authentication request page should automatically open in your browser. If not or if you're running this on a server, open the url generated below in your browser.

Authenticating ...please wait
Opening url - https://api.twitter.com/oauth/authorize?oauth_token=<token>

Accept the Twitter authorization request and enter the verification code back in the console:

Verification PIN code: 7654321

All authorization parameters will now be saved to your home directory in ~/.shut-up-bird.conf.

That's it. You're ready to go. πŸ‘Œ

Usage

Show help πŸ‘€

python shut-up-bird.py -h 

Archive all of your tweets until Dec 31, 2014 and then delete them from Twitter. Tweets will be saved in ascending date order. Verbose logs will be displayed.

python shut-up-bird.py -v --max-date "2014-12-31" --asc --remove 

Archive all of your likes until Dec 31, 2014 and then delete them from Twitter. Likes will be saved in ascending date order. Verbose logs will be displayed.

python shut-up-bird.py -v --likes --max-date "2014-12-31" --asc --remove

Archive all of your tweets posted before the tweet with id 123456789012345678. Tweets will be saved in descending date order. No tweets will be deleted.

python shut-up-bird.py -v -id 123456789012345678

The same as above but skips all replies and retweets.

python shut-up-bird.py -v -id 123456789012345678 -rt -re

Generated epub files are found in the sub folder ./shut-up-bird.arch, e.g., ./shut-up-bird.arch/2017-03-05_1000/tweets.epub.

Note that you must explicitly specify the --remove parameter in order to delete tweets or likes. To prevent inconsistencies, tweets or likes will be deleted only after an epub file was successfully created first.

License

MIT License

Disclaimer

Please note that I SHALL NOT be held liable in case you lose your data using this script! 
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].