Skip to content
1MEshhPublic

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🎙️ KeyCaster 3.5

Acoustic SRS Typing, Bilingual Arabic Dictation, CDPR Cyberpunk Aesthetics & Speedrun Mastery

License: MIT Next.js 15 React 19 TypeScript PWA Ready Storage Tests Privacy

KeyCaster 3.5 elevates touch typing and spelling into a comprehensive bilingual fluency & speedrun platform.
Featuring 80 Bilingual Sentences with Phonetics & Vocab, CDPR Cyberpunk 2077 Telemetry HUD, Workman & Colemak-DH Keyboards,
Kailh Box Navy Switch Synthesis, Interactive Speech Rate & Pitch Tuning, Self-Healing Error Boundary, and Markdown & CSV Scorecard Exports.

KeyCaster 3.5 Highlights • 4-in-1 Section Architecture • Anti-Slop Design Philosophy • Global Shortcuts • Telemetry & Ergonomics • Getting Started • License


🌟 KeyCaster 3.5 Highlights

KeyCaster 3.5 delivers an uncompromising, professional-grade typing experience:

  1. 🌐 Expanded Bilingual Arabic Dictation (80 Curated Sentences):

    • 80 bilingual sentence pairs across 4 core domains (daily, tech, wisdom, business).
    • Authentic Thmanyah Sans (ثمانية) typography with native RTL rendering.
    • Arabic Tashkeel (diacritics / تشكيل) toggle button to switch between vowelled and simplified script.
    • Syllable and phonetic breakdowns with vocabulary flashcards and interactive search filter.
  2. 🤖 Authentic CDPR Cyberpunk 2077 Theme & Telemetry HUD:

    • Electric Yellow (#fcee09), Kiroshi Cyan (#00f0ff), and Arasaka Red (#ff003c) authentic CDPR palette.
    • Real-time Netrunner HUD telemetry ribbon, cyber reticle crosshairs cursor, and CRT scanlines.
  3. ⌨️ Expanded Ergonomic Keyboard Layouts (Workman & Colemak-DH):

    • Dynamic virtual keyboard with real-time finger placement and error heatmaps.
    • Native support for QWERTY, Dvorak, Colemak, Workman, and Colemak-DH layouts.
  4. 🔊 Acoustic Mechanical Switch Synthesis & Kailh Box Navy:

    • Web Audio procedural synthesis: Kailh Box Navy (thick clickbar pop), Holy Panda, Cream Linear, Cherry MX Blue, and Gateron Ink Black.
    • Interactive HUD speech rate badge (0.8x–1.25x), speech pitch adjustment slider (0.5x–1.8x), and auto-replay on error toggle.
    • Interactive audio feedback on volume adjustments.
  5. 🏎️ Speedrun Gates, Caret Customization & Live HUD:

    • Minimum WPM speed gate threshold alerts (30, 50, 70, 90 WPM).
    • Real-time Keystrokes-Per-Second (KPS) chip alongside Live WPM and Accuracy.
    • Customizable caret blink styles (smooth, rapid, solid) across all 4 stages including Arcade Speedrun.
    • Streak milestone tier badges (Rookie, Apprentice, Specialist, Grandmaster, Legendary).
  6. 🔍 Dynamic Command Matrix Dictionary Lookup & Scorecard Exports:

    • Instant vocabulary lookups directly inside Command Palette (⌘K) with quick jump to dictation.
    • 1-click Markdown scorecard report (.md), PNG summary card, and RFC 4180 CSV spreadsheet export across all stages.
    • Solarized Dark and Espresso Roast warm themes exposed in both TopNav and Settings pickers.
  7. 🛡️ Resilient Client Architecture & 115 Automated Tests:

    • Strict React 19 hook-order invariants, defensive localStorage theme fallbacks, and self-healing AppErrorBoundary recovery.
    • 100% test pass rate across SM-2 calculations, sentence WPM math, bilingual schemas, Markdown/CSV exporters, and layout engines.

🎯 4-in-1 Section Architecture

Section Focus Audio / Visual Experience
SRS Words Vocabulary & orthographic muscle memory Speech synthesis + procedural mechanical switch sounds + SM-2 spaced repetition
Sentences Natural typing cadence, punctuation, and rhythm Full sentence TTS narration + multi-line caret tracking + pace car ghost
Arabic Dictation Bilingual fluency & cognitive translation Arabic cue in Thmanyah Sans + English TTS dictation + vocab cards (Alt+H)
Arcade Modes High-intensity reaction & endurance 60s Time Attack, Sudden Death (1 error = game over), and Zen Endless mode with XP progression

💎 Anti-Slop Design Philosophy

KeyCaster strictly adheres to production-grade, human-crafted frontend aesthetics:

  • No Card Soup: Clean spatial rhythm using an authentic 8pt layout grid.
  • High-Density Utility (Linear / Raycast): Subtle 1px borders (border-white/[0.08]), deep charcoal surfaces, and tactile micro-interactions.
  • Typography Excellence: High-contrast pairing of Thmanyah Sans (for Arabic cues) and JetBrains Mono / Geist Mono (for English monospace typing).
  • Accessible Contrast: Strict adherence to WCAG AA contrast ratios ($\ge 4.5:1$) with aria-live screen reader stage progress announcements.

⌨️ Global Shortcuts

Shortcut Action
⌘K / Ctrl+K Open Raycast Command Palette & Dictionary Matrix
Ctrl+M / ⌘M Quick Mute / Unmute Audio (remembers previous volume level)
Alt+Z / Ctrl+Shift+F Toggle Zen Distraction-Free Flow Mode
Alt+G Toggle Guided Mode (faint target words) in Translation Stage
Alt+S Cycle Speech Rate (0.8x → 0.95x → 1.1x → 1.25x)
Ctrl+B Toggle Virtual Keyboard with Finger Placement & Error Heatmap
Tab Replay remaining audio cue to end of sentence
Shift + Tab Replay slow-motion audio pronunciation (0.72x)
Alt + H / Ctrl + H Toggle vocabulary flashcards & hints
Ctrl + 1 Switch to SRS Words
Ctrl + 2 Switch to Sentences
Ctrl + 3 Switch to Arabic Dictation & Translation
Ctrl + 4 Switch to Arcade Speedrun
Ctrl + , Open Settings Drawer
Ctrl + D Open Progress & Analytics Dashboard
Esc Exit Zen Mode / Close Modals

Arch Linux / Hyprland Layout & IME Switching Note

On Arch Linux / Wayland (Hyprland) workstations using bilingual English/Arabic layouts (kb_layout = us,ara with kb_options = grp:alt_shift_toggle in ~/.config/hypr/hyprland.conf) or fcitx5 IME:

  • KeyCaster's Arabic Dictation stage expects English ASCII input while displaying Arabic cues in Thmanyah Sans; keep your compositor keymap on us during dictation runs so Alt+Shift layout toggles do not intercept Alt+H or Alt+G hints.
  • If fcitx5 preedit intercepts dead keys or spacebar commits in Chromium/Electron Wayland windows, launch with --enable-wayland-ime or toggle IME off (Ctrl+Space) for raw sub-frame keystroke telemetry.

📊 Telemetry & Ergonomics Formulas

KeyCaster collects high-resolution temporal metrics to compute typing cadence, motor accuracy, and finger fatigue.

1. Metronomic Rhythm Consistency

Typing rhythm consistency measures how evenly keystrokes are spaced across time, eliminating burst-pause stuttering:

$$\text{Consistency (%)} = \max\left(0, \min\left(100, \text{round}\left(100 - \frac{\sigma}{\mu} \times 100\right)\right)\right)$$

  • $\mu$ (Mean Keystroke Delta): Average duration (ms) between consecutive keystrokes: $$\mu = \frac{1}{N} \sum_{i=1}^{N} \Delta t_i$$
  • $\sigma$ (Standard Deviation): Keystroke jitter and dispersion around the mean cadence: $$\sigma = \sqrt{\frac{1}{N} \sum_{i=1}^{N} (\Delta t_i - \mu)^2}$$
  • Interpretation: A score $\ge 90%$ indicates fluid, sustained flow state; scores $< 65%$ reveal hesitations or cognitive translation delays.

2. Velocity Metrics: Raw WPM vs. Net WPM

$$\text{Raw WPM} = \text{round}\left(\frac{\text{Total Keystrokes} / 5}{\text{Elapsed Minutes}}\right)$$

$$\text{Net WPM} = \max\left(0, \text{round}\left(\frac{\text{Correct Characters} / 5}{\text{Elapsed Minutes}}\right)\right)$$

Standard typist word normalization uses 5 characters per word (including spaces and punctuation).

3. Touch-Typing 8-Zone Ergonomics Distribution

KeyCaster assigns errors across 8 distinct physiological finger zones to identify weak fingers and repetitive strain:

Finger Zone Hand Allocated Keys Focus & Muscle Group
Left Pinky Left Q, A, Z Outer extension, high fatigue threshold
Left Ring Left W, S, X Flexor tendon isolation
Left Middle Left E, D, C Central homing precision
Left Index Left R, T, F, G, V, B Lateral split range & high velocity reach
Right Index Right Y, U, H, J, N, M Lateral split range & homing index (J bump)
Right Middle Right I, K Central vowel column
Right Ring Right O, L Lateral control & vowel coordination
Right Pinky Right P Boundary reach & punctuation anchor

4. Telemetry Export Formats

  • RFC 4180 CSV: Standardized columns Timestamp, Date, Time, Category, TotalWords, WPM, Accuracy, Errors, DurationSeconds.
  • JSON Telemetry (schemaVersion: "1.0.0"): Complete JSON snapshot including raw session metrics, rhythm consistency score, and 8-zone finger ergonomics mistake breakdown.

📄 License

KeyCaster is open-source software licensed under the MIT License.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages