GithubHelp home page GithubHelp logo

144reasons / discordwindowrpc Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11 KB

DiscordWindowRPC is a Discord RPC client, that can detect which window you are tabbed in

License: MIT License

JavaScript 100.00%

discordwindowrpc's Introduction

DiscordWindowRPC

DiscordWindowRPC is a Discord RPC client, that can detect which window you are tabbed in, and (if the application is added to the apps.json) will display the app in your Discord RPC

If you need support/further instructions create an issue.

Donations

To donate to me/this project, dm ICodeInAssembly#7117

Installation

Install NodeJs.

Create a Discord application on the Discord portal.

Rename config.example.json to config.json, and fill in the secrets.

Run npm i to install the dependencies.

Configuration

To add a new app to your apps.json, you need to find the apps id.

Linux

To find the app id on linux, you can run top (if installed) in your terminal, and in the column COMMAND, look for the app you want. Or, if you are on Ubuntu, you can use the built-in System Monitor app and check the Process Name column

Windows

Note: This part might be inaccurate, because I havent tested this on Windows

Open Task Manager (Task Manager can be opened in a number of ways, but the simplest is to select Ctrl+Alt+Delete, and then select Task Manager), and head over to the Details tab. Look at the Name column, and look for the app you want


Once you have found the desired app name, delete apps.json and rename apps.example.json to apps.json, and fill it in however you want

The current apps.json should be completely cleared, as it is ready for use on linux only. While leaving the apps there doesnt break the rpc, it could affect performance (but not by much).

Usage

Run npm start to start the rich presence

Contributing

This README is incomplete. Maybe you can add more text! (Configuration)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

discordwindowrpc's People

Contributors

144reasons avatar

Watchers

 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.