# italocunhabueno/projetospublicos architecture

> Architecture diagram of the GitHub repository italocunhabueno/projetospublicos, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2024-12-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/italocunhabueno/projetospublicos
- Repository: https://github.com/italocunhabueno/projetospublicos

## Overview

##### High-Level Organization

a. Desktop Applications
- AutoClicker
- CPU_Usage
- Notepad
- Snake_Game
- Wordle_Solver

b. Image Processing Tools
- Colorize (with both Auto and Manual versions)
- Fast-SRGAN
- ObjectDetection

c. Full-Stack Applications
- carteira_digital (Digital Wallet)
- Raw_Importer

d. Network/Web Tools
- P2PFileTransfer
- WebDAVCrawler
- WebServer
- TorrentSearch

##### Detailed Component Breakdown

a. Image Processing Tools (Most Complex):
**[Colorize]**
- Auto_ColorizeV1
- Neural Network Component
- Prototxt Model Definition
- Image Processing Pipeline
- Manual_Colorize
- UI Layer
- GUI Components
- User Interaction Handlers
- Processing Layer
- Caffe Implementation
- PyTorch Models
- Data Layer

**[Fast-SRGAN]**
- Model Component
- Data Pipeline
- Inference Engine

b. Full-Stack Applications:
**[Carteira Digital]**
- Frontend (Svelte)
- Routes
- Despesas (Expenses)
- Rendas (Income)
- Objetivos (Goals)
- UI Components
- Backend (Tauri/Rust)
- Database Layer

**[Raw Importer]**
- Frontend (Svelte + Tauri)
- Backend (Rust)
- File Processing Engine

##### Key Relationships to Highlight

- Data flow between components
- User interaction points
- API boundaries
- Storage interactions
- Processing pipelines

##### Implementation Details

For each component, include:
- Technology stack (Python, Rust, Svelte, etc.)
- Major dependencies
- Communication protocols
- File formats handled

##### Documentation Elements

- Version information
- Environment requirements
- Configuration dependencies
- System requirements

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Legend
        UI[User Interface]:::ui
        PL[Processing Logic]:::processing
        DS[(Data Storage)]:::storage
        CR[Critical Component]:::critical
        EX[External Service]:::external
    end

    subgraph "Desktop Applications"
        AC[AutoClicker]:::ui
        CPU[CPU Usage Monitor]:::ui
        NP[Notepad]:::ui
        SG[Snake Game]:::ui
        WS[Wordle Solver]:::ui
    end

    subgraph "Image Processing Tools"
        subgraph "Colorize"
            subgraph "Auto ColorizeV1"
                NN[Neural Network]:::processing
                PP[Processing Pipeline]:::processing
                MD[Model Definition]:::critical
            end
            
            subgraph "Manual Colorize"
                UI[UI Layer]:::ui
                ProcLayer[Processing Layer]:::processing
                DataLayer[Data Layer]:::storage
                
                UI --> ProcLayer
                ProcLayer --> DataLayer
            end
        end

        subgraph "Fast-SRGAN"
            MC[Model Component]:::processing
            DP[Data Pipeline]:::processing
            IE[Inference Engine]:::processing
            
            DP --> MC
            MC --> IE
        end
    end

    subgraph "Full-Stack Applications"
        subgraph "Carteira Digital"
            CDFront[Frontend - Svelte]:::ui
            CDBack[Backend - Tauri/Rust]:::processing
            CDDb[(Database)]:::storage
            
            CDFront --> CDBack
            CDBack --> CDDb
        end

        subgraph "Raw Importer"
            RIFront[Frontend - Svelte]:::ui
            RIBack[Backend - Rust]:::processing
            RIPE[File Processing Engine]:::processing
            
            RIFront --> RIBack
            RIBack --> RIPE
        end
    end

    subgraph "Network/Web Tools"
        P2P[P2P File Transfer]:::external
        WDC[WebDAV Crawler]:::external
        WS[Web Server]:::external
        TS[Torrent Search]:::external
    end

    %% Click events for component mapping
    click AC "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//AutoClicker/AutoClicker.py"
    click CPU "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//CPU_Usage/CPU_USAGE.py"
    click NP "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Notepad/Bloco_de_notas.py"
    click SG "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Snake_Game/Snake.py"
    click WS "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Wordle_Solver/GUI.py"
    
    click MD "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Colorize/Auto_ColorizeV1/colorization_deploy_v2.prototxt"
    click PP "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Colorize/Auto_ColorizeV1/image_colorization.py"
    click UI "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//Colorize/Manual_Colorize/ui/"
    click ProcLayer "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//Colorize/Manual_Colorize/models/"
    click DataLayer "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//Colorize/Manual_Colorize/data/"
    
    click MC "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Fast-SRGAN/model.py"
    click DP "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Fast-SRGAN/dataloader.py"
    click IE "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//Fast-SRGAN/infer.py"
    
    click CDFront "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//carteira_digital/src/"
    click CDBack "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//carteira_digital/src-tauri/src/"
    
    click RIFront "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//Raw_Importer/Raw Importer/src/"
    click RIBack "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//Raw_Importer/Raw Importer/src-tauri/src/"
    click RIPE "https://github.com/ItaloCunhaBueno/ProjetosPublicos/tree/master//Raw_Importer/terminal-version/"
    
    click P2P "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//P2PFileTransfer/File_Receiver.py"
    click WDC "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//WebDAVCrawler/Crawler.py"
    click WS "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//WebServer/webserver.py"
    click TS "https://github.com/ItaloCunhaBueno/ProjetosPublicos/blob/master//TorrentSearch/1337Search.py"

    %% Styling
    classDef ui fill:#3498db
    classDef processing fill:#2ecc71
    classDef storage fill:#f1c40f
    classDef critical fill:#e74c3c
    classDef external fill:#95a5a6
```
