Giter Club home page Giter Club logo

discordrpc-redirect's Introduction

DiscordRPC-Redirect

Proof-of-concept tool that forwards the Discord Rich Presence named pipe on Windows.

How does it work?

First of all, in order to make it simple to understand, I'm going to use the term host for the machine that has the desktop Discord client installed and running, and the term guest for the machine that is going to be using this app to forward the RPC into Discord.

Now that's out of the way, let's start:

  • First, we start the server on the host. This make the app start a named pipe client that will be receiving data from the Discord app.
  • Second, we run the app on the guest and tell it what's the target host in order to connect.
  • After the devices are connected, the app on the guest device will start a named pipe server that'll be forwarding the bytes from the guest to the host.

How to use?

This is still a bit unstable since it's a PoC, but you just need to compile it and run the final exe.

On start, you'll be prompted with this screen:

If you reply Y, the app will assume the host configuration and try to connect to the RPC named pipe.

You'll be then asked what is the pipe number. The default is 0 (you just need to press Enter) and unless you have more than one client opened up, you can let it use the default value.

To-Didn't Do

  • Handle exceptions better

discordrpc-redirect's People

Contributors

nickacpt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.