Skip to content

Revolt plugin that broadcasts your Discord Rich Presence using arRPC

License

Notifications You must be signed in to change notification settings

amycatgirl/rrrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rrRPC

A hacky way of bringing your Discord RPC to Revolt

Installation instructions below, pre-built plugin on target/plugin.json and/or GitHub Releases

Note

You MUST have arRPC running before installing the plugin. It does not reconnect to the websocket once connection is lost/hasn't been stablished. This feature will come at a later date.

Original boilerplate README below.


Revite Plugin Boilerplate

Beware that plugins will break whenever the client rewrite is generaly available.

Alongside the client rewrite, plugins will probably have a different format, as opposed to json. A discussion related to the topic is available here.

Boilerplate for manifest V1 revite plugins. Originally revite-ts-plugin-boilerplate, adapted for Vanilla JS.

Instructions

A nix shell is available with this repo, to use it, run nix-shell, the shell comes with all the things necesary for development.

If you don't want to use nix, you need to have node and pnpm installed. Instalation through corepack is highly recommended.

Building

To build, use the following command.

pnpm build

# Or if you want an unminified build
# pnpm build:dev

Installing

Installing a plugin is pretty easy. You need to enable the [Experimental Plugin API] experiment in the Experiments settings tab, then open console and follow the instructions:

  1. Copy the built plugin in the target/plugin.json file
  2. Open DevTools Control + Shift + i and click the "Console" tab
  3. Type the following, replacing ... with the contents of the previously copied file:
state.plugins.add(...)
  1. You should see that your status has changed to your discord RPC!

About

Revolt plugin that broadcasts your Discord Rich Presence using arRPC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published