fr3fou / discord-mutual-friends

visualising discord mutual friends in 3d space
146 stars 5 forks source link

Discord Mutual Friends

https://github.com/fr3fou/discord-mutual-friends/assets/1344906/890b1146-5829-4ac1-838f-dd665da84336

Usage

Run the binaries from the release page on GitHub. Currently only macOS and Windows builds are available but will have Linux binaries soon. For now, if you're running on Linux, you can build it yourself.

After running it, you'll be greeted with the following screen:

image

In order to start the visualisation, you need to enter your personal Discord token. Here are some instructions on how to get it. This is used to query your relationships with your friends. Unfortunately Discord doesn't provide an (easy) way to query relationships through their public API and so this is considered self-botting. I am always open to contributions and ideas on how to improve this process.

After entering your token and pressing start, the app will start querying your Discord friends and their mutual relationships. This might take a while depending on how many friends you have, be patient.

You can then move around the 3D space using the following controls:

If you experience some kind of lag at first, just wait a few seconds – the graphing library I use has to perform some computations in the background.

You can click on a friend / node and you'll focus on that user in particular – all your mutual connections with that person will be highlighted and the rest will be dimmed.

image

The amount of mutual connections you have someone determines their size in the 3D space.

image

Hovering on someone will show you their username.

TODO

I'm always open to contributions and would gladly take a look at your PR if you have any improvements / ideas to the project. Here are some of the things I need help with:

Building yourself

Building yourself requires having Go, Wails, Node.js installed on your system.

  1. Install the wails CLI by running ./scripts/install-wails-cli.sh
  2. Install frontend dependencies using yarn after cd-ing into the frontend/ folder
  3. Run wails dev or wails build in the root of the project

Disclaimer

I do not take any responsibility for what happens to your Discord account. Using this application or anything not the official client and your 2 hands can result in a ban off the platform. USE AT YOUR OWN RISK. The showcased demo at the beginning of the repo uses generated data with random avatars.