# devspex/voidstation architecture

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

- Interactive diagram: https://gitdiagram.com/devspex/voidstation
- Repository: https://github.com/devspex/voidstation

## Overview

VoidStation is a Void Linux TV-oriented desktop: users boot a live ISO, explore a gamepad-friendly Qt interface, use media and app features, and can install the live system to disk. The launcher coordinates the home UI and system capabilities; a separate Qt player handles TV and personal media. The README documents broad capabilities, while sampled source confirms the Qt entry points, shared UI support, and TV index behavior. Several feature connections are therefore documented rather than verified in sampled callers; those edges cite the README.

Main entry points: [`launcher/qt/voidstation-home.py`](https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-home.py) (Qt home), [`launcher/launcher.py`](https://github.com/devspex/voidstation/blob/main/launcher/launcher.py) (TV channels), [`launcher/qt/vscommon.py`](https://github.com/devspex/voidstation/blob/main/launcher/qt/vscommon.py) (Qt shared support), [`launcher/qt/voidstation-player.py`](https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-player.py) (Qt media player)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["User experience"]
  node_home["Qt home"]
  node_qml["Home interface"]
  node_shared["Qt shared support<br/>[vscommon.py]"]
  node_icons["UI icons<br/>[icons.py]"]
end

subgraph group_media["Media services"]
  node_player["Qt media player"]
  node_tvindex[("TV channel index<br/>[tvindex.py]")]
  node_tvservice["TV channels<br/>[launcher.py]"]
  node_youtube["YouTube kiosk<br/>[user-youtube.js]"]
  node_radio["Radio<br/>[launcher.py]"]
  node_library["Video and music library"]
  node_games["Emulators and profiles<br/>[gameprofiles.py]"]
end

subgraph group_system["System services"]
  node_launcher["Launcher services<br/>[launcher.py]"]
  node_startup["Launcher startup<br/>[launcher-start.py]"]
  node_appcenter["AppCenter<br/>[launcher.py]"]
  node_settings["Settings<br/>[launcher.py]"]
  node_report["Diagnostic reports<br/>[vsreport.py]"]
  node_share["Samba share<br/>[launcher.py]"]
end

subgraph group_install["Live installation"]
  node_installer["System installer"]
  node_liveiso["Live ISO boot"]
end

node_viewer(("Viewer"))
node_external(("Online media sources"))

node_viewer -->|"opens"| node_home
node_home -->|"renders"| node_qml
node_home -->|"uses"| node_shared
node_player -->|"uses"| node_shared
node_shared -->|"uses"| node_icons
node_startup -->|"starts"| node_launcher
node_viewer -->|"opens media"| node_player
node_home -->|"offers"| node_tvservice
node_tvservice -.->|"queries channels"| node_tvindex
node_tvservice -->|"plays channels"| node_player
node_tvservice -->|"gets channel data"| node_external
node_home -->|"opens kiosk"| node_youtube
node_youtube -->|"streams videos"| node_external
node_home -->|"offers"| node_radio
node_home -->|"offers"| node_library
node_home -->|"offers"| node_games
node_home -->|"offers"| node_appcenter
node_home -->|"offers"| node_settings
node_home -.->|"offers reports"| node_report
node_home -->|"provides access"| node_share
node_viewer -->|"boots"| node_liveiso
node_liveiso -->|"runs live"| node_home
node_home -->|"launches installation"| node_installer

click node_home "https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-home.py"
click node_qml "https://github.com/devspex/voidstation/tree/main/launcher/qt/qml"
click node_shared "https://github.com/devspex/voidstation/blob/main/launcher/qt/vscommon.py"
click node_icons "https://github.com/devspex/voidstation/blob/main/launcher/qt/icons.py"
click node_launcher "https://github.com/devspex/voidstation/blob/main/launcher/launcher.py"
click node_startup "https://github.com/devspex/voidstation/blob/main/launcher/launcher-start.py"
click node_player "https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-player.py"
click node_tvindex "https://github.com/devspex/voidstation/blob/main/launcher/tvindex.py"
click node_tvservice "https://github.com/devspex/voidstation/blob/main/launcher/launcher.py"
click node_youtube "https://github.com/devspex/voidstation/blob/main/launcher/firefox/user-youtube.js"
click node_radio "https://github.com/devspex/voidstation/blob/main/launcher/launcher.py"
click node_library "https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-player.py"
click node_games "https://github.com/devspex/voidstation/blob/main/launcher/gameprofiles.py"
click node_appcenter "https://github.com/devspex/voidstation/blob/main/launcher/launcher.py"
click node_settings "https://github.com/devspex/voidstation/blob/main/launcher/launcher.py"
click node_report "https://github.com/devspex/voidstation/blob/main/launcher/vsreport.py"
click node_installer "https://github.com/devspex/voidstation/blob/main/launcher/voidstation-installer"
click node_liveiso "https://github.com/devspex/voidstation/tree/main/iso"
click node_share "https://github.com/devspex/voidstation/blob/main/launcher/launcher.py"

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_home,node_qml,node_shared,node_icons,node_viewer toneBlue
class node_player,node_tvindex,node_tvservice,node_youtube,node_radio,node_library,node_games toneAmber
class node_launcher,node_startup,node_appcenter,node_settings,node_report,node_share toneMint
class node_installer,node_liveiso toneRose
class node_external toneIndigo
```

## Components

### User experience

- [Qt home](https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-home.py): `launcher/qt/voidstation-home.py`
- [Home interface](https://github.com/devspex/voidstation/tree/main/launcher/qt/qml): `launcher/qt/qml`
- [Qt shared support](https://github.com/devspex/voidstation/blob/main/launcher/qt/vscommon.py): `launcher/qt/vscommon.py`
- [UI icons](https://github.com/devspex/voidstation/blob/main/launcher/qt/icons.py): `launcher/qt/icons.py`

### Media services

- [Qt media player](https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-player.py): `launcher/qt/voidstation-player.py`
- [TV channel index](https://github.com/devspex/voidstation/blob/main/launcher/tvindex.py): `launcher/tvindex.py`
- [TV channels](https://github.com/devspex/voidstation/blob/main/launcher/launcher.py): `launcher/launcher.py`
- [YouTube kiosk](https://github.com/devspex/voidstation/blob/main/launcher/firefox/user-youtube.js): `launcher/firefox/user-youtube.js`
- [Radio](https://github.com/devspex/voidstation/blob/main/launcher/launcher.py): `launcher/launcher.py`
- [Video and music library](https://github.com/devspex/voidstation/blob/main/launcher/qt/voidstation-player.py): `launcher/qt/voidstation-player.py`
- [Emulators and profiles](https://github.com/devspex/voidstation/blob/main/launcher/gameprofiles.py): `launcher/gameprofiles.py`

### System services

- [Launcher services](https://github.com/devspex/voidstation/blob/main/launcher/launcher.py): `launcher/launcher.py`
- [Launcher startup](https://github.com/devspex/voidstation/blob/main/launcher/launcher-start.py): `launcher/launcher-start.py`
- [AppCenter](https://github.com/devspex/voidstation/blob/main/launcher/launcher.py): `launcher/launcher.py`
- [Settings](https://github.com/devspex/voidstation/blob/main/launcher/launcher.py): `launcher/launcher.py`
- [Diagnostic reports](https://github.com/devspex/voidstation/blob/main/launcher/vsreport.py): `launcher/vsreport.py`
- [Samba share](https://github.com/devspex/voidstation/blob/main/launcher/launcher.py): `launcher/launcher.py`

### Live installation

- [System installer](https://github.com/devspex/voidstation/blob/main/launcher/voidstation-installer): `launcher/voidstation-installer`
- [Live ISO boot](https://github.com/devspex/voidstation/tree/main/iso): `iso`

### Other components

- **Viewer**
- **Online media sources**

## Connections

- Viewer → Qt home: opens (evidence: `README.md`)
- Qt home → Home interface: renders (evidence: `README.md`)
- Qt home → Qt shared support: uses (evidence: `launcher/qt/voidstation-home.py`)
- Qt media player → Qt shared support: uses (evidence: `launcher/qt/voidstation-player.py`)
- Qt shared support → UI icons: uses (evidence: `launcher/qt/vscommon.py`)
- Launcher startup → Launcher services: starts (evidence: `launcher/launcher-start.py`)
- Viewer → Qt media player: opens media (evidence: `README.md`)
- Qt home → TV channels: offers (evidence: `README.md`)
- TV channels → TV channel index: queries channels
- TV channels → Qt media player: plays channels (evidence: `README.md`)
- TV channels → Online media sources: gets channel data (evidence: `README.md`)
- Qt home → YouTube kiosk: opens kiosk (evidence: `README.md`)
- YouTube kiosk → Online media sources: streams videos (evidence: `README.md`)
- Qt home → Radio: offers (evidence: `README.md`)
- Qt home → Video and music library: offers (evidence: `README.md`)
- Qt home → Emulators and profiles: offers (evidence: `README.md`)
- Qt home → AppCenter: offers (evidence: `README.md`)
- Qt home → Settings: offers (evidence: `README.md`)
- Qt home → Diagnostic reports: offers reports
- Qt home → Samba share: provides access (evidence: `README.md`)
- Viewer → Live ISO boot: boots (evidence: `README.md`)
- Live ISO boot → Qt home: runs live (evidence: `README.md`)
- Qt home → System installer: launches installation (evidence: `README.md`)
