# yaravind/dev-tools architecture

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

- Interactive diagram: https://gitdiagram.com/yaravind/dev-tools
- Repository: https://github.com/yaravind/dev-tools

## Overview

##### Main Components

a. Installation Flow:
- To the main "setup_env.sh" orchestrator
- Branch out to various installation categories

b. Tool Categories (group components by purpose):
- Development Tools (JDK, Maven, Python, Node.js)
- Shell Utilities (htop, tree, jq, etc.)
- IDEs (IntelliJ, PyCharm, VS Code)
- Package Managers (Homebrew, Conda, Micromamba)
- Version Managers (jenv)

c. Configuration Components:
- Shell RC Files (.zshrc, .bashrc)
- Git Configuration
- Environment Variables
- Font Configuration

**[User Input] -> [Prerequisites Check] -> [Main Orchestrator (setup_env.sh)]**

- [Package Managers]    [Development Tools]    [Shell Configuration]

- [Tool Installation]     [Version Managers]     [RC Files Setup]

##### Important Relationships

- Dependencies between components (e.g., Homebrew required for other installations)
- Configuration flow (how .zshrc/.bashrc are updated)
- Tool version management (jenv's relationship with Java installations)
- Verification steps and success indicators

##### Additional Elements

- Version information for critical components
- System requirement checks
- Points where user interaction might be required

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Legend
        A1[Process]
        A2([External Tool])
        A3[(Package Manager)]
        A4[/Configuration File/]
        style A1 fill:#b3e0ff
        style A2 fill:#d9d9d9
        style A3 fill:#ffcc99
        style A4 fill:#ffffcc
    end

    Start((Start Setup)) --> Prerequisites
    Prerequisites([Prerequisites Check])
    Prerequisites --> XCode([XCode CLI Tools])
    Prerequisites --> Homebrew[(Homebrew)]

    Prerequisites --> MainSetup[Main Orchestrator]
    click MainSetup "https://github.com/yaravind/dev-tools/blob/master/setup_env.sh"

    MainSetup --> PackageManagers{Package Managers}
    MainSetup --> DevTools{Development Tools}
    MainSetup --> ShellConfig{Shell Configuration}

    PackageManagers --> Brew[(Homebrew)]
    PackageManagers --> Conda[(Conda)]
    PackageManagers --> Micromamba[(Micromamba)]

    DevTools --> Java([JDK])
    DevTools --> Maven([Maven])
    DevTools --> Python([Python])
    DevTools --> NodeJS([Node.js])
    DevTools --> VersionMgmt{Version Managers}

    VersionMgmt --> Jenv[Java Environment Manager]
    click Jenv "https://github.com/yaravind/dev-tools/blob/master/jenv_setup.sh"

    ShellConfig --> RCFiles[Shell RC Setup]
    click RCFiles "https://github.com/yaravind/dev-tools/blob/master/.zshrc"
    click RCFiles "https://github.com/yaravind/dev-tools/blob/master/.bashrc"

    ShellConfig --> Colors[Color Configuration]
    click Colors "https://github.com/yaravind/dev-tools/blob/master/colors.sh"

    ShellConfig --> GitConfig[Git Configuration]
    click GitConfig "https://github.com/yaravind/dev-tools/blob/master/.gitignore"

    ShellConfig --> LogConfig[Log Navigation]
    click LogConfig "https://github.com/yaravind/dev-tools/blob/master/lnav_format_python.json"

    subgraph IDEs
        IntelliJ([IntelliJ])
        PyCharm([PyCharm])
        VSCode([VS Code])
    end

    subgraph "Shell Utilities"
        Htop([htop])
        Tree([tree])
        Jq([jq])
    end

    MainSetup --> IDEs
    MainSetup --> ShellUtils

    classDef default fill:#b3e0ff,stroke:#333,stroke-width:1px
    classDef external fill:#d9d9d9,stroke:#333,stroke-width:1px
    classDef package fill:#ffcc99,stroke:#333,stroke-width:1px
    classDef config fill:#ffffcc,stroke:#333,stroke-width:1px
    classDef section fill:#e6e6e6,stroke:#333,stroke-width:1px

    class Prerequisites,MainSetup default
    class XCode,Java,Maven,Python,NodeJS,IntelliJ,PyCharm,VSCode,Htop,Tree,Jq external
    class Homebrew,Brew,Conda,Micromamba package
    class RCFiles,Colors,GitConfig,LogConfig config
    class PackageManagers,DevTools,ShellConfig,VersionMgmt section
```
