Skip to content

Mr-Nilarnab/TypeForge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

⚑ TypeForge

Professional Typing Analytics & Speed Test Engine

TypeForge is a zero-dependency, offline-first, production-grade typing analytics engine designed for high-performance front-end portfolios and serious engineering demonstrations.

Built using pure HTML, CSS, and Vanilla JavaScript, TypeForge delivers real-time diagnostics, hardened anti-cheat protection, and precision typing metricsβ€”all inside a single standalone file.

No frameworks. No APIs. No build tools. Just clean, deterministic engineering.

πŸ–₯️ Interface Preview

πŸŒ™ Dark Mode

Dark Mode

β˜€οΈ Light Mode

Light Mode

πŸ“Š Results & Analytics

Results

πŸš€ Core Capabilities

🧠 Typing Engine (Low-Latency Core) Atomic Real-Time Detection Character-by-character validation using indexed string matrices and deterministic evaluation loops. Visual Caret Intelligence

βœ… Correct input β†’ Green highlight

❌ Incorrect input β†’ Red feedback with soft alert βŒ– Active index β†’ Animated caret underline Anti-Abuse & Cheat Shielding Clipboard blocking (Copy / Paste / Select All) Context menu isolation Programmatic input bypass prevention

πŸ“Š Advanced Typing Analytics True Net WPM (Total Characters Γ· 5) Γ· Time (minutes) Gross CPM Absolute keystroke throughput measurement. Live Accuracy Rating Real-time precision calculation against active error count. Extended Diagnostics Error tracking Backspace behavior logging Retroactive correction detection

🎨 Premium UI / UX Architecture Adaptive Theme Engine

β˜€οΈ Light Mode & πŸŒ™ Dark Mode Persisted using localStorage Instant toggle with zero reload cost Fluid Motion System Sub-second easing curves Soft elevation cards Linear gradient accent layers Telemetry Virtual Keyboard

Real-time key-press visualization mapped directly to user input. πŸ› οΈ Engineering Architecture 1️⃣ Zero-Asset Audio System (Web Audio API)

No external sound files. No base64 bloat.

Audio feedback is generated dynamically using native Web Audio API oscillators:

βœ… Correct Keystroke High-frequency sine wave with short envelope ❌ Incorrect Keystroke Low-frequency triangle wave with dampened decay

This ensures instant playback, zero asset loading, and full offline compatibility.

2️⃣ High-Density DOM Delta Diffing Test text is pre-split into immutable .char-span nodes During input: Only targeted class tokens are mutated No container rewrites No layout thrashing

Result: Smooth 60 FPS performance, even on low-power devices.

3️⃣ Isolated State Engine

All runtime logic is encapsulated inside a single structured JavaScript closure:

Timers Metrics Error counters User preferences Configuration switches

This creates a single source of truth and guarantees predictable UI behavior.

βš™οΈ Configuration Options Feature Type Available Options Difficulty Level String Segment Easy / Medium / Hard Time Limit Integer 30s / 60s / 120s Audio Feedback Boolean On / Muted Persistence Cache Local Storage Automatic analytics storage

πŸ’» Installation & Offline Deployment

TypeForge is fully offline-ready. No setup required.

Clone the Repository git clone https://github.com/Mr-Nilarnab/-TypeForge-Professional-Typing-Analytics-Speed-Test.git Run Instantly Locate index.html Double-click the file Open in any modern browser (Chrome, Edge, Firefox, Safari)

βœ… No internet βœ… No local server βœ… No compilation

πŸ“œ Credits

Lead Core Engineer & UI/UX Architect Mr-Nilarnab

All system architecture, typing logic, analytics formulas, Web Audio synthesis, DOM optimization strategies, and UI design were engineered independently.

πŸ”— Repository

TypeForge – Professional Typing Analytics & Speed Test

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages