# armbian/os architecture

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

- Interactive diagram: https://gitdiagram.com/armbian/os
- Repository: https://github.com/armbian/os

## Overview

This repository configures Armbian’s build and package-maintenance automation. The documented workflow spans scheduled OS-image builds, package-repository and artifact-cache maintenance, third-party package integration, installation and upgrade testing, and daily desktop builds. The tree identifies relevant configuration and workflow directories, but no source excerpts are available, so implementation-level call paths cannot be verified; edges below reflect README statements only.

Main entry points: [`.github/workflows`](https://github.com/armbian/os/tree/main/.github/workflows) (OS image builds), [`external`](https://github.com/armbian/os/tree/main/external) (Native browser overrides), [`userpatches/gha`](https://github.com/armbian/os/tree/main/userpatches/gha) (Release configurations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_automation["Build automation"]
  node_release_config["Release configurations"]
  node_image_builds["OS image builds<br/>[workflows]"]
  node_desktop_builds["Desktop builds<br/>[workflows]"]
end

subgraph group_packages["Package maintenance"]
  node_package_repos[("Armbian package repositories")]
  node_artifact_cache[("Artifacts cache")]
  node_app_sync["Third-party app definitions"]
  node_native_browser_override["Native browser overrides"]
end

subgraph group_validation["Build validation"]
  node_package_tests["Install and upgrade tests<br/>[workflows]"]
end

node_maintainers(("Developers and maintainers"))
node_apt_service[("Armbian package service")]
node_artifact_service[("GitHub package service")]
node_snap[("Snap packages")]

node_maintainers -->|"configure releases"| node_release_config
node_release_config -->|"schedule builds"| node_image_builds
node_image_builds -->|"maintain packages"| node_package_repos
node_image_builds -->|"maintain cache"| node_artifact_cache
node_package_repos -->|"publish packages"| node_apt_service
node_artifact_cache -->|"cache artifacts"| node_artifact_service
node_app_sync -->|"sync applications"| node_package_repos
node_native_browser_override -->|"provide native packages"| node_package_repos
node_native_browser_override -->|"override browsers"| node_snap
node_package_tests -->|"test installs and upgrades"| node_package_repos
node_desktop_builds -->|"build desktops daily"| node_image_builds

click node_release_config "https://github.com/armbian/os/tree/main/userpatches/gha"
click node_image_builds "https://github.com/armbian/os/tree/main/.github/workflows"
click node_desktop_builds "https://github.com/armbian/os/tree/main/.github/workflows"
click node_app_sync "https://github.com/armbian/os/tree/main/external"
click node_native_browser_override "https://github.com/armbian/os/tree/main/external"
click node_package_tests "https://github.com/armbian/os/tree/main/.github/workflows"

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_release_config,node_image_builds,node_desktop_builds toneBlue
class node_package_repos,node_artifact_cache,node_app_sync,node_native_browser_override,node_apt_service,node_artifact_service,node_snap toneAmber
class node_package_tests toneMint
class node_maintainers toneIndigo
```

## Components

### Build automation

- [Release configurations](https://github.com/armbian/os/tree/main/userpatches/gha): `userpatches/gha`
- [OS image builds](https://github.com/armbian/os/tree/main/.github/workflows): `.github/workflows`
- [Desktop builds](https://github.com/armbian/os/tree/main/.github/workflows): `.github/workflows`

### Package maintenance

- **Armbian package repositories**
- **Artifacts cache**
- [Third-party app definitions](https://github.com/armbian/os/tree/main/external): `external`
- [Native browser overrides](https://github.com/armbian/os/tree/main/external): `external`

### Build validation

- [Install and upgrade tests](https://github.com/armbian/os/tree/main/.github/workflows): `.github/workflows`

### Other components

- **Developers and maintainers**
- **Armbian package service**
- **GitHub package service**
- **Snap packages**

## Connections

- Developers and maintainers → Release configurations: configure releases (evidence: `README.md`)
- Release configurations → OS image builds: schedule builds (evidence: `README.md`)
- OS image builds → Armbian package repositories: maintain packages (evidence: `README.md`)
- OS image builds → Artifacts cache: maintain cache (evidence: `README.md`)
- Armbian package repositories → Armbian package service: publish packages (evidence: `README.md`)
- Artifacts cache → GitHub package service: cache artifacts (evidence: `README.md`)
- Third-party app definitions → Armbian package repositories: sync applications (evidence: `README.md`)
- Native browser overrides → Armbian package repositories: provide native packages (evidence: `README.md`)
- Native browser overrides → Snap packages: override browsers (evidence: `README.md`)
- Install and upgrade tests → Armbian package repositories: test installs and upgrades (evidence: `README.md`)
- Desktop builds → OS image builds: build desktops daily (evidence: `README.md`)
