# alexmyczko/autoexec.bat architecture

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

- Interactive diagram: https://gitdiagram.com/alexmyczko/autoexec.bat
- Repository: https://github.com/alexmyczko/autoexec.bat

## Overview

This repository is a personal collection of Linux/macOS dotfiles, system-administration scripts, and standalone command-line or SDL utilities—not one application with a shared pipeline. The principal workflow is that a user selects and runs an individual tool or applies a configuration, which performs its own task. Documented capabilities include Debian packaging helpers, system setup, energy saving, hardware monitoring, software inventory, disk operations, and small visual utilities. The tree and README establish these branches; most implementations were not sampled, so their internal calls and data flows are not inferred.

Main entry points: [`.config`](https://github.com/alexmyczko/autoexec.bat/tree/master/.config) (Desktop configs), [`.zshrc`](https://github.com/alexmyczko/autoexec.bat/blob/master/.zshrc) (Shell configs), [`config.sys`](https://github.com/alexmyczko/autoexec.bat/tree/master/config.sys) (System setup), [`energy`](https://github.com/alexmyczko/autoexec.bat/tree/master/energy) (Energy saving)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_settings["Personal settings"]
  node_desktop_config["Desktop configs<br/>[.config]"]
  node_shell_config["Shell configs<br/>[.zshrc]"]
end

subgraph group_administration["System administration"]
  node_system_setup["System setup<br/>[config.sys]"]
  node_energy["Energy saving"]
  node_raid_monitor["RAID monitoring"]
  node_reboot_check["Reboot safety"]
  node_hardware_reboot["Keyboard reboot<br/>[kbd-reboot.c]"]
end

subgraph group_debian["Debian helpers"]
  node_package_request["ITP preparation"]
  node_source_archive["Source archive"]
  node_salsa_update["Salsa update"]
  node_script_compress["Shell compression"]
end

subgraph group_utilities["Standalone tools"]
  node_disk_menu["Disk operations"]
  node_raid_calculator["RAID calculator"]
  node_permissions["Permission backup"]
  node_benchmark["System benchmark"]
  node_software_inventory["Software inventory"]
end

subgraph group_visual["Visual utilities"]
  node_led_effect["LED indicator"]
  node_command_shell["April Fools shell<br/>[COMMAND.COM]"]
  node_camera_color["Camera color display<br/>[cam.cpp]"]
  node_strobe["Color strobe<br/>[strobe.c]"]
end

node_user(("User"))

node_user -->|"applies"| node_desktop_config
node_user -->|"uses"| node_shell_config
node_user -->|"runs"| node_system_setup
node_user -->|"runs"| node_energy
node_user -->|"runs"| node_raid_monitor
node_user -->|"runs"| node_reboot_check
node_user -.->|"runs"| node_hardware_reboot
node_user -->|"runs"| node_package_request
node_user -->|"runs"| node_source_archive
node_user -->|"runs"| node_salsa_update
node_user -->|"runs"| node_script_compress
node_user -->|"runs"| node_disk_menu
node_user -->|"runs"| node_raid_calculator
node_user -->|"runs"| node_permissions
node_user -->|"runs"| node_benchmark
node_user -->|"runs"| node_software_inventory
node_user -->|"runs"| node_led_effect
node_user -->|"runs"| node_command_shell
node_user -.->|"runs"| node_camera_color
node_user -.->|"runs"| node_strobe

click node_desktop_config "https://github.com/alexmyczko/autoexec.bat/tree/master/.config"
click node_shell_config "https://github.com/alexmyczko/autoexec.bat/blob/master/.zshrc"
click node_system_setup "https://github.com/alexmyczko/autoexec.bat/tree/master/config.sys"
click node_energy "https://github.com/alexmyczko/autoexec.bat/tree/master/energy"
click node_raid_monitor "https://github.com/alexmyczko/autoexec.bat/tree/master/xymon"
click node_reboot_check "https://github.com/alexmyczko/autoexec.bat/blob/master/chkreboot"
click node_hardware_reboot "https://github.com/alexmyczko/autoexec.bat/blob/master/kbd-reboot.c"
click node_package_request "https://github.com/alexmyczko/autoexec.bat/blob/master/deb2itp"
click node_source_archive "https://github.com/alexmyczko/autoexec.bat/blob/master/git2deb"
click node_salsa_update "https://github.com/alexmyczko/autoexec.bat/blob/master/deb2salsa"
click node_script_compress "https://github.com/alexmyczko/autoexec.bat/blob/master/bashx"
click node_disk_menu "https://github.com/alexmyczko/autoexec.bat/blob/master/diskcom"
click node_raid_calculator "https://github.com/alexmyczko/autoexec.bat/blob/master/raidcalc"
click node_permissions "https://github.com/alexmyczko/autoexec.bat/blob/master/perms"
click node_benchmark "https://github.com/alexmyczko/autoexec.bat/blob/master/benchmark"
click node_software_inventory "https://github.com/alexmyczko/autoexec.bat/blob/master/sw"
click node_led_effect "https://github.com/alexmyczko/autoexec.bat/blob/master/led-indicator"
click node_command_shell "https://github.com/alexmyczko/autoexec.bat/blob/master/COMMAND.COM"
click node_camera_color "https://github.com/alexmyczko/autoexec.bat/blob/master/sdl/cam.cpp"
click node_strobe "https://github.com/alexmyczko/autoexec.bat/blob/master/sdl/strobe.c"

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_desktop_config,node_shell_config,node_user toneBlue
class node_system_setup,node_energy,node_raid_monitor,node_reboot_check,node_hardware_reboot toneAmber
class node_package_request,node_source_archive,node_salsa_update,node_script_compress toneMint
class node_disk_menu,node_raid_calculator,node_permissions,node_benchmark,node_software_inventory toneRose
class node_led_effect,node_command_shell,node_camera_color,node_strobe toneIndigo
```

## Components

### Personal settings

- [Desktop configs](https://github.com/alexmyczko/autoexec.bat/tree/master/.config): `.config`
- [Shell configs](https://github.com/alexmyczko/autoexec.bat/blob/master/.zshrc): `.zshrc`

### System administration

- [System setup](https://github.com/alexmyczko/autoexec.bat/tree/master/config.sys): `config.sys`
- [Energy saving](https://github.com/alexmyczko/autoexec.bat/tree/master/energy): `energy`
- [RAID monitoring](https://github.com/alexmyczko/autoexec.bat/tree/master/xymon): `xymon`
- [Reboot safety](https://github.com/alexmyczko/autoexec.bat/blob/master/chkreboot): `chkreboot`
- [Keyboard reboot](https://github.com/alexmyczko/autoexec.bat/blob/master/kbd-reboot.c): `kbd-reboot.c`

### Debian helpers

- [ITP preparation](https://github.com/alexmyczko/autoexec.bat/blob/master/deb2itp): `deb2itp`
- [Source archive](https://github.com/alexmyczko/autoexec.bat/blob/master/git2deb): `git2deb`
- [Salsa update](https://github.com/alexmyczko/autoexec.bat/blob/master/deb2salsa): `deb2salsa`
- [Shell compression](https://github.com/alexmyczko/autoexec.bat/blob/master/bashx): `bashx`

### Standalone tools

- [Disk operations](https://github.com/alexmyczko/autoexec.bat/blob/master/diskcom): `diskcom`
- [RAID calculator](https://github.com/alexmyczko/autoexec.bat/blob/master/raidcalc): `raidcalc`
- [Permission backup](https://github.com/alexmyczko/autoexec.bat/blob/master/perms): `perms`
- [System benchmark](https://github.com/alexmyczko/autoexec.bat/blob/master/benchmark): `benchmark`
- [Software inventory](https://github.com/alexmyczko/autoexec.bat/blob/master/sw): `sw`

### Visual utilities

- [LED indicator](https://github.com/alexmyczko/autoexec.bat/blob/master/led-indicator): `led-indicator`
- [April Fools shell](https://github.com/alexmyczko/autoexec.bat/blob/master/COMMAND.COM): `COMMAND.COM`
- [Camera color display](https://github.com/alexmyczko/autoexec.bat/blob/master/sdl/cam.cpp): `sdl/cam.cpp`
- [Color strobe](https://github.com/alexmyczko/autoexec.bat/blob/master/sdl/strobe.c): `sdl/strobe.c`

### Other components

- **User**

## Connections

- User → Desktop configs: applies (evidence: `README.md`)
- User → Shell configs: uses (evidence: `README.md`)
- User → System setup: runs (evidence: `README.md`)
- User → Energy saving: runs (evidence: `README.md`)
- User → RAID monitoring: runs (evidence: `README.md`)
- User → Reboot safety: runs (evidence: `README.md`)
- User → Keyboard reboot: runs
- User → ITP preparation: runs (evidence: `README.md`)
- User → Source archive: runs (evidence: `README.md`)
- User → Salsa update: runs (evidence: `README.md`)
- User → Shell compression: runs (evidence: `README.md`)
- User → Disk operations: runs (evidence: `README.md`)
- User → RAID calculator: runs (evidence: `README.md`)
- User → Permission backup: runs (evidence: `README.md`)
- User → System benchmark: runs (evidence: `README.md`)
- User → Software inventory: runs (evidence: `README.md`)
- User → LED indicator: runs (evidence: `README.md`)
- User → April Fools shell: runs (evidence: `README.md`)
- User → Camera color display: runs
- User → Color strobe: runs
