Cage the Bird
Cage the Bird is a simple Ruby command line application for purging the likes, retweets, and/or tweets of a Twitter account.
You have to set up a Twitter app (link) to give Cage the Bird authorization over your account. Cage the Bird only deletes likes, retweets, and tweets and doesn't send information or otherwise violate your privacy - feel free to delete the Twitter app after use. Please note that Cage the Bird is limited to the REST API limit outlined by Twitter's API documentation.
Use
- Follow instructions in Installation to setup Cage the Bird
- Start Cage the Bird by running
ruby ./cage_the_bird.rb
in the project directory - Enter in
tweets
,retweets
, orlikes
to purge the specified type of content. Note that you can enter in multiple selections (separated by a space, liketweets likes
) orall
to purge all three - Double-check and confirm your selection by entering
yes
- Allow Cage the Bird to run - it can take a while, so grab a coffee, tea, or water while you wait.
Installation
- Clone into the Cage the Bird repo and enter the project directory
- Run
bundle install
in the project directory - Create a new Twitter App (The name, description, and website don't matter)
- Go to 'Keys and Access Tokens' and hit 'Create my access token' under the 'Your Access Token' section
- Create a
config.yml
file in the project directory with your Consumer Key, Consumer Secret, Access Token, and Access Token Secret (You can find an exampleconfig.yml
file inexample_config.yml
)
Contribute
Feel free to contribute to the project by forking and issuing a pull request.
Some feature ideas:
- An ability to purge content that matches a regex that match a provided dictionary file (only purge tweets with curse words, etc)
- An ability to purge content during a certain time period
- "Multithreaded" purging; purge likes, retweets, and tweets simultaneously
- Tests!
Support
Simply open an issue ticket to report any problems or bugs.
License
This project is licensed under the MIT license.