One by one, they stood their ground against a creature they had no hope of understanding, let alone defeating, and one by one, they became a part of it.
Watcher's Eye is a social network post surveillance tool.
Create the following configurations.
- config/global.yml
collector_processes: auto
- config/credentials.yml
mastodon_sample_creds: &mastodon_sample_creds
token: xxxx
twitter_sample_creds: &twitter_sample_creds
consumer_key: xxxx
consumer_secret: xxxx
access_token: xxxx
access_token_secret: xxxx
- config/targets/sample.yml
- kind: mastodon
label: sample_user
domain: example.com
acct: [email protected]
credentials: *mastodon_sample_creds
- config/publishers/sample.yml
- kind: discord
label: discord_sample
targets:
- sample_user
webhook_url: https://discord.com/api/webhooks/xxxx
Then, run the Docker Container
docker-compose build
docker-compose run --rm app carton install --deployment
docker-compose up -d
Specify the number of Collector processes to run in multiprocesses.
- auto: Use the
nproc
command to automatically set the maximum number of processors.
Define the target to be surveilled.
Specifies the type of service to which the surveilling target belongs.
Currently, Watcher's Eye supports the following three services.
- mastodon
- mastodon_rest
- misskey
- twitter_v2
Assign a label to the surveilled object.
This label will be used by Publisher.
Specify the domain of the user who has the obtained API key. (i.e. you)
Note that this is not the domain to be surveilled.
Specifies the acct to be surveilled.
Specifies the account ID to be surveilled.
Note that it is not the Screen Name.
In the case of Mastodon, it is only used in the REST API.
Describe the Credentials for accessing the API.
Use the correct key for each service.
- Mastodon, Misskey
credentials:
token: xxxxxxxxxxxxxxxxxxxxxxxx
credentials:
consumer_key: xxxx
consumer_secret: xxxx
access_token: xxxx
access_token_secret: xxxx
When enabled, only posts with Visibility equivalent to Private will be retrieved.
This is not available for Twitter.
Experimental.
Defines the forwarding destination for retrieved posts.
Specify the type of service to be forwarded.
Currently, Watcher's Eye supports the following two services.
- discord
- slack
Unlike the label of targets, there is no specific use for it.
Specifies the surveilling targets defined in the targets section in list format.
Specify the URL of Incoming Webhook that matches the kind.