Find out how you know someone on Matrix without needing to ask them
Find a file
2024-08-10 11:58:46 +01:00
src/hdiky Add logging 2024-08-10 11:58:46 +01:00
.gitignore Initial commit 2024-08-07 12:26:28 +01:00
LICENSE Initial commit 2024-08-07 12:26:28 +01:00
pyproject.toml Initial commit 2024-08-07 12:26:28 +01:00
README.md Initial commit 2024-08-07 12:26:28 +01:00
tox.ini Initial commit 2024-08-07 12:26:28 +01:00

HDIKY?

Ever received a random message from someone on Matrix, and not recognised their username/mxid? Was simply asking them where you knew them from going to break the conversation?

Look no further, HDIKY has the solution for you!


Okay infomercial over. HDIKY (How do I know you?) is a command line tool that allows you to look up, across accounts, where you know a given Matrix user from. It can be used to look up a user's ID across one or more accounts, and will list each room that it finds the target user ID in.

Here's an example:

user@localhost:~$ hdiky accounts add @nex:nexy7574.co.uk
Homeserver: https://matrix.nexy7574.co.uk
Is this correct? [y/N]: y
Login mode (password, token): token
Access token: [removed]
Do you want to set a nickname for this account?? [y/N]: n
Account added
user@localhost:~$ hdiky find @eek4015:matrix.org
[removed]
Found mutual room with @nex:nexy7574.co.uk: Dendrite (https://matrix.to/#/!RcWPWcZrMeBxOGaalX:matrix.org)
[removed]
Found 3 mutual rooms.

Installation

Currently, hdiky is not on PyPi, so you will need to install from git:

pipx install git+https://git.i-am.nexus/nex/how-do-i-know-you.git

You can then run hdiky --help to get started.