# jakesteam/minimajake architecture

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

- Interactive diagram: https://gitdiagram.com/jakesteam/minimajake
- Repository: https://github.com/jakesteam/minimajake

## Overview

##### Main Components Identification
The system should be divided into these primary components:

a) Core Theme Components:
- Layout System
- Styling System
- Components
- Custom Features

b) Build & Deployment:
- GitHub Actions Pipeline
- Jekyll Build System

**┌─ Layout Templates ─┐  ┌─ Styling System ─┐  ┌─ Include Components ─┐**
- default.html    │  │ - SASS           │  │ - header.html        │
- post.html       │  │ - CSS            │  │ - footer.html        │
- page.html       │──┼─│ - Skins        │──┼─│ - social           │
- home.html       │  │ - Variables      │  │ - custom components  │
- ┘  └────────────────┘  └───────────────────────┘

**┌─ Native Features ───┐  ┌─ Third Party Integration ┐**
- Table of Contents│  │ - Giscus Comments       │
- Search System    │──┼─│ - Ko-fi Integration    │
- Tag System       │  │                         │
- WebP Generation  │  │                         │
- ┘  └─────────────────────────┘

**┌─ GitHub Actions ────┐  ┌─ Jekyll Build ─────────┐**
- Image Compression│──│ - Site Generation      │
- Jekyll Build     │  │ - Asset Processing     │
- ┘  └─────────────────────────┘

##### Data Flow Indicators

- How layouts incorporate includes
- How styling is applied to templates
- How features integrate with layouts
- How the build process combines everything

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Core_Theme_Layer
        Layout["Layout System"]
        Style["Styling System"]
        Include["Include Components"]
        
        Layout --> Style
        Layout --> Include
        
        subgraph Layouts
            Default["Default Layout"]
            Post["Post Layout"]
            Page["Page Layout"]
            Home["Home Layout"]
        end
        
        subgraph Styling
            SASS["SASS"]
            CSS["CSS"]
            Skins["Theme Skins"]
            Vars["Variables"]
        end
        
        subgraph Includes
            Header["Header"]
            Footer["Footer"]
            Social["Social Components"]
        end
    end
    
    subgraph Feature_Layer
        TOC["Table of Contents"]
        Search["Search System"]
        Tags["Tag System"]
        WebP["WebP Generation"]
        
        ThirdParty["Third Party Integration"]
        Giscus["Giscus Comments"]
        Kofi["Ko-fi Integration"]
        Analytics["Google Analytics"]
        
        ThirdParty --> Giscus
        ThirdParty --> Kofi
        ThirdParty --> Analytics
    end
    
    subgraph Build_Layer
        Actions["GitHub Actions"]
        Jekyll["Jekyll Build"]
        Config["Configuration"]
        Assets["Asset Management"]
        
        Actions --> Jekyll
        Config --> Jekyll
        Assets --> Jekyll
    end
    
    Layout --> Feature_Layer
    Feature_Layer --> Build_Layer
    
    %% Component Mappings
    click Layout "https://github.com/JakeSteam/minimajake/tree/main//_layouts"
    click Default "https://github.com/JakeSteam/minimajake/blob/main//_layouts/default.html"
    click Post "https://github.com/JakeSteam/minimajake/blob/main//_layouts/post.html"
    click Page "https://github.com/JakeSteam/minimajake/blob/main//_layouts/page.html"
    click Home "https://github.com/JakeSteam/minimajake/blob/main//_layouts/home.html"
    click Style "https://github.com/JakeSteam/minimajake/tree/main//_sass/minima"
    click Skins "https://github.com/JakeSteam/minimajake/tree/main//_sass/minima/skins"
    click CSS "https://github.com/JakeSteam/minimajake/blob/main//assets/css/style.scss"
    click Include "https://github.com/JakeSteam/minimajake/tree/main//_includes"
    click Header "https://github.com/JakeSteam/minimajake/blob/main//_includes/header.html"
    click Footer "https://github.com/JakeSteam/minimajake/blob/main//_includes/footer.html"
    click Social "https://github.com/JakeSteam/minimajake/tree/main//_includes/social"
    click TOC "https://github.com/JakeSteam/minimajake/blob/main//_includes/custom/contents.html"
    click Search "https://github.com/JakeSteam/minimajake/blob/main//_includes/custom/search.html"
    click Tags "https://github.com/JakeSteam/minimajake/blob/main//_includes/custom/tags.html"
    click WebP "https://github.com/JakeSteam/minimajake/blob/main//_includes/custom/webp.html"
    click Kofi "https://github.com/JakeSteam/minimajake/blob/main//_includes/custom/donatebutton.html"
    click Analytics "https://github.com/JakeSteam/minimajake/blob/main//_includes/google-analytics.html"
    click Actions "https://github.com/JakeSteam/minimajake/tree/main//.github/workflows"
    click Config "https://github.com/JakeSteam/minimajake/blob/main//_config.yml"
    click Assets "https://github.com/JakeSteam/minimajake/tree/main//assets"
    
    classDef core fill:#3498db,stroke:#2980b9,color:white
    classDef feature fill:#2ecc71,stroke:#27ae60,color:white
    classDef thirdparty fill:#e67e22,stroke:#d35400,color:white
    classDef build fill:#95a5a6,stroke:#7f8c8d,color:white
    
    class Layout,Style,Include,Layouts,Styling,Includes,Default,Post,Page,Home,SASS,CSS,Skins,Vars,Header,Footer,Social core
    class TOC,Search,Tags,WebP feature
    class ThirdParty,Giscus,Kofi,Analytics thirdparty
    class Actions,Jekyll,Config,Assets build
```
