An ultra-futuristic, high-fidelity Glassmorphic Operating System Simulator built on the web. Replicating a full-fledged desktop environment with dynamic window management, AI assistance, retro gaming, synthesized Web Audio, custom terminal CLI, and cyberpunk visuals.
Active multi-window workspace running the Synthesizer Music Player, Interactive Terminal, Contact Center, and Retro Gaming Zone simultaneously with active neon glow highlights and frosted glass reflection.
Cyberpunk green phosphor retro CRT boot screen with real-time diagnostic hardware checks, module mounting, and fast boot bypass options.
Immersive desktop shell with top system status menu, floating macOS-inspired dynamic zoom dock, and custom side app launcher panel.
| App / Feature | Icon | Description |
|---|---|---|
| Cortex AI Assistant | ๐ค | Powered by Google Gemini 1.5 Flash API with conversational memory, code sandbox with one-click copy, and offline local simulation mode fallback. |
| Terminal Emulator | ๐ป | Custom CLI environment with support for commands like neofetch, matrix, help, cat, ls, theme, and interactive system feedback. |
| Retro Gaming Zone | ๐ฎ | Arcade suite featuring retro games (Snake, Space Shooter, Memory Match, Dodge) with live scoreboards, XP levels, and system achievements. |
| Synthesizer Music Player | ๐ต | Real-time procedural music synth built with the native Web Audio API Oscillators, generating synthwave arpeggios and audio wave visualizers. |
| Projects Explorer | ๐ | Interactive portfolio showcase displaying project cards with tech stack badges, deep summaries, live demo links, and GitHub repository links. |
| Notes Pad Editor | ๐ | Persistent note-taking workspace saved directly into localStorage with real-time text formatting, search, and categorization. |
| Contact Center | ๐ฌ | Direct email and messaging transmission suite with pre-formatted outgoing mail client UI and social networking channels. |
| Voice Controller | ๐๏ธ | Hands-free speech recognition system allowing users to invoke system operations, launch applications, and query system stats by voice. |
| Control Center & Themes | ๐๏ธ | Quick settings panel for system volume, CRT monitor scanlines toggle, audio effects, and themes (Cyberpunk, Matrix, Dark Glass, Neon Sunset). |
| Interactive Boot Loader | ๐ | System initialization sequence featuring POST hardware scans, memory detection logs, and Fast-Boot override (ESC). |
- Core Framework: React 19 + TypeScript + Vite
- State Management: Zustand 5 (Optimized store for active window instances, z-indexes, audio context, and user settings)
- Styling & UI Effects: Tailwind CSS v4 with custom backdrop blur glassmorphism, glowing borders, and CSS scanline overlays
- Icons & Visuals: Lucide React Icons + Custom SVG Brand Vector Sets
- Audio Engine: Native Browser Web Audio API (Oscillators, GainNodes, BiquadFilters)
- Speech Synthesis & Input: Browser Web Speech API (
SpeechRecognition&SpeechSynthesis) - AI Integration: @google/generative-ai (Gemini 1.5 Flash API)
OS_Gaming/
โโโ docs/
โ โโโ screenshots/ # Screenshots featured in README
โ โโโ boot-system.png
โ โโโ desktop-clean.png
โ โโโ desktop-workspace.png
โโโ public/ # Static assets & icons
โ โโโ screenshots/
โโโ src/
โ โโโ apps/ # Standalone Desktop Applications
โ โ โโโ AIApp.tsx # Cortex AI Assistant (Gemini API)
โ โ โโโ AboutApp.tsx # Portfolio Bio & Career Timeline
โ โ โโโ ContactApp.tsx # Contact Form & Socials
โ โ โโโ GamesApp.tsx # Retro Gaming Suite & Achievements
โ โ โโโ MusicApp.tsx # Web Audio API Synth Engine
โ โ โโโ NotesApp.tsx # LocalStorage Persistent Notepad
โ โ โโโ ProjectsApp.tsx # Interactive Portfolio Projects
โ โ โโโ ResearchApp.tsx # Research & Development Notebook
โ โ โโโ SettingsApp.tsx # OS Customizer & Preferences
โ โ โโโ TerminalApp.tsx # Interactive Command-Line Shell
โ โโโ components/ # System Core Components
โ โ โโโ BootScreen.tsx # Retro CRT Boot Diagnostics
โ โ โโโ Desktop.tsx # Main Desktop Grid & Drag Surface
โ โ โโโ MenuBar.tsx # Top System Status Bar
โ โ โโโ QuickSettings.tsx# Quick Controls & CRT Toggle
โ โ โโโ StartMenu.tsx # OS Application Launcher
โ โ โโโ Taskbar.tsx # Dynamic Floating Dock Launcher
โ โ โโโ VoiceController.tsx # Voice Command System
โ โ โโโ Window.tsx # Resizable/Draggable Window Container
โ โโโ store/ # Zustand Global State Management
โ โโโ index.css # Custom CSS Tokens & Animations
โโโ package.json
Follow these steps to get KhushalOS running locally on your machine:
Ensure you have Node.js (v18.0 or higher) and npm installed on your system.
git clone https://github.com/khushalkks/Learning_desktop.git
cd Learning_desktop
npm installTo enable real-time cloud responses in the Cortex AI Assistant:
Create a .env file in the root directory:
VITE_GEMINI_API_KEY=your_google_gemini_api_key_here(Note: If no API key is provided, Cortex AI will automatically run in Offline Simulation Mode with built-in instant local responses!)
npm run devOpen your browser and navigate to http://localhost:5173. Click FAST BOOT [ESC] or wait for the system checks to finish, then click SIGN IN to launch the OS!
ESC/ Fast Boot Button: Bypass boot loader diagnostic sequence.- Window Drag & Drop: Click and hold any window's title bar to reposition.
- Window Controls:
- ๐ด Red Dot: Close window
- ๐ก Yellow Dot: Minimize window to dock
- ๐ข Green Dot: Maximize / Restore window size
- Dock Zoom: Hover over bottom dock icons for macOS-style smooth scaling.
- Voice Commands: Click the microphone icon in the menu bar to activate hands-free control.
Designed and developed by Khushal (khushalkks).
- ๐ GitHub: @khushalkks
- ๐ง Email: khushalsaini3101@gmail.com


