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.
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.
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.
To build, use the following command.
pnpm build
# Or if you want an unminified build
# pnpm build:devInstalling 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:
- Copy the built plugin in the
target/plugin.jsonfile - Open DevTools Control + Shift + i and click the "Console" tab
- Type the following, replacing
...with the contents of the previously copied file:
state.plugins.add(...)- You should see that your status has changed to your discord RPC!