# rajkumar476020/hindityping-pro architecture

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

- Interactive diagram: https://gitdiagram.com/rajkumar476020/hindityping-pro
- Repository: https://github.com/rajkumar476020/hindityping-pro

## Overview

HindiTyping Pro is a client-side Hindi typing and legacy-font conversion app. Users can type Hinglish for transliteration or enter Unicode Hindi directly, choose legacy fonts, then preview and copy encoded text; the converter also keeps local history. The graph includes the landing-page preview and documented product capabilities. Relationships for unsampled features rely on README or source-index references; those excerpts do not establish every internal call.

Main entry points: [`src/pages/ConverterPage.tsx`](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/pages/ConverterPage.tsx) (Converter Page), [`src/pages/LandingPage.tsx`](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/pages/LandingPage.tsx) (Landing Page), [`src/lib/fontEncoders/index.ts`](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/index.ts) (Encoder Registry), [`src/lib/devanagariParser.ts`](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/devanagariParser.ts) (Devanagari Parser)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application"]
  node_app["App Router<br/>[App.tsx]"]
  node_converter["Converter Page<br/>[ConverterPage.tsx]"]
  node_icons["Shared Icons<br/>[Icons.tsx]"]
end

subgraph group_inputs["Input &amp; Conversion"]
  node_hinglish["Hinglish Input<br/>[HinglishInput.tsx]"]
  node_translit["Transliterator"]
  node_unicode["Unicode Input<br/>[UnicodeInput.tsx]"]
  node_fonts["Font Selector<br/>[FontSelector.tsx]"]
end

subgraph group_encoding["Encoding Engine"]
  node_registry["Encoder Registry<br/>[index.ts]"]
  node_parser["Devanagari Parser"]
  node_kruti["Kruti Dev Encoder<br/>[krutiDev.ts]"]
  node_devlys["DevLys Encoder<br/>[devLys.ts]"]
  node_chanakya["Chanakya Encoder<br/>[chanakya.ts]"]
  node_shusha["Shusha Encoder<br/>[shusha.ts]"]
end

subgraph group_results["Results &amp; Preferences"]
  node_output["Output Panel<br/>[OutputPanel.tsx]"]
  node_history["History Drawer<br/>[HistoryDrawer.tsx]"]
  node_storage["Local Storage Hook<br/>[useLocalStorage.ts]"]
  node_theme["Theme Provider<br/>[useTheme.tsx]"]
end

subgraph group_landing["Product Landing"]
  node_landingpage["Landing Page<br/>[LandingPage.tsx]"]
  node_header["Site Header<br/>[Header.tsx]"]
  node_hero["Interactive Preview<br/>[Hero.tsx]"]
  node_sections["Landing Sections<br/>[HowItWorks.tsx]"]
  node_footer["Site Footer<br/>[Footer.tsx]"]
end

node_user(("User"))

node_user -->|"opens app"| node_app
node_app -->|"routes to"| node_landingpage
node_app -->|"routes to"| node_converter
node_converter -->|"renders"| node_hinglish
node_converter -->|"renders"| node_unicode
node_converter -->|"renders"| node_fonts
node_hinglish -->|"transliterates"| node_translit
node_converter -->|"encodes text"| node_registry
node_registry -->|"dispatches to"| node_kruti
node_registry -->|"dispatches to"| node_devlys
node_registry -->|"dispatches to"| node_chanakya
node_registry -->|"dispatches to"| node_shusha
node_kruti -->|"parses through"| node_parser
node_devlys -->|"parses through"| node_parser
node_chanakya -->|"parses through"| node_parser
node_shusha -->|"parses through"| node_parser
node_converter -->|"shows outputs"| node_output
node_converter -->|"renders"| node_history
node_converter -->|"persists preferences"| node_storage
node_converter -.->|"inherits theme"| node_theme
node_landingpage -->|"renders"| node_header
node_landingpage -->|"renders"| node_hero
node_landingpage -->|"renders"| node_sections
node_landingpage -->|"renders"| node_footer
node_hero -->|"previews encoding"| node_registry
node_landingpage -->|"provides theme"| node_theme
node_header -->|"toggles theme"| node_theme
node_converter -->|"uses icons"| node_icons
node_history -->|"uses icons"| node_icons

