Building from Source
Equicord
If you need to build Equicord from source for development purposes, follow these steps:
Prerequisites
Before starting, ensure you have the following dependencies installed:
Install pnpm
WARNING
Windows users: Do not run the following commands in an administrator terminal. This can break your Discord installation.
npm i -g pnpmClone the Repository
WARNING
Do not clone in your system folder. Clone in a folder you will remember, like your Documents folder.
Windows:
cd "%USERPROFILE%/Documents"Linux or MacOS:
cd "$HOME/Documents"git clone https://github.com/Equicord/Equicord
cd EquicordInstall Dependencies
pnpm install --no-frozen-lockfileDiscord Desktop
Build
pnpm buildTIP
To enable Developer-only plugins and access debugging tools like PatchHelper, build in Development Mode using the --dev flag:
pnpm build --devTIP
If you are actively making changes to the source code, use Watch Mode. This automatically triggers a rebuild every time you save a file:
pnpm build --watch
# Or for dev mode with watch:
pnpm build --dev --watchInject and Start
Run the injector to patch your Discord installation, then start Discord normally:
pnpm injectEquibop
Instructions for building Equibop from source have moved to the Equibop Docs.
NOTE
Unless you're a developer, there's no reason to build from source. To use user plugins or dev builds, simply clone Equicord instead. More details on Equibop's wiki.
Web Browser
Build
pnpm buildWebTIP
To enable Developer-only plugins and access debugging tools like PatchHelper, build in Development Mode using the --dev flag:
pnpm buildWeb --devInstall
After building, you will find the output files inside the dist/ folder. Pick the one that matches your browser:
- extension-chrome.zip — For Chrome and Chromium-based browsers. Go to
chrome://extensions, enable Developer Mode, and drag the zip file into the window. - extension-firefox.zip — For Firefox. Go to
about:addons, click the gear icon, and selectInstall Add-on From File.... - Equicord.user.js — Userscript for Tampermonkey, Greasemonkey, or any other userscript manager. Open the file in your browser and your userscript manager will prompt you to install it.
