Giter Site home page Giter Site logo

akshatsinghania / discord-mutual-friends Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fr3fou/discord-mutual-friends

0.0 0.0 0.0 30.6 MB

smart program for visualising discord mutual friends

Shell 3.46% JavaScript 14.04% Go 15.43% TypeScript 28.27% CSS 0.17% HTML 0.96% NSIS 37.67%

discord-mutual-friends's Introduction

Discord Mutual Friends

Area.mp4

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:

  • Left Click for rotating
  • Mouse-wheel/Middle Click for zooming
  • Right Click for panning

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:

  • GitHub Actions Pipeline for building binaries for all platforms
  • Cache the responses from the Discord API on disk so that you can start the visualisation without querying your most up-to-date friends.
  • Support for reading your relationships from a Discord Data Export
    • e.g. you request your data from Discord and you can point this app to your archive/folder. This way you won't be making any HTTP calls nor would this require self botting as the app will have access to your data directly.
  • More fancy graph visualisations / effects

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

discord-mutual-friends's People

Contributors

fr3fou avatar sandyx86 avatar imgbotapp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.