> ## Documentation Index
> Fetch the complete documentation index at: https://illegalcord.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Illegalcord

> Documentation for installing, building, configuring, and extending Illegalcord.

Illegalcord is a Discord client mod forked from Equicord and Vencord. You can install it with the official installer, or build it from source with the repository you have open: a TypeScript client mod with desktop injection, web builds, QuickCSS, plugin settings, and a large bundled plugin catalog.

<Button href="https://github.com/ImHisako/Illegalcord">
  View source code on GitHub
</Button>

<CardGroup cols={2}>
  <Card title="Install Illegalcord" icon="download" href="/installation">
    Use the official installer, build with `pnpm`, inject into Discord, or create the web extension output.
  </Card>

  <Card title="Official installer" icon="box-archive" href="https://github.com/ImHisako/IllegalcordInstaller">
    Get the separate Illegalcord installer project from GitHub.
  </Card>

  <Card title="Source structure" icon="folder-tree" href="/source-structure">
    Learn where client code, APIs, plugins, browser builds, and scripts live.
  </Card>

  <Card title="Plugins" icon="puzzle-piece" href="/customization/plugins">
    Understand stock, Equicord, and Illegalcord plugins in the local codebase.
  </Card>

  <Card title="Plugin development" icon="code" href="/plugin-dev/overview">
    Create plugins using the same APIs and conventions used by the repository.
  </Card>
</CardGroup>

## What this site covers

<CardGroup cols={3}>
  <Card title="Build workflow" icon="terminal">
    `pnpm build`, `pnpm buildWeb`, `pnpm inject`, `pnpm uninject`, and validation scripts.
  </Card>

  <Card title="Settings UI" icon="sliders">
    Illegalcord Settings, Plugins, Themes, Updater, Cloud, and Backup & Restore.
  </Card>

  <Card title="QuickCSS and themes" icon="paintbrush">
    Local themes, online theme links, QuickCSS, and backupable CSS state.
  </Card>

  <Card title="Plugin architecture" icon="boxes">
    `definePlugin`, settings schemas, declarative fields, flux handlers, and Webpack patches.
  </Card>

  <Card title="Desktop and web" icon="desktop">
    Desktop injection through `src/main` and browser extension output through `browser`.
  </Card>

  <Card title="Troubleshooting" icon="life-ring">
    Recovery steps for dependency errors, failed injection, stale builds, and plugin crashes.
  </Card>
</CardGroup>

## Start in three steps

<Steps>
  <Step title="Choose installer or source">
    Use the [IllegalcordInstaller](https://github.com/ImHisako/IllegalcordInstaller) project for the installer flow, or clone [ImHisako/Illegalcord](https://github.com/ImHisako/Illegalcord) to build from source.
  </Step>

  <Step title="Build the target you need">
    For source builds, use `pnpm build` for the desktop bundle or `pnpm buildWeb` for the browser extension output in `dist`.
  </Step>

  <Step title="Run Illegalcord">
    Use `pnpm inject` for Discord desktop, or load the generated web extension from `dist` in a supported browser.
  </Step>
</Steps>

<Warning>
  Client mods may violate Discord's Terms of Service. Use Illegalcord at your own risk and review code before running builds from any fork.
</Warning>
