Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Latest commit

 

History

History
50 lines (34 loc) · 1.47 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.47 KB

watch-follow-follower

Checks Twitter follow/follower changes and notifies Discord.

Installation

Works in Node.js or Docker (Compose) environment.

Docker (Recommended)

If you want to use Docker, write the following in docker-compose.yml:

version: '3.8'
services:
  app:
    image: ghcr.io/tomacheese/watch-follow-follower:latest
    volumes:
      - type: bind
        source: ./data
        target: /data/
    init: true
    restart: always

After that, you can start it with docker-compose up -d after creating a configuration file with reference to Configuration section.

Node.js

If you are running in a Node.js environment, Node.js v18 is recommended.

Download index.js from the release page in the latest release.
After that, you can start it with node index.js after creating a configuration file with reference to Configuration section.

Configuration

The configuration file data/config.json is used by default.
If the environment variable CONFIG_FILE is set, the specified value is taken as the path to the configuration file.

See here for the JSON Schema of the configuration file: schema/Configuration.json

{
  "$schema": "https://raw.githubusercontent.com/tomacheese/watch-follow-follower/master/schema/Configuration.json"
}

License

The license for this project is MIT License.