/biolinkchecker

Periodically checks links in Twitter bio and send a notification if a link is down

Primary LanguagePythonMIT LicenseMIT

biolinkchecker

Periodically checks links in Twitter bio and send a notification if a link is down

Quickstart

Requirements

First of all, you need docker>=19.03 and docker-compose>=1.25.1

Configuration

A file named .env based on template.env is required at the root of the project directory. Required parameters are listed below:

# Twitter app/bot credentials. For more informations visit: https://apps.twitter.com/
TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_SECRET=

Build the project:

./build.sh

Use individual actions

Fetch data/links from followers

docker-compose run bot fetch

Check if previously fetched links are online/offline

docker-compose run bot check

Notify users that have links down in their bio

docker-compose run bot notify

Start the bot and let it manage all required actions

docker-compose up bot

Author(s)