# misilelab/h3 architecture

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

- Interactive diagram: https://gitdiagram.com/misilelab/h3
- Repository: https://github.com/misilelab/h3

## Overview

##### Main Components

a. Repository Structure Layer
- Archives (inactive projects)
- Libraries (reusable components)
- Templates (project templates)
- Projects (active projects)
- Modpacks (Minecraft-specific content)

b. Infrastructure Layer
- Josh Git Server (for partial checkouts)
- MinIO Server (for legacy cache storage)
- DVC Integration (for data version control)

**Top Level (Repository Management)**

- Service Layer
- Josh Git Server
- MinIO Storage
- DVC System

- Project Categories
- Active Projects
- DSB
- Schale
- Others

- Libraries
- PCFRV
- Satellite

- Templates
- Astro.js
- SolidJS

- Archives

##### Important Details

- License information indicator (MisileLab License as default)
- Version control flow
- Project status indicators
- Integration points between components

##### Metadata Section

- Line types
- Status indicators

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph RepoStructure["Repository Structure"]
        direction TB
        MainRepo[("Main Repository")]
        Archives["Archives"]
        Libraries["Libraries"]
        Templates["Templates"]
        Projects["Projects"]
        Modpacks["Modpacks"]
    end

    subgraph Infrastructure["Infrastructure Layer"]
        direction TB
        JoshGit["Josh Git Server"]:::infra
        MinIO["MinIO Storage"]:::infra
        DVC["DVC System"]:::infra
    end

    subgraph ActiveProjects["Active Projects"]
        direction TB
        DSB["DSB Project"]:::active
        Schale["Schale Project"]:::active
        OtherProjects["Other Projects"]:::active
    end

    subgraph LibraryComponents["Library Components"]
        direction TB
        PCFRV["PCFRV"]:::library
        Satellite["Satellite"]:::library
    end

    subgraph TemplateTypes["Template Types"]
        direction TB
        AstroJS["Astro.js Templates"]:::template
        SolidJS["SolidJS Templates"]:::template
    end

    subgraph Config["Configuration"]
        direction TB
        GitConfig["Git Config"]:::config
        Security["Security Config"]:::config
        PreCommit["Pre-commit Hooks"]:::config
        License["License"]:::config
    end

    MainRepo --> Archives
    MainRepo --> Libraries
    MainRepo --> Templates
    MainRepo --> Projects
    MainRepo --> Modpacks

    Projects --> ActiveProjects
    Libraries --> LibraryComponents
    Templates --> TemplateTypes

    MainRepo -.-> Infrastructure

    %% Click events for components
    click Archives "https://github.com/misilelab/h3/tree/main/archives/"
    click Libraries "https://github.com/misilelab/h3/tree/main/libraries/"
    click Templates "https://github.com/misilelab/h3/tree/main/templates/"
    click Projects "https://github.com/misilelab/h3/tree/main/projects/"
    click Modpacks "https://github.com/misilelab/h3/tree/main/modpacks/"
    click JoshGit "https://github.com/misilelab/h3/blob/main/archives/xobusy/bojs/workspace.josh"
    click DVC "https://github.com/misilelab/h3/blob/main/.dvcignore"
    click DSB "https://github.com/misilelab/h3/tree/main/projects/dsb/"
    click Schale "https://github.com/misilelab/h3/tree/main/projects/schale/"
    click PCFRV "https://github.com/misilelab/h3/tree/main/libraries/pcfrv/"
    click Satellite "https://github.com/misilelab/h3/tree/main/libraries/satellite/"
    click AstroJS "https://github.com/misilelab/h3/tree/main/templates/astrojs/"
    click SolidJS "https://github.com/misilelab/h3/tree/main/templates/solidjs-basic/"
    click GitConfig "https://github.com/misilelab/h3/blob/main/.gitignore"
    click Security "https://github.com/misilelab/h3/blob/main/.gitleaks.toml"
    click PreCommit "https://github.com/misilelab/h3/blob/main/.pre-commit-config.yaml"
    click License "https://github.com/misilelab/h3/blob/main/LICENSE.md"

    %% Styling
    classDef infra fill:#e6e6fa,stroke:#333
    classDef active fill:#b3d9ff,stroke:#333
    classDef library fill:#90ee90,stroke:#333
    classDef template fill:#ffeb99,stroke:#333
    classDef config fill:#f0f0f0,stroke:#333

    %% Legend
    subgraph Legend
        direction TB
        L1["Infrastructure"]:::infra
        L2["Active Projects"]:::active
        L3["Libraries"]:::library
        L4["Templates"]:::template
        L5["Configuration"]:::config
    end
```
