8000 GitHub - mboggie/selfdestruct
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mboggie/selfdestruct

Repository files navigation

Self-destructing Tweets

A service that will monitor authenticated tweet streams and destroy tweets on your behalf

Status

Once properly installed and configured, tweets will be reliably deleted. Most cases of error and exception have been handled and tested. Optimizations, including temporary suspension, will follow at a later time. Pull requests are welcome.

Requirements

  • Uses the Twython library for Twitter authentication
  • Uses Redis to store user credentials and count tweets it's deleted
  • Uses beanstalk to schedule deletion using the delay parameter for each job
  • Expects you to have saved a local config file (.cfg) with consumer tokens, beanstalk and redis ports, etc. (use sample.cfg as a guide)
  • Consists of 3 processes:
    • main.py: Hosts the web front-end for Twitter OAuth, and for viewing deletion statuses. Scheduled via system services; see conf file in init_scripts.
    • destroy-mon.py: For each OAuthed user, checks their stream for tweets containing "#sd". Scheduled using cron or other means: see example cron addition in init_scripts.
    • destroy-job.py: Pulls tweets ready to be deleted from the beanstalk queue and deletes them using the Twitter API. Scheduled via system services; see conf file in init_scripts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0