# lulliz/jetos architecture

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

- Interactive diagram: https://gitdiagram.com/lulliz/jetos
- Repository: https://github.com/lulliz/jetos

## Overview

##### Main Components

A. Client-Side Architecture:
- Vue 3 Application Container
- Core Components Layer
- Asset Management
- Styling System
- Build/Development System

- Make this the largest encompassing container

##### Inside the main container, create these component sections

a. Core Application Layer:

- TopBar.vue
- SideMenu.vue
- StatCard.vue

- Static Assets
- Styles (style.css)

- Vite Dev Server
- TailwindCSS Processing
- PostCSS Pipeline

- Vue 3
- Vite
- TailwindCSS
- FontAwesome

##### Component Hierarchy
- App.vue
- TopBar.vue
- SideMenu.vue
- StatCard.vue

##### Build Pipeline Flow
- Source Files → Vite → PostCSS/Tailwind → Bundled Output

##### Development Flow
- Components → Vite Dev Server → Hot Module Replacement → Browser

Keep the following in mind:
- Clear separation between runtime components and build-time processes
- Reactive nature of Vue components
- Where Tailwind CSS integrates into the build process
- Where static assets are consumed

Level of Detail:
- Component names but not their internal implementation
- Major build pipeline steps without granular configuration details
- Main data flow directions without specific state management details

Remember to use standardized UML or similar notation where appropriate, but prioritize clarity and understanding over strict adherence to formal notation systems.

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "Vue 3 Application"
        subgraph "Core Application Layer"
            main["main.js"]:::entry
            app["App.vue"]:::vue
            main --> app
        end

        subgraph "Component Layer"
            direction TB
            topbar["TopBar.vue"]:::vue
            sidemenu["SideMenu.vue"]:::vue
            statcard["StatCard.vue"]:::vue
            
            app --> topbar
            app --> sidemenu
            app --> statcard
        end

        subgraph "Asset Management"
            assets["Static Assets"]:::assets
            styles["style.css"]:::styles
            
            assets --> app
            styles --> app
        end

        subgraph "Build System"
            vite["Vite Dev Server"]:::build
            tailwind["TailwindCSS Processing"]:::build
            postcss["PostCSS Pipeline"]:::build
            
            vite --> tailwind
            tailwind --> postcss
        end
    end

    subgraph "Technical Stack"
        vue3["Vue 3"]:::tech
        vitetech["Vite"]:::tech
        tailwindtech["TailwindCSS"]:::tech
        fontawesome["FontAwesome"]:::tech
    end

    subgraph "Legend"
        l1["Vue Components"]:::vue
        l2["Build Tools"]:::build
        l3["Style Systems"]:::styles
        l4["Static Assets"]:::assets
        l5["Tech Stack"]:::tech
    end

    %% Click Events
    click app "https://github.com/lulliz/jetos/blob/master/src/App.vue"
    click main "https://github.com/lulliz/jetos/blob/master/src/main.js"
    click topbar "https://github.com/lulliz/jetos/blob/master/src/components/TopBar.vue"
    click sidemenu "https://github.com/lulliz/jetos/blob/master/src/components/SideMenu.vue"
    click statcard "https://github.com/lulliz/jetos/blob/master/src/components/StatCard.vue"
    click assets "https://github.com/lulliz/jetos/tree/master/src/assets"
    click styles "https://github.com/lulliz/jetos/blob/master/src/style.css"
    click vite "https://github.com/lulliz/jetos/blob/master/vite.config.js"
    click tailwind "https://github.com/lulliz/jetos/blob/master/tailwind.config.js"
    click postcss "https://github.com/lulliz/jetos/blob/master/postcss.config.js"

    %% Styles
    classDef vue fill:#42b883,stroke:#35495e,color:white
    classDef build fill:#6b7280,stroke:#374151,color:white
    classDef styles fill:#818cf8,stroke:#4f46e5,color:white
    classDef assets fill:#9ca3af,stroke:#6b7280,color:white
    classDef tech fill:#059669,stroke:#047857,color:white
    classDef entry fill:#ea580c,stroke:#c2410c,color:white
```
