# whypratham/pro-linux-private architecture

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

- Interactive diagram: https://gitdiagram.com/whypratham/pro-linux-private
- Repository: https://github.com/whypratham/pro-linux-private

## Overview

This repository appears to define a customized Arch Linux live environment, with a bundled “Git Hub” desktop repository manager as a substantial user-facing application. The manager’s workflow is: launch the Qt app, scan the home directory for repositories, display status, then run selected Git actions in background workers and refresh status. The tree also shows boot, installer, networking, and live-audio capabilities; their source was not sampled, so their internal connections are not asserted.

Main entry points: [`releng/airootfs/root/gitmanager/ui/main_window.py`](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/ui/main_window.py) (Repository window), [`releng/airootfs/root/gitmanager/workers.py`](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/workers.py) (Background workers), [`releng/airootfs/root/gitmanager/main.py`](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/main.py) (Qt app entry), [`releng/airootfs/root/gitmanager/git_ops.py`](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/git_ops.py) (Git commands)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_live["Live Environment"]
  node_boot["Boot entries"]
  node_system["Live system setup"]
  node_installer["Installer"]
  node_mirror["Mirror selection"]
  node_audio["Live audio"]
end

subgraph group_manager["Git Hub Manager"]
  node_app["Qt app entry<br/>[main.py]"]
  node_window["Repository window<br/>[main_window.py]"]
  node_dialog["Commit dialog<br/>[commit_dialog.py]"]
  node_theme["Qt theme<br/>[theme.py]"]
  node_workers["Background workers<br/>[workers.py]"]
end

subgraph group_git["Repository Operations"]
  node_scanner["Repository scanner<br/>[git_scanner.py]"]
  node_operations["Git commands<br/>[git_ops.py]"]
  node_status["Repository status model<br/>[models.py]"]
end

node_user(("Live user"))

node_user -.->|"boots from"| node_boot
node_user -.->|"runs"| node_installer
node_user -.->|"chooses mirror"| node_mirror
node_user -.->|"launches"| node_app
node_app -->|"opens"| node_window
node_app -->|"applies style"| node_theme
node_window -->|"starts"| node_workers
node_window -->|"opens"| node_dialog
node_window -->|"dispatches actions"| node_operations
node_workers -->|"scans with"| node_scanner
node_workers -->|"runs commands"| node_operations
node_workers -->|"emits status"| node_status
node_operations -->|"builds status"| node_status

click node_boot "https://github.com/whypratham/pro-linux-private/tree/main/releng/efiboot/loader/entries"
click node_system "https://github.com/whypratham/pro-linux-private/tree/main/releng/airootfs/etc"
click node_installer "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/usr/local/bin/proinstall"
click node_mirror "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/usr/local/bin/choose-mirror"
click node_audio "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/usr/local/bin/livecd-sound"
click node_app "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/main.py"
click node_window "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/ui/main_window.py"
click node_dialog "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/ui/commit_dialog.py"
click node_theme "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/theme.py"
click node_workers "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/workers.py"
click node_scanner "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/git_scanner.py"
click node_operations "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/git_ops.py"
click node_status "https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/models.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_boot,node_system,node_installer,node_mirror,node_audio,node_user toneBlue
class node_app,node_window,node_dialog,node_theme,node_workers toneAmber
class node_scanner,node_operations,node_status toneMint
```

## Components

### Live Environment

- [Boot entries](https://github.com/whypratham/pro-linux-private/tree/main/releng/efiboot/loader/entries): `releng/efiboot/loader/entries`
- [Live system setup](https://github.com/whypratham/pro-linux-private/tree/main/releng/airootfs/etc): `releng/airootfs/etc`
- [Installer](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/usr/local/bin/proinstall): `releng/airootfs/usr/local/bin/proinstall`
- [Mirror selection](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/usr/local/bin/choose-mirror): `releng/airootfs/usr/local/bin/choose-mirror`
- [Live audio](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/usr/local/bin/livecd-sound): `releng/airootfs/usr/local/bin/livecd-sound`

### Git Hub Manager

- [Qt app entry](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/main.py): `releng/airootfs/root/gitmanager/main.py`
- [Repository window](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/ui/main_window.py): `releng/airootfs/root/gitmanager/ui/main_window.py`
- [Commit dialog](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/ui/commit_dialog.py): `releng/airootfs/root/gitmanager/ui/commit_dialog.py`
- [Qt theme](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/theme.py): `releng/airootfs/root/gitmanager/theme.py`
- [Background workers](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/workers.py): `releng/airootfs/root/gitmanager/workers.py`

### Repository Operations

- [Repository scanner](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/git_scanner.py): `releng/airootfs/root/gitmanager/git_scanner.py`
- [Git commands](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/git_ops.py): `releng/airootfs/root/gitmanager/git_ops.py`
- [Repository status model](https://github.com/whypratham/pro-linux-private/blob/main/releng/airootfs/root/gitmanager/models.py): `releng/airootfs/root/gitmanager/models.py`

### Other components

- **Live user**

## Connections

- Live user → Boot entries: boots from
- Live user → Installer: runs
- Live user → Mirror selection: chooses mirror
- Live user → Qt app entry: launches
- Qt app entry → Repository window: opens (evidence: `releng/airootfs/root/gitmanager/main.py`)
- Qt app entry → Qt theme: applies style (evidence: `releng/airootfs/root/gitmanager/main.py`)
- Repository window → Background workers: starts (evidence: `releng/airootfs/root/gitmanager/ui/main_window.py`)
- Repository window → Commit dialog: opens (evidence: `releng/airootfs/root/gitmanager/ui/main_window.py`)
- Repository window → Git commands: dispatches actions (evidence: `releng/airootfs/root/gitmanager/ui/main_window.py`)
- Background workers → Repository scanner: scans with (evidence: `releng/airootfs/root/gitmanager/workers.py`)
- Background workers → Git commands: runs commands (evidence: `releng/airootfs/root/gitmanager/workers.py`)
- Background workers → Repository status model: emits status (evidence: `releng/airootfs/root/gitmanager/workers.py`)
- Git commands → Repository status model: builds status (evidence: `releng/airootfs/root/gitmanager/git_ops.py`)
