GithubHelp home page GithubHelp logo

m157q / block-twitter-zombies Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 1.09 MB

A personal daemon to block your zombie Twitter followers.

License: GNU General Public License v3.0

Python 93.97% Makefile 2.53% Dockerfile 3.50%
python python36 twitter docker personal-daemon

block-twitter-zombies's Introduction

block-twitter-zombies

A personal daemon to block your zombie Twitter followers.


Requirements

Docker or (Python >= 3.6 and (pip or pipenv))


Installation

git clone https://github.com/M157q/block-twitter-zombies.git


Configuration

  • cp config.example.py config.py

  • Modify the content of config.py

    • Fill in TWITTER_CONSUMER_KEY
    • Fill in TWITTER_CONSUMER_SECRET
    • Fill in TWITTER_ACCESS_TOKEN_KEY
    • Fill in TWITTER_ACCESS_TOKEN_SECRET
  • If you don't know these 4 values above:

  • At https://apps.twitter.com/app, click your Twitter app which you gonna use.

  • Click "Keys and Access Tokens" section of the current app:

    • Make sure the "Access Level" of the app has at least read and write permission.
    • Copy the value of "Consumer Key (API Key)" to TWITTER_CONSUMER_KEY in config.py
    • Copy the value of "Consumer Secret (API Secret)" to TWITTER_CONSUMER_SECRET in config.py
  • Create an access token if you don't have one.

    • Make sure the "Access Level" of the access token has at least read and write permission.
    • Copy the value of "Access Token" to TWITTER_ACCESS_TOKEN_KEY in config.py
    • Copy the value of "Access Token Secret" to TWITTER_ACCESS_TOKEN_SECRET in config.py

Usage

  • Docker
    • make docker_build
    • make docker_run
  • Python >= 3.6:
    • pip
      • pip install -r requirements.txt
      • python main.py
    • pipenv
      • pipenv install
      • pipenv run python main.py

Screenshots

Logs logs

Blocked Users blocked-users

block-twitter-zombies's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

avtomat2023

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.