8000 GitHub - davinirjr/bot-followers: 🍊 Find out how many bots follow any given Twitter acount
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

davinirjr/bot-followers

 
 

Repository files navigation

Bot Followers GitHub Actions: Tests workflow GitHub Actions: Black workflow

A web app to check whether followers of a given Twitter account are bots. This code is a fork of Twitter Clean-up.

If you're looking for the CLI version, it's tagged.

Requirements

Setup

Copy .env.sample as .env and fill the environment values as necessary. I tried to use meaningful variables names, but fell free to ask here if anything is not clear.

Running

First, we need to run migrations:

$ docker-compose run --rm django python manage.py migrate

Then we need to collect statics:

$ docker-compose run --rm django python manage.py collectstatics --noinput

Finally, create a super user for yourself:

$ docker-compose run --rm django python manage.py createsuperuser

Now access localhost:8000 and create a proper user to access the web app without super powers: all you need to do is to add just the permission to view job in the Django Admin interface.

Importing data from the (old) CLI version

There's a command to import data generated in the CLI, the .sqlite3 generated files:

$ docker-compose run --rm django python manage.py import /path/to/borsalino.sqlite3

Contributing

Please, run tests and format your code with Black:

$ black .
$ python manage.py test

About

🍊 Find out how many bots follow any given Twitter acount

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 76.2%
  • HTML 22.6%
  • Dockerfile 1.2%
0