Skip to content

neednotapply/watson-matrix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watson - A Matrix Bot for Sherlock

Watson is a Matrix bot designed to interface with the Sherlock project. It allows users to search for usernames on various social networks directly from Matrix using the power of Sherlock.

Created by RocketGod
Modified for Matrix ecosystem by NeedNotApply

Setup

Prerequisites

This bot requires the Sherlock project to function. If you haven't already cloned the Sherlock repository, you can do so with the following command:

git clone https://github.com/sherlock-project/sherlock

Installation

  1. Navigate to the sherlock_project directory:
cd sherlock
cd sherlock_project
  1. Clone the Watson repository into the sherlock_project directory:
git clone https://github.com/neednotapply/watson-matrix
  1. Update the config.json file with your bot's username and password.
    Optionally, change your bot's homeserver (where appropriate).
    Your config.json should look like this:
{
    "homeserver": "https://matrix.org",
    "username": "@your_bot:matrix.org",
    "password": "your_bot_password"
}

Install the Prerequisites in Python

pip install matrix-nio aiohttp

Run the Bot

  • Execute the watson.py script:
py watson.py

Usage

Once the bot is running, you can utilize the following commands on your Matrix Room:

  • !sherlock [username]: Search for a specific username.
  • !sherlock-similar: Check for similar usernames by replacing them with variations (e.g., '_', '-', '.').
  • !help: Displays a list of available commands and their descriptions.

Thank you for using Watson! If you find any issues or have any feedback, feel free to contribute to the Watson repository.

RocketGod
NeedNotApply

About

Sherlock Matrix bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%