# subhadipbhowmik/omni-tools architecture

> Architecture diagram of the GitHub repository subhadipbhowmik/omni-tools, 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/subhadipbhowmik/omni-tools
- Repository: https://github.com/subhadipbhowmik/omni-tools

## Overview

##### Main Components Identification

The system should be represented with these primary components:

a) Frontend Architecture (React Application)
- Client-Side Routing Layer
- Component Layer
- Utils/Services Layer
- Asset Management
- State Management (if any)

b) External Services Integration
- SEO API Services
- Train Services
- Writing Tools Services

##### Component Organization

a) Core Application Layer:
- Main App.jsx as the root component
- It to the routing system (evident from the pages directory)

b) Feature Modules (Group these logically):
- SEO Tools Module
- DA/PA Checker
- DNS Record Checker
- Keyword Tools
- Link Analyzer
- Writing Tools Module
- Grammar Checker
- Plagiarism Checker
- Text Editor
- Train Tools Module
- PNR Status Checker
- Site Pages Module
- Home
- About
- Contact

c) Shared Components:
- UI Components
- Navigation
- Footer

Use the following visual elements:

- Rectangles: Main components
- Rounded rectangles: Feature modules
- Circles: Shared UI components
- Hexagons: External services/APIs

- Blue: Core application components
- Green: SEO tools
- Orange: Writing tools
- Purple: Train tools
- Grey: Shared components
- Yellow: External services

##### Connection Flows

- User interaction flow
- Data flow between components
- API calls to external services
- Component inheritance/composition

##### Important Elements to Highlight

- The Utils/AiModel.js integration
- Data management through assets/data
- Component reuse (ToolsCard.jsx)
- UI component library
- Static asset handling

##### Technical Stack Indicators

Badges or labels for:
- React
- Vite
- Tailwind CSS
- ESLint
- Vercel deployment

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Core
        App["App.jsx"]:::core
        Main["main.jsx"]:::core
        App --> Main
    end

    subgraph "Feature Modules"
        subgraph "SEO Tools"
            SeoTools["SeoTools.jsx"]:::seo
            DaPa["DA/PA Checker"]:::seo
            DNS["DNS Record Checker"]:::seo
            KeywordDensity["Keyword Density Checker"]:::seo
            KeywordRank["Keyword Rank Checker"]:::seo
            KeywordSugg["Keyword Suggestion"]:::seo
            LinkAnalyzer["Link Analyzer"]:::seo

            SeoTools --> DaPa
            SeoTools --> DNS
            SeoTools --> KeywordDensity
            SeoTools --> KeywordRank
            SeoTools --> KeywordSugg
            SeoTools --> LinkAnalyzer
        end

        subgraph "Writing Tools"
            WritingTools["WritingTools.jsx"]:::writing
            Grammar["Grammar Checker"]:::writing
            Plagiarism["Plagiarism Checker"]:::writing
            TextEditor["Text Editor"]:::writing

            WritingTools --> Grammar
            WritingTools --> Plagiarism
            WritingTools --> TextEditor
        end

        subgraph "Train Tools"
            TrainTools["TrainTools.jsx"]:::train
            PNR["PNR Status Checker"]:::train

            TrainTools --> PNR
        end
    end

    subgraph "Shared Components"
        Nav["Navbar"]:::shared
        Footer["Footer"]:::shared
        UI["UI Components"]:::shared
        ToolsCard["ToolsCard"]:::shared
    end

    subgraph "Data Management"
        SeoData["seoToolsData.js"]:::data
        WritingData["writingToolsData.js"]:::data
        TrainData["trainTools.js"]:::data
    end

    subgraph "Utils"
        AiModel["AiModel.js"]:::util
    end

    subgraph "Site Pages"
        Home["Home.jsx"]:::page
        About["About.jsx"]:::page
        Contact["Contact.jsx"]:::page
    end

    App --> SeoTools
    App --> WritingTools
    App --> TrainTools
    App --> Nav
    App --> Footer
    App --> Home
    App --> About
    App --> Contact

    SeoTools --> SeoData
    WritingTools --> WritingData
    TrainTools --> TrainData
    
    classDef core fill:#2563eb
    classDef seo fill:#22c55e
    classDef writing fill:#f97316
    classDef train fill:#a855f7
    classDef shared fill:#6b7280
    classDef data fill:#eab308
    classDef util fill:#ec4899
    classDef page fill:#0ea5e9

    click App "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/App.jsx"
    click Main "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/main.jsx"
    click SeoTools "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/components/Tools/SeoTools.jsx"
    click DaPa "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/DaPaChecker.jsx"
    click DNS "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/DNSRecordChecker.jsx"
    click KeywordDensity "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/KeyWordDensityChecker.jsx"
    click KeywordRank "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/KeywordRankChecker.jsx"
    click KeywordSugg "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/KeywordSuggestion.jsx"
    click LinkAnalyzer "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/LinkAnalyzer.jsx"
    click WritingTools "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/components/Tools/WritingTools.jsx"
    click Grammar "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/writing/GrammarChecker.jsx"
    click Plagiarism "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/writing/PlagarismChecker.jsx"
    click TextEditor "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/writing/OnlineTextEditor.jsx"
    click TrainTools "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/components/Tools/TrainTools.jsx"
    click PNR "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/train/PNRStatusChecker.jsx"
    click Nav "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/components/Navbar.jsx"
    click Footer "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/components/Footer.jsx"
    click UI "https://github.com/subhadipbhowmik/omni-tools/tree/main/src/components/UI/"
    click ToolsCard "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/components/Tools/ToolsCard.jsx"
    click SeoData "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/assets/data/seoToolsData.js"
    click WritingData "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/assets/data/writingToolsData.js"
    click TrainData "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/assets/data/trainTools.js"
    click AiModel "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/Utils/AiModel.js"
    click Home "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/Home.jsx"
    click About "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/site/About.jsx"
    click Contact "https://github.com/subhadipbhowmik/omni-tools/blob/main/src/pages/site/Contact.jsx"
```
