# joeky888/dotfile architecture

> Architecture diagram of the GitHub repository joeky888/dotfile, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/joeky888/dotfile
- Repository: https://github.com/joeky888/dotfile

## Overview

##### Project type and purpose
- This is a “dotfiles” repository: a collection of shell/IDE/editor/OS configuration files and platform-specific documentation, bundled with an install script (`install.sh`).
- Purpose is to bootstrap a user’s environment: clone the repo, run the installer, and populate `~` with your preferred configs (bash, zsh, fish, tmux, vim, VSCode, etc.) and reference OS-specific guides.

##### File structure
- Top-level “dotfile” artifacts: `.bashrc`, `.zshrc` (via `ohmyzsh`), `starship.toml`, `tmux.conf`, `vimrc`, VSCode settings, etc.
- Platform-specific directories:
- Android/ – MD guides for Android tooling and shells
- BSD/, Linux/, MacOS/, Windows/ – OS-specific notes and scripts
- Utility directories:
- Dockerfile/ – container base images for testing or building environments
- Programming/, Software/, Web/, Misc/ – documentation, cheatsheets, tutorials
- Framework integrations: `ohmyzsh/`, `zsh-autosuggestions/`, `powerlevel10k/`, and `fish` config.

##### README
- Very simple: fetch and run `install.sh` (or pipe to zsh for MacOS/FreeBSD), or individually grab `.bashrc` or Fish config.

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Actors
    User["User"]:::external

    %% Core Components
    Repo["Git-hosted Dotfiles Repo"]:::repo
    Installer["Installer Script\ninstall.sh"]:::installer

    %% Environment
    Home["User Home Directory\n(~)"]:::environment

    %% Platform Documentation
    subgraph "OS-Specific Guides"
        Android["Android/"]:::osdocs
        BSD["BSD/"]:::osdocs
        Linux["Linux/"]:::osdocs
        MacOS["MacOS/"]:::osdocs
        Windows["Windows/"]:::osdocs
    end

    %% Configuration Modules
    subgraph "Shell Modules"
        Bash[".bashrc"]:::config
        ohmyzsh["ohmyzsh/"]:::config
        zsh_auto["zsh-autosuggestions/"]:::config
        zsh_syntax["zsh-syntax-highlighting/"]:::config
        p10k["powerlevel10k/"]:::config
        fish_conf[".config.fish"]:::config
        fish_dir["fish/"]:::config
    end

    subgraph "Editor/IDE Modules"
        vimrc["vimrc"]:::config
        vscode_settings[".vscode.settings.js"]:::config
        vscode_keybindings[".vscode.keybindings.js"]:::config
        vscode_css[".vscode.monokai-neon-glow.css"]:::config
        helix[".helix.config.toml"]:::config
        zed_settings[".zed.settings.js"]:::config
        zed_keymap[".zed.keymap.js"]:::config
    end

    subgraph "Terminal Modules"
        tmux[".tmux.conf"]:::config
        alacritty[".alacritty.toml"]:::config
        wezterm[".wezterm.lua"]:::config
        xresources[".Xresources"]:::config
        xprofile[".xprofile"]:::config
    end

    subgraph "Misc Tools / Prompts"
        starship["starship.toml"]:::config
        public_sh["public.sh"]:::config
        powershell["powershell/"]:::config
    end

    subgraph "Container Testing / Dockerfiles"
        root_docker["Dockerfile"]:::config
        alpine["Dockerfile/alpine-edge/"]:::config
        archlinux["Dockerfile/archlinux-sudoer/"]:::config
        deb_testing["Dockerfile/debian-testing/"]:::config
        deb_unstable["Dockerfile/debian-unstable/"]:::config
        k8s["Dockerfile/k8s/"]:::config
        service["Dockerfile/service/"]:::config
        ubuntu["Dockerfile/ubuntu/"]:::config
    end

    subgraph "Utility & Documentation Modules"
        Programming["Programming/"]:::docs
        Software["Software/"]:::docs
        Web["Web/"]:::docs
        Misc["Misc/"]:::docs
        Hardware["Hardware/"]:::docs
    end

    %% Flows
    User -->|"Run"| Installer
    Installer -->|"Clone Repo"| Repo
    Installer -->|"Detect OS"| Android
    Installer -->|"Detect OS"| BSD
    Installer -->|"Detect OS"| Linux
    Installer -->|"Detect OS"| MacOS
    Installer -->|"Detect OS"| Windows
    Installer -->|"Deploy configs"| Home

    Home -->|"Symlink/Copy Shell"| Bash
    Home -->|"Symlink/Copy Shell"| ohmyzsh
    Home -->|"Symlink/Copy Shell"| zsh_auto
    Home -->|"Symlink/Copy Shell"| zsh_syntax
    Home -->|"Symlink/Copy Shell"| p10k
    Home -->|"Symlink/Copy Shell"| fish_conf
    Home -->|"Symlink/Copy Shell"| fish_dir

    Home -->|"Symlink/Copy Editor"| vimrc
    Home -->|"Symlink/Copy Editor"| vscode_settings
    Home -->|"Symlink/Copy Editor"| vscode_keybindings
    Home -->|"Symlink/Copy Editor"| vscode_css
    Home -->|"Symlink/Copy Editor"| helix
    Home -->|"Symlink/Copy Editor"| zed_settings
    Home -->|"Symlink/Copy Editor"| zed_keymap

    Home -->|"Symlink/Copy Terminal"| tmux
    Home -->|"Symlink/Copy Terminal"| alacritty
    Home -->|"Symlink/Copy Terminal"| wezterm
    Home -->|"Symlink/Copy Terminal"| xresources
    Home -->|"Symlink/Copy Terminal"| xprofile

    Home -->|"Symlink/Copy Misc"| starship
    Home -->|"Symlink/Copy Misc"| public_sh
    Home -->|"Symlink/Copy Misc"| powershell

    Home -->|"Optional Container Setup"| root_docker
    root_docker --> alpine
    root_docker --> archlinux
    root_docker --> deb_testing
    root_docker --> deb_unstable
    root_docker --> k8s
    root_docker --> service
    root_docker --> ubuntu

    Home -->|"Reference Docs"| Programming
    Home -->|"Reference Docs"| Software
    Home -->|"Reference Docs"| Web
    Home -->|"Reference Docs"| Misc
    Home -->|"Reference Docs"| Hardware

    %% Click Events
    click Repo "https://github.com/joeky888/dotfile/tree/master//"
    click Installer "https://github.com/joeky888/dotfile/blob/master//install.sh"
    click Android "https://github.com/joeky888/dotfile/tree/master//Android/"
    click BSD "https://github.com/joeky888/dotfile/tree/master//BSD/"
    click Linux "https://github.com/joeky888/dotfile/tree/master//Linux/"
    click MacOS "https://github.com/joeky888/dotfile/tree/master//MacOS/"
    click Windows "https://github.com/joeky888/dotfile/tree/master//Windows/"
    click Bash "https://github.com/joeky888/dotfile/blob/master//.bashrc"
    click ohmyzsh "https://github.com/joeky888/dotfile/tree/master//ohmyzsh/"
    click zsh_auto "https://github.com/joeky888/dotfile/tree/master//zsh-autosuggestions/"
    click zsh_syntax "https://github.com/joeky888/dotfile/tree/master//zsh-syntax-highlighting/"
    click p10k "https://github.com/joeky888/dotfile/tree/master//powerlevel10k/"
    click fish_conf "https://github.com/joeky888/dotfile/blob/master//.config.fish"
    click fish_dir "https://github.com/joeky888/dotfile/tree/master//fish/"
    click vimrc "https://github.com/joeky888/dotfile/tree/master//vimrc"
    click vscode_settings "https://github.com/joeky888/dotfile/blob/master//.vscode.settings.js"
    click vscode_keybindings "https://github.com/joeky888/dotfile/blob/master//.vscode.keybindings.js"
    click vscode_css "https://github.com/joeky888/dotfile/blob/master//.vscode.monokai-neon-glow.css"
    click helix "https://github.com/joeky888/dotfile/blob/master//.helix.config.toml"
    click zed_settings "https://github.com/joeky888/dotfile/blob/master//.zed.settings.js"
    click zed_keymap "https://github.com/joeky888/dotfile/blob/master//.zed.keymap.js"
    click tmux "https://github.com/joeky888/dotfile/blob/master//.tmux.conf"
    click alacritty "https://github.com/joeky888/dotfile/blob/master//.alacritty.toml"
    click wezterm "https://github.com/joeky888/dotfile/blob/master//.wezterm.lua"
    click xresources "https://github.com/joeky888/dotfile/blob/master//.Xresources"
    click xprofile "https://github.com/joeky888/dotfile/blob/master//.xprofile"
    click starship "https://github.com/joeky888/dotfile/blob/master//starship.toml"
    click public_sh "https://github.com/joeky888/dotfile/blob/master//public.sh"
    click powershell "https://github.com/joeky888/dotfile/tree/master//powershell/"
    click root_docker "https://github.com/joeky888/dotfile/tree/master//Dockerfile"
    click alpine "https://github.com/joeky888/dotfile/tree/master//Dockerfile/alpine-edge/"
    click archlinux "https://github.com/joeky888/dotfile/tree/master//Dockerfile/archlinux-sudoer/"
    click deb_testing "https://github.com/joeky888/dotfile/tree/master//Dockerfile/debian-testing/"
    click deb_unstable "https://github.com/joeky888/dotfile/tree/master//Dockerfile/debian-unstable/"
    click k8s "https://github.com/joeky888/dotfile/tree/master//Dockerfile/k8s/"
    click service "https://github.com/joeky888/dotfile/tree/master//Dockerfile/service/"
    click ubuntu "https://github.com/joeky888/dotfile/tree/master//Dockerfile/ubuntu/"
    click Programming "https://github.com/joeky888/dotfile/tree/master//Programming/"
    click Software "https://github.com/joeky888/dotfile/tree/master//Software/"
    click Web "https://github.com/joeky888/dotfile/tree/master//Web/"
    click Misc "https://github.com/joeky888/dotfile/tree/master//Misc/"
    click Hardware "https://github.com/joeky888/dotfile/tree/master//Hardware/"

    %% Styling
    classDef installer fill:#cce5ff,stroke:#004085,color:#004085;
    classDef repo fill:#e2e3e5,stroke:#6c757d,color:#383d41;
    classDef config fill:#d4edda,stroke:#155724,color:#155724;
    classDef osdocs fill:#fff3cd,stroke:#856404,color:#856404;
    classDef docs fill:#f8d7da,stroke:#721c24,color:#721c24;
    classDef environment fill:#e2e3e5,stroke:#6c757d,color:#383d41;
    classDef external fill:#f0f0f0,stroke:#999999,color:#333333;
```
