Skip to content

About

๐ŸŒŒ KhushalOS โ€” A futuristic glassmorphic web desktop simulator & interactive portfolio built with React 19, TypeScript, Tailwind CSS v4, Zustand, Web Audio API synth, and Google Gemini AI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

๐ŸŒŒ KhushalOS โ€” Next-Gen Interactive Web OS & Gaming Portfolio

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.

React TypeScript Vite TailwindCSS Zustand Gemini AI


๐Ÿ“ธ System Showcase & Visuals

๐Ÿ–ฅ๏ธ Multitasking Desktop Workspace

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.

Multitasking Desktop Workspace


โšก System Boot Sequence v4.0

Cyberpunk green phosphor retro CRT boot screen with real-time diagnostic hardware checks, module mounting, and fast boot bypass options.

KhushalOS Boot Loader


๐ŸŒŒ Clean Cyberpunk Desktop & Floating Glass Dock

Immersive desktop shell with top system status menu, floating macOS-inspired dynamic zoom dock, and custom side app launcher panel.

Clean Cyberpunk Desktop


โœจ Features & Operating System Apps

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).

๐Ÿ› ๏ธ Tech Stack & Architecture

  • 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)

๐Ÿ“ Repository Directory Structure

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

โšก Quick Start & Local Setup

Follow these steps to get KhushalOS running locally on your machine:

1. Prerequisites

Ensure you have Node.js (v18.0 or higher) and npm installed on your system.

2. Clone Repository & Install Dependencies

git clone https://github.com/khushalkks/Learning_desktop.git
cd Learning_desktop
npm install

3. Configure Gemini AI API Key (Optional)

To 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!)

4. Run Development Server

npm run dev

Open 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!


๐ŸŽฎ OS Controls & Keybindings

  • 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.

๐Ÿ‘ค Author & Credits

Designed and developed by Khushal (khushalkks).


Built with โค๏ธ using React 19, TypeScript, Tailwind CSS v4 & Google Gemini AI.

About

๐ŸŒŒ KhushalOS โ€” A futuristic glassmorphic web desktop simulator & interactive portfolio built with React 19, TypeScript, Tailwind CSS v4, Zustand, Web Audio API synth, and Google Gemini AI.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages