40 lines
1.2 KiB
Markdown
40 lines
1.2 KiB
Markdown
|
# 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:
|
||
|
```plaintext
|
||
|
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:
|
||
|
|
||
|
```bash
|
||
|
pipx install git+https://git.i-am.nexus/nex/how-do-i-know-you.git
|
||
|
```
|
||
|
|
||
|
You can then run `hdiky --help` to get started.
|