# discord/discord-open-source architecture

> Architecture diagram of the GitHub repository discord/discord-open-source, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/discord/discord-open-source
- Repository: https://github.com/discord/discord-open-source

## Overview

This repository is a content source for Discord’s open-source communities page, rather than a runtime application. The principal workflow is for a community maintainer to contribute a catalog entry and logo; Discord’s page then displays the listing. The README documents these content relationships. The validator is omitted because it supports repository checks, not the product workflow.

Main entry points: [`communities.json`](https://github.com/discord/discord-open-source/blob/master/communities.json) (Community catalog), [`logos`](https://github.com/discord/discord-open-source/tree/master/logos) (Community logos)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_directory_content["Directory Content"]
  node_catalog[("Community catalog<br/>[communities.json]")]
  node_logos["Community logos"]
end

node_maintainer(("Community maintainer"))
node_page["Open-source page"]

node_maintainer -->|"contributes listing"| node_catalog
node_maintainer -->|"adds logo"| node_logos
node_catalog -->|"populates listings"| node_page
node_logos -->|"displays logos"| node_page

click node_catalog "https://github.com/discord/discord-open-source/blob/master/communities.json"
click node_logos "https://github.com/discord/discord-open-source/tree/master/logos"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_catalog,node_logos toneBlue
class node_maintainer,node_page toneIndigo
```

## Components

### Directory Content

- [Community catalog](https://github.com/discord/discord-open-source/blob/master/communities.json): `communities.json`
- [Community logos](https://github.com/discord/discord-open-source/tree/master/logos): `logos`

### Other components

- **Community maintainer**
- **Open-source page**

## Connections

- Community maintainer → Community catalog: contributes listing (evidence: `README.md`)
- Community maintainer → Community logos: adds logo (evidence: `README.md`)
- Community catalog → Open-source page: populates listings (evidence: `README.md`)
- Community logos → Open-source page: displays logos (evidence: `README.md`)
