# osowoso/distrohopper architecture

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

- Interactive diagram: https://gitdiagram.com/osowoso/distrohopper
- Repository: https://github.com/osowoso/distrohopper

## Overview

DistroHopper is a collection of command-line and graphical front ends around Quickemu, alongside distro metadata and an in-progress website. The documented VM workflow is: a user chooses an operating system with quickget, which downloads its ISO and creates a VM configuration; quickemu then launches that VM. The repository also offers yad, fzf, and gum interfaces. Source excerpts show distro metadata and website navigation/theme behavior, but do not establish how the interfaces consume the metadata or invoke Quickemu, so those links are omitted.

Main entry points: [`quickget`](https://github.com/osowoso/distrohopper/blob/all/quickget) (quickget), [`quickemu`](https://github.com/osowoso/distrohopper/blob/all/quickemu) (quickemu), [`dh`](https://github.com/osowoso/distrohopper/blob/all/dh) (DistroHopper GUI/TUI), [`quickfzf`](https://github.com/osowoso/distrohopper/blob/all/quickfzf) (quickfzf)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interfaces["User interfaces"]
  node_dh["DistroHopper GUI/TUI"]
  node_quickfzf["quickfzf"]
  node_quicktui["quicktui"]
  node_qrun["qrun"]
  node_q["q"]
end

subgraph group_vm["VM workflow"]
  node_quickget["quickget"]
  node_vmconfig["VM configuration"]
  node_quickemu["quickemu"]
end

subgraph group_catalog["Distro catalog"]
  node_catalogdata["Distro metadata<br/>[distros-data.js]"]
end

subgraph group_website["Website behavior"]
  node_website["Website scripts<br/>[main.js]"]
end

node_user(("User"))

node_user -->|"selects OS"| node_quickget
node_quickget -->|"creates config"| node_vmconfig
node_quickget -->|"downloads ISO"| node_user
node_user -->|"starts VM"| node_quickemu
node_vmconfig -->|"configures launch"| node_quickemu
node_user -->|"uses interface"| node_dh
node_user -->|"uses interface"| node_quickfzf
node_user -->|"uses interface"| node_quicktui
node_user -->|"uses interface"| node_qrun
node_user -->|"uses interface"| node_q

click node_dh "https://github.com/osowoso/distrohopper/blob/all/dh"
click node_quickfzf "https://github.com/osowoso/distrohopper/blob/all/quickfzf"
click node_quicktui "https://github.com/osowoso/distrohopper/blob/all/quicktui"
click node_qrun "https://github.com/osowoso/distrohopper/blob/all/qrun"
click node_q "https://github.com/osowoso/distrohopper/blob/all/q"
click node_quickget "https://github.com/osowoso/distrohopper/blob/all/quickget"
click node_quickemu "https://github.com/osowoso/distrohopper/blob/all/quickemu"
click node_catalogdata "https://github.com/osowoso/distrohopper/blob/all/TODO/distros-data.js"
click node_website "https://github.com/osowoso/distrohopper/blob/all/website-source/main.js"

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_dh,node_quickfzf,node_quicktui,node_qrun,node_q,node_user toneBlue
class node_quickget,node_vmconfig,node_quickemu toneAmber
class node_catalogdata toneMint
class node_website toneRose
```

## Components

### User interfaces

- [DistroHopper GUI/TUI](https://github.com/osowoso/distrohopper/blob/all/dh): `dh`
- [quickfzf](https://github.com/osowoso/distrohopper/blob/all/quickfzf): `quickfzf`
- [quicktui](https://github.com/osowoso/distrohopper/blob/all/quicktui): `quicktui`
- [qrun](https://github.com/osowoso/distrohopper/blob/all/qrun): `qrun`
- [q](https://github.com/osowoso/distrohopper/blob/all/q): `q`

### VM workflow

- [quickget](https://github.com/osowoso/distrohopper/blob/all/quickget): `quickget`
- **VM configuration**
- [quickemu](https://github.com/osowoso/distrohopper/blob/all/quickemu): `quickemu`

### Distro catalog

- [Distro metadata](https://github.com/osowoso/distrohopper/blob/all/TODO/distros-data.js): `TODO/distros-data.js`

### Website behavior

- [Website scripts](https://github.com/osowoso/distrohopper/blob/all/website-source/main.js): `website-source/main.js`

### Other components

- **User**

## Connections

- User → quickget: selects OS (evidence: `README.md`)
- quickget → VM configuration: creates config (evidence: `README.md`)
- quickget → User: downloads ISO (evidence: `README.md`)
- User → quickemu: starts VM (evidence: `README.md`)
- VM configuration → quickemu: configures launch (evidence: `README.md`)
- User → DistroHopper GUI/TUI: uses interface (evidence: `README.md`)
- User → quickfzf: uses interface (evidence: `README.md`)
- User → quicktui: uses interface (evidence: `README.md`)
- User → qrun: uses interface (evidence: `README.md`)
- User → q: uses interface (evidence: `README.md`)
