# animeshz/recipes architecture

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

- Interactive diagram: https://gitdiagram.com/animeshz/recipes
- Repository: https://github.com/animeshz/recipes

## Overview

This repository provides recipes for producing Void Linux ISO and server-install outputs. The documented workflow is to run `make <name>` for a recipe; outputs go to the current directory. The tree also shows configuration modules, a QEMU-related library, and a server autoinstall hook, but no source excerpts establish how these are connected. The graph therefore shows only the documented invocation and output relationships; implementation links remain unspecified.

Main entry points: [`recipes/void-iso.ncl`](https://github.com/animeshz/recipes/blob/main/recipes/void-iso.ncl) (Void ISO recipe), [`recipes/void-server-install.ncl`](https://github.com/animeshz/recipes/blob/main/recipes/void-server-install.ncl) (Server install recipe)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_recipes["Build recipes"]
  node_iso_recipe["Void ISO recipe<br/>[void-iso.ncl]"]
  node_server_recipe["Server install recipe"]
end

subgraph group_configuration["System configuration"]
  node_iso_module["ISO configuration<br/>[void-iso.ncl]"]
  node_server_module["Server configuration"]
  node_qemu_library["QEMU support<br/>[void-qemu.ncl]"]
end

subgraph group_install["Install support"]
  node_autoinstall_hook["Autoinstall hook"]
end

node_user(("Recipe user"))
node_output["Build output"]

node_user -->|"runs recipe"| node_iso_recipe
node_user -->|"runs recipe"| node_server_recipe
node_iso_recipe -->|"writes output"| node_output
node_server_recipe -->|"writes output"| node_output

click node_iso_recipe "https://github.com/animeshz/recipes/blob/main/recipes/void-iso.ncl"
click node_server_recipe "https://github.com/animeshz/recipes/blob/main/recipes/void-server-install.ncl"
click node_iso_module "https://github.com/animeshz/recipes/blob/main/modules/void-iso.ncl"
click node_server_module "https://github.com/animeshz/recipes/blob/main/modules/void-server-install.ncl"
click node_qemu_library "https://github.com/animeshz/recipes/blob/main/lib/void-qemu.ncl"
click node_autoinstall_hook "https://github.com/animeshz/recipes/blob/main/modules/include/etc/runit/core-services/90-void-server-autoinstall.sh"

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_iso_recipe,node_server_recipe,node_user toneBlue
class node_iso_module,node_server_module,node_qemu_library toneAmber
class node_autoinstall_hook toneMint
class node_output toneIndigo
```

## Components

### Build recipes

- [Void ISO recipe](https://github.com/animeshz/recipes/blob/main/recipes/void-iso.ncl): `recipes/void-iso.ncl`
- [Server install recipe](https://github.com/animeshz/recipes/blob/main/recipes/void-server-install.ncl): `recipes/void-server-install.ncl`

### System configuration

- [ISO configuration](https://github.com/animeshz/recipes/blob/main/modules/void-iso.ncl): `modules/void-iso.ncl`
- [Server configuration](https://github.com/animeshz/recipes/blob/main/modules/void-server-install.ncl): `modules/void-server-install.ncl`
- [QEMU support](https://github.com/animeshz/recipes/blob/main/lib/void-qemu.ncl): `lib/void-qemu.ncl`

### Install support

- [Autoinstall hook](https://github.com/animeshz/recipes/blob/main/modules/include/etc/runit/core-services/90-void-server-autoinstall.sh): `modules/include/etc/runit/core-services/90-void-server-autoinstall.sh`

### Other components

- **Recipe user**
- **Build output**

## Connections

- Recipe user → Void ISO recipe: runs recipe (evidence: `README.md`)
- Recipe user → Server install recipe: runs recipe (evidence: `README.md`)
- Void ISO recipe → Build output: writes output (evidence: `README.md`)
- Server install recipe → Build output: writes output (evidence: `README.md`)
