# ineelhere/curated architecture

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

- Interactive diagram: https://gitdiagram.com/ineelhere/curated
- Repository: https://github.com/ineelhere/curated

## Overview

##### Main System Components

a) Frontend Layer (Streamlit Application)
- Main App (1_🏠_curatED.py)
- Multiple Educational Pages (organized in /pages directory)
- Custom Components (custom_functions.py)

b) Resource Management Layer
- URL Management (download_urls.py)
- Content Organization System

c) External Integrations
- Resource Hosting Services
- Streamlit Cloud Deployment

##### Specific Elements

a) Core Components:
**[User Interface Layer]**
- Main Home Page (curatED.py)
- Educational Modules
- Python 101
- Machine Learning 101/102
- Statistics 101
- Streamlit
- Support Pages
- Collaborate
- THINK
- UPLIFT
- Feedback

b) Data Flow:
- User interaction paths
- Resource loading flows
- Content delivery paths

##### Important Relationships to Highlight

- Connection between main app and educational pages
- Integration with custom functions
- Resource loading mechanism
- User feedback flow

##### Technical Details

- Streamlit framework as the primary technology
- Python as the base language
- Configuration management (.streamlit/config.toml)
- Dependencies (requirements.txt)

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph User
        U((User))
    end

    subgraph "Frontend Layer"
        MA["Main Application"]:::main
        CC["Custom Components"]:::util
        CF["Configuration"]:::config
    end

    subgraph "Educational Modules"
        PY["Python 101"]:::edu
        ML1["Machine Learning 101"]:::edu
        ML2["Machine Learning 102"]:::edu
        ST["Statistics 101"]:::edu
        STR["Streamlit"]:::edu
    end

    subgraph "Support System"
        COL["Collaborate"]:::support
        THK["THINK"]:::support
        UPL["UPLIFT"]:::support
        FB["Feedback"]:::support
    end

    subgraph "Resource Management"
        RM["Resource Manager"]:::util
        DEP["Dependencies"]:::config
    end

    subgraph "External Services"
        RC["Resource Hosting"]:::external
    end

    %% Connections
    U --> MA
    MA --> CC
    MA --> CF
    
    MA --> PY
    MA --> ML1
    MA --> ML2
    MA --> ST
    MA --> STR
    
    MA --> COL
    MA --> THK
    MA --> UPL
    MA --> FB
    
    CC --> RM
    RM --> RC
    RM --> DEP

    %% Click Events
    click MA "https://github.com/ineelhere/curated/blob/main/1_🏠_curatED.py"
    click CC "https://github.com/ineelhere/curated/blob/main/custom_functions.py"
    click RM "https://github.com/ineelhere/curated/blob/main/download_urls.py"
    click CF "https://github.com/ineelhere/curated/blob/main/.streamlit/config.toml"
    click PY "https://github.com/ineelhere/curated/blob/main/pages/2_🐍_Python_101.py"
    click ML1 "https://github.com/ineelhere/curated/blob/main/pages/3_🦾_Machine_Learning_101.py"
    click ML2 "https://github.com/ineelhere/curated/blob/main/pages/4_🤖_Machine_Learning_102.py"
    click ST "https://github.com/ineelhere/curated/blob/main/pages/5_📊_Statistics_101.py"
    click STR "https://github.com/ineelhere/curated/blob/main/pages/6_🎈_Streamlit.py"
    click COL "https://github.com/ineelhere/curated/blob/main/pages/100_🤝_Collaborate!.py"
    click THK "https://github.com/ineelhere/curated/blob/main/pages/97_🧠_THINK.py"
    click UPL "https://github.com/ineelhere/curated/blob/main/pages/98_🎯_UPLIFT - Job Support.py"
    click FB "https://github.com/ineelhere/curated/blob/main/pages/99_🤗_Feedback.py"
    click DEP "https://github.com/ineelhere/curated/blob/main/requirements.txt"

    %% Styles
    classDef main fill:#3498db,stroke:#2980b9,color:white
    classDef edu fill:#2ecc71,stroke:#27ae60,color:white
    classDef support fill:#e74c3c,stroke:#c0392b,color:white
    classDef util fill:#f39c12,stroke:#d35400,color:white
    classDef config fill:#95a5a6,stroke:#7f8c8d,color:white
    classDef external fill:#bdc3c7,stroke:#95a5a6,color:white

    %% Legend
    subgraph Legend
        L1["Main Components"]:::main
        L2["Educational Modules"]:::edu
        L3["Support System"]:::support
        L4["Utilities"]:::util
        L5["Configuration"]:::config
        L6["External Services"]:::external
    end
```
