# mrjadaml/mac-maker architecture

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

- Interactive diagram: https://gitdiagram.com/mrjadaml/mac-maker
- Repository: https://github.com/mrjadaml/mac-maker

## Overview

Mac-Maker is a modular macOS developer-environment installer. The user sources `install.sh`; it runs the Homebrew installation phase and then sources selected setup modules. Homebrew’s manifests describe packages, apps, and Mac App Store installs, while separate modules configure language runtimes, system tools, shell, editor, and terminal multiplexer. The README documents this orchestration and the optional Xcode and shell-framework choices. Source excerpts were not provided, so relationships below rely on README statements; the individual setup scripts’ internal behavior is not inferred.

Main entry points: [`install.sh`](https://github.com/mrjadaml/mac-maker/blob/master/install.sh) (Install script), [`run/homebrew/Brewfile`](https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/Brewfile) (Package manifest), [`run/zsh/setup`](https://github.com/mrjadaml/mac-maker/blob/master/run/zsh/setup) (Zsh setup), [`run/homebrew/setup`](https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/setup) (Homebrew setup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_bootstrap["Installation"]
  node_installer["Install script<br/>[install.sh]"]
  node_homebrew_setup["Homebrew setup"]
end

subgraph group_packages["Package Selection"]
  node_brewfile["Package manifest"]
  node_casks["Cask apps"]
  node_mas["App Store apps"]
  node_xcode["Optional Xcode"]
end

subgraph group_system["System and Languages"]
  node_git["Git configuration"]
  node_osx["macOS configuration"]
  node_node["Node setup"]
  node_python["Python setup"]
  node_ruby["Ruby setup"]
end

subgraph group_workflow["Shell and Editors"]
  node_tmux["Tmux setup"]
  node_tmux_config["Tmux configs<br/>[tmux.conf]"]
  node_vim["Vim setup"]
  node_vim_config["Vim configuration"]
  node_zsh["Zsh setup"]
  node_antigen["Antigen option"]
  node_ohmyzsh["Oh My Zsh option"]
end

node_user(("Mac user"))

node_user -->|"sources"| node_installer
node_installer -->|"starts Brew"| node_homebrew_setup
node_installer -->|"sources module"| node_git
node_installer -->|"sources module"| node_osx
node_installer -->|"sources module"| node_node
node_installer -->|"sources module"| node_python
node_installer -->|"sources module"| node_ruby
node_installer -->|"sources module"| node_tmux
node_installer -->|"sources module"| node_vim
node_installer -->|"sources module"| node_zsh
node_homebrew_setup -->|"installs packages"| node_brewfile
node_brewfile -->|"uses app list"| node_casks
node_brewfile -->|"uses app list"| node_mas
node_mas -->|"offers optional install"| node_xcode
node_tmux -->|"uses configuration"| node_tmux_config
node_vim -->|"uses configuration"| node_vim_config
node_zsh -->|"offers framework"| node_antigen
node_zsh -->|"offers framework"| node_ohmyzsh

click node_installer "https://github.com/mrjadaml/mac-maker/blob/master/install.sh"
click node_homebrew_setup "https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/setup"
click node_brewfile "https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/Brewfile"
click node_casks "https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/brew-casks"
click node_mas "https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/brew-mas"
click node_xcode "https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/xcode-install"
click node_git "https://github.com/mrjadaml/mac-maker/blob/master/run/git/setup"
click node_osx "https://github.com/mrjadaml/mac-maker/blob/master/run/osx/setup"
click node_node "https://github.com/mrjadaml/mac-maker/blob/master/run/node/setup"
click node_python "https://github.com/mrjadaml/mac-maker/blob/master/run/python/setup"
click node_ruby "https://github.com/mrjadaml/mac-maker/blob/master/run/ruby/setup"
click node_tmux "https://github.com/mrjadaml/mac-maker/blob/master/run/tmux/setup"
click node_tmux_config "https://github.com/mrjadaml/mac-maker/blob/master/run/tmux/tmux.conf"
click node_vim "https://github.com/mrjadaml/mac-maker/blob/master/run/vim/setup"
click node_vim_config "https://github.com/mrjadaml/mac-maker/blob/master/run/vim/vimrc"
click node_zsh "https://github.com/mrjadaml/mac-maker/blob/master/run/zsh/setup"
click node_antigen "https://github.com/mrjadaml/mac-maker/blob/master/run/zsh/antigen/setup"
click node_ohmyzsh "https://github.com/mrjadaml/mac-maker/blob/master/run/zsh/oh-my-zsh"

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_installer,node_homebrew_setup,node_user toneBlue
class node_brewfile,node_casks,node_mas,node_xcode toneAmber
class node_git,node_osx,node_node,node_python,node_ruby toneMint
class node_tmux,node_tmux_config,node_vim,node_vim_config,node_zsh,node_antigen,node_ohmyzsh toneRose
```

## Components

### Installation

- [Install script](https://github.com/mrjadaml/mac-maker/blob/master/install.sh): `install.sh`
- [Homebrew setup](https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/setup): `run/homebrew/setup`

### Package Selection

- [Package manifest](https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/Brewfile): `run/homebrew/Brewfile`
- [Cask apps](https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/brew-casks): `run/homebrew/brew-casks`
- [App Store apps](https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/brew-mas): `run/homebrew/brew-mas`
- [Optional Xcode](https://github.com/mrjadaml/mac-maker/blob/master/run/homebrew/xcode-install): `run/homebrew/xcode-install`

### System and Languages

- [Git configuration](https://github.com/mrjadaml/mac-maker/blob/master/run/git/setup): `run/git/setup`
- [macOS configuration](https://github.com/mrjadaml/mac-maker/blob/master/run/osx/setup): `run/osx/setup`
- [Node setup](https://github.com/mrjadaml/mac-maker/blob/master/run/node/setup): `run/node/setup`
- [Python setup](https://github.com/mrjadaml/mac-maker/blob/master/run/python/setup): `run/python/setup`
- [Ruby setup](https://github.com/mrjadaml/mac-maker/blob/master/run/ruby/setup): `run/ruby/setup`

### Shell and Editors

- [Tmux setup](https://github.com/mrjadaml/mac-maker/blob/master/run/tmux/setup): `run/tmux/setup`
- [Tmux configs](https://github.com/mrjadaml/mac-maker/blob/master/run/tmux/tmux.conf): `run/tmux/tmux.conf`
- [Vim setup](https://github.com/mrjadaml/mac-maker/blob/master/run/vim/setup): `run/vim/setup`
- [Vim configuration](https://github.com/mrjadaml/mac-maker/blob/master/run/vim/vimrc): `run/vim/vimrc`
- [Zsh setup](https://github.com/mrjadaml/mac-maker/blob/master/run/zsh/setup): `run/zsh/setup`
- [Antigen option](https://github.com/mrjadaml/mac-maker/blob/master/run/zsh/antigen/setup): `run/zsh/antigen/setup`
- [Oh My Zsh option](https://github.com/mrjadaml/mac-maker/blob/master/run/zsh/oh-my-zsh): `run/zsh/oh-my-zsh`

### Other components

- **Mac user**

## Connections

- Mac user → Install script: sources (evidence: `readme.md`)
- Install script → Homebrew setup: starts Brew (evidence: `readme.md`)
- Install script → Git configuration: sources module (evidence: `readme.md`)
- Install script → macOS configuration: sources module (evidence: `readme.md`)
- Install script → Node setup: sources module (evidence: `readme.md`)
- Install script → Python setup: sources module (evidence: `readme.md`)
- Install script → Ruby setup: sources module (evidence: `readme.md`)
- Install script → Tmux setup: sources module (evidence: `readme.md`)
- Install script → Vim setup: sources module (evidence: `readme.md`)
- Install script → Zsh setup: sources module (evidence: `readme.md`)
- Homebrew setup → Package manifest: installs packages (evidence: `readme.md`)
- Package manifest → Cask apps: uses app list (evidence: `readme.md`)
- Package manifest → App Store apps: uses app list (evidence: `readme.md`)
- App Store apps → Optional Xcode: offers optional install (evidence: `readme.md`)
- Tmux setup → Tmux configs: uses configuration (evidence: `readme.md`)
- Vim setup → Vim configuration: uses configuration (evidence: `readme.md`)
- Zsh setup → Antigen option: offers framework (evidence: `readme.md`)
- Zsh setup → Oh My Zsh option: offers framework (evidence: `readme.md`)