click node_app "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/App.tsx"
click node_converter "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/pages/ConverterPage.tsx"
click node_landingpage "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/pages/LandingPage.tsx"
click node_hinglish "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/HinglishInput.tsx"
click node_translit "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/hinglishTransliterator.ts"
click node_unicode "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/UnicodeInput.tsx"
click node_fonts "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/FontSelector.tsx"
click node_registry "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/index.ts"
click node_parser "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/devanagariParser.ts"
click node_kruti "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/krutiDev.ts"
click node_devlys "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/devLys.ts"
click node_chanakya "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/chanakya.ts"
click node_shusha "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/shusha.ts"
click node_output "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/OutputPanel.tsx"
click node_history "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/HistoryDrawer.tsx"
click node_storage "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/hooks/useLocalStorage.ts"
click node_theme "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/hooks/useTheme.tsx"
click node_header "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/Header.tsx"
click node_hero "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/Hero.tsx"
click node_sections "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/HowItWorks.tsx"
click node_footer "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/Footer.tsx"
click node_icons "https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Icons.tsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app,node_converter,node_icons,node_user toneBlue
class node_hinglish,node_translit,node_unicode,node_fonts toneAmber
class node_registry,node_parser,node_kruti,node_devlys,node_chanakya,node_shusha toneMint
class node_output,node_history,node_storage,node_theme toneRose
class node_landingpage,node_header,node_hero,node_sections,node_footer toneIndigo
```

## Components

### Application

- [App Router](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/App.tsx): `src/App.tsx`
- [Converter Page](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/pages/ConverterPage.tsx): `src/pages/ConverterPage.tsx`
- [Shared Icons](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Icons.tsx): `src/components/Icons.tsx`

### Input & Conversion

- [Hinglish Input](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/HinglishInput.tsx): `src/components/HinglishInput.tsx`
- [Transliterator](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/hinglishTransliterator.ts): `src/lib/hinglishTransliterator.ts`
- [Unicode Input](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/UnicodeInput.tsx): `src/components/UnicodeInput.tsx`
- [Font Selector](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/FontSelector.tsx): `src/components/FontSelector.tsx`

### Encoding Engine

- [Encoder Registry](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/index.ts): `src/lib/fontEncoders/index.ts`
- [Devanagari Parser](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/devanagariParser.ts): `src/lib/devanagariParser.ts`
- [Kruti Dev Encoder](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/krutiDev.ts): `src/lib/fontEncoders/krutiDev.ts`
- [DevLys Encoder](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/devLys.ts): `src/lib/fontEncoders/devLys.ts`
- [Chanakya Encoder](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/chanakya.ts): `src/lib/fontEncoders/chanakya.ts`
- [Shusha Encoder](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/lib/fontEncoders/shusha.ts): `src/lib/fontEncoders/shusha.ts`

### Results & Preferences

- [Output Panel](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/OutputPanel.tsx): `src/components/OutputPanel.tsx`
- [History Drawer](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/HistoryDrawer.tsx): `src/components/HistoryDrawer.tsx`
- [Local Storage Hook](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/hooks/useLocalStorage.ts): `src/hooks/useLocalStorage.ts`
- [Theme Provider](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/hooks/useTheme.tsx): `src/hooks/useTheme.tsx`

### Product Landing

- [Landing Page](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/pages/LandingPage.tsx): `src/pages/LandingPage.tsx`
- [Site Header](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/Header.tsx): `src/components/Landing/Header.tsx`
- [Interactive Preview](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/Hero.tsx): `src/components/Landing/Hero.tsx`
- [Landing Sections](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/HowItWorks.tsx): `src/components/Landing/HowItWorks.tsx`
- [Site Footer](https://github.com/rajkumar476020/hindityping-pro/blob/main/src/components/Landing/Footer.tsx): `src/components/Landing/Footer.tsx`

### Other components

- **User**

## Connections

- User → App Router: opens app
- App Router → Landing Page: routes to (evidence: `src/App.tsx`)
- App Router → Converter Page: routes to (evidence: `src/App.tsx`)
- Converter Page → Hinglish Input: renders (evidence: `src/pages/ConverterPage.tsx`)
- Converter Page → Unicode Input: renders (evidence: `src/pages/ConverterPage.tsx`)
- Converter Page → Font Selector: renders (evidence: `src/pages/ConverterPage.tsx`)
- Hinglish Input → Transliterator: transliterates (evidence: `src/components/HinglishInput.tsx`)
- Converter Page → Encoder Registry: encodes text (evidence: `src/pages/ConverterPage.tsx`)
- Encoder Registry → Kruti Dev Encoder: dispatches to (evidence: `src/lib/fontEncoders/index.ts`)
- Encoder Registry → DevLys Encoder: dispatches to (evidence: `src/lib/fontEncoders/index.ts`)
- Encoder Registry → Chanakya Encoder: dispatches to (evidence: `src/lib/fontEncoders/index.ts`)
- Encoder Registry → Shusha Encoder: dispatches to (evidence: `src/lib/fontEncoders/index.ts`)
- Kruti Dev Encoder → Devanagari Parser: parses through (evidence: `src/lib/fontEncoders/krutiDev.ts`)
- DevLys Encoder → Devanagari Parser: parses through (evidence: `src/lib/fontEncoders/devLys.ts`)
- Chanakya Encoder → Devanagari Parser: parses through (evidence: `src/lib/fontEncoders/chanakya.ts`)
- Shusha Encoder → Devanagari Parser: parses through (evidence: `src/lib/fontEncoders/shusha.ts`)
- Converter Page → Output Panel: shows outputs (evidence: `src/pages/ConverterPage.tsx`)
- Converter Page → History Drawer: renders (evidence: `src/pages/ConverterPage.tsx`)
- Converter Page → Local Storage Hook: persists preferences (evidence: `src/pages/ConverterPage.tsx`)
- Converter Page → Theme Provider: inherits theme
- Landing Page → Site Header: renders (evidence: `src/pages/LandingPage.tsx`)
- Landing Page → Interactive Preview: renders (evidence: `src/pages/LandingPage.tsx`)
- Landing Page → Landing Sections: renders (evidence: `src/pages/LandingPage.tsx`)
- Landing Page → Site Footer: renders (evidence: `src/pages/LandingPage.tsx`)
- Interactive Preview → Encoder Registry: previews encoding (evidence: `src/components/Landing/Hero.tsx`)
- Landing Page → Theme Provider: provides theme (evidence: `src/App.tsx`)
- Site Header → Theme Provider: toggles theme (evidence: `src/components/Landing/Header.tsx`)
- Converter Page → Shared Icons: uses icons
- History Drawer → Shared Icons: uses icons (evidence: `src/components/HistoryDrawer.tsx`)
