Skip to content

Repository files navigation

macOS RobsHs — Next-Gen Web Simulator

macOS RobsHs Preview

Live Demo React Vite TailwindCSS License: MIT

A high-fidelity, interactive macOS Sequoia desktop environment running natively in the modern browser. Built from the ground up with React 19, Vite 7, Tailwind CSS 4, and procedural Web Audio API synthesis.

Explore Live Demo » · Report Bug · Request Feature


🌟 Overview

macOS RobsHs is an authentic browser-based operating system simulator designed to push modern web standards to their limits. It replicates the exact visual polish, kinetic physics, spring-damping animations, and sound design of macOS Sequoia.

Whether it is running real JavaScript code inside a full Monaco-powered Visual Studio Code, exploring the globe with live GPS Geolocation on Maps, playing curated video embeds on Safari, or experiencing real-time procedural sound synthesis, every interaction has been engineered for sub-frame responsiveness and tactile delight.

Star History

Star History Chart

✨ Key Features

🖥️ Desktop & Window Management

  • Smooth Window Physics: Draggable, resizable, and stackable window manager with automatic z-index focus tracking powered by Zustand.
  • macOS Genie Minimize & Restore: Physics-based window warping and spring-damped minimize/restore transitions targeting the exact Dock icon origin.
  • Liquid Glass Design System: Authentic Sequoia glassmorphism with backdrop-filter: blur(40px) saturate(180%), ambient specular highlights, and dynamic Dark/Light modes.
  • Customizable macOS Dock: Parabolic Gaussian magnification curve on mouse hover, active running indicators, launch bounce animations, and right-click Pin / Unpin context controls.

💻 Developer & Utility Apps

  • Visual Studio Code (Monaco Editor): Integrated full-featured code editor with syntax highlighting, multi-tab file workspace, line numbering, and a sandboxed runtime execution preview.
  • Interactive Terminal: Emulates zsh with interactive commands (help, neofetch, clear, date, whoami, echo, theme, and more).
  • Calculator: Authentic macOS Calculator replica with real arithmetic computation, clear indicators, and keyboard input support.
  • Spotlight Search: Triggerable via Cmd/Ctrl + Space or menu bar icon. Supports real-time math evaluation (12 * 8.5, sqrt(144)) and deep system application indexing.

🌐 Safari & Communication

  • Safari Browser: Unified address bar, navigation history (back/forward/reload), native GitHub client viewer (github.com/RobsHs), and embeddable YouTube video player with live search.
  • Interactive Maps: Powered by Leaflet with OpenStreetMap tiles, automatic browser GPS geolocation, zoom controls, and landmark discovery.
  • Mail & Messages: Comprehensive communication suite featuring macOS Sequoia layouts, contact photo posters, audio dictation controls, and rich team workspaces.
  • FaceTime & Phone: Realistic caller overlays, keypad dialer, call duration timers, and optional webcam video integration.

🎨 Personalization & System Sound

  • Dual Wallpaper Engine: System Settings manager featuring 12+ official 6K macOS dynamic wallpapers, custom image uploading, and real-time dual previews for both Desktop and Lock Screen.
  • Web Audio API Sound Synthesizer: Custom procedural audio engine generating native macOS UI sound effects (click, error pop, camera shutter, and trash empty) with sub-4ms latency.
  • Sequoia Lock Screen & Boot: Authentic clock typography, wake/sleep transitions, editable user avatar, and smooth password unlock.

🛠️ Tech Stack

Domain Technology
Framework React 19
Build Tool Vite 7
Styling Tailwind CSS 4
Code Editor @monaco-editor/react
Animations Framer Motion & GSAP
State Management Zustand
Mapping Engine Leaflet
Icons Lucide React & Custom Apple Vector SVGs
Deployment Firebase Hosting

🚀 Getting Started

Prerequisites

  • Node.js: v18.0.0 or higher
  • npm or pnpm / yarn

Installation

  1. Clone the repository:

    git clone https://github.com/RobsHs/MacOS-Web-Simulator.git
    cd MacOS-Web-Simulator
  2. Install dependencies:

    npm install
  3. Launch development server:

    npm run dev
  4. Open http://localhost:5173 in your browser.

Building for Production

npm run build
npm run preview

📁 Project Architecture

MacOS-Web-Simulator/
├── public/
│   ├── icons/            # Official macOS vector SVG & raster icons
│   └── Wallpaper/        # High-resolution 6K macOS dynamic wallpapers
├── src/
│   ├── app/              # Individual macOS Applications
│   │   ├── Calculator.jsx    # Calculator with real math engine
│   │   ├── Calendar.jsx      # Multi-view Calendar suite
│   │   ├── Contacts.jsx      # Address book & contact posters
│   │   ├── FaceTime.jsx      # Video conferencing with webcam support
│   │   ├── Finder.jsx        # Virtual file system & storage explorer
│   │   ├── Gallary.jsx       # Photo gallery & wallpaper picker
│   │   ├── Launchpad.jsx     # Fullscreen app grid
│   │   ├── Mail.jsx          # Mail client with smart summaries
│   │   ├── Maps.jsx          # Leaflet GPS geolocation mapping
│   │   ├── Messages.jsx      # iMessage client with reactions
│   │   ├── Phone.jsx         # Phone dialer & call logs
│   │   ├── Reminders.jsx     # Task management
│   │   ├── Safari.jsx        # Browser with YouTube & GitHub views
│   │   ├── Settings.jsx      # Wallpaper & system preferences
│   │   ├── Spotify.jsx       # Streaming media player
│   │   ├── Terminal.jsx      # Zsh terminal emulator
│   │   ├── Trash.jsx         # Recycle bin with sound effects
│   │   └── VSCode.jsx        # Monaco Editor multi-tab workspace
│   ├── components/       # Core System Components
│   │   ├── AppWindow.jsx     # Window shell with traffic lights & genie physics
│   │   ├── Dock.jsx          # Magnified dock with pin/unpin system
│   │   ├── Spotlight.jsx     # Spotlight launcher & math engine
│   │   ├── TopBar.jsx        # Dynamic menu bar with live status indicators
│   │   └── ControlCenter.jsx # Quick settings & sliders
│   ├── layouts/          # System Stage Layouts
│   │   ├── DesktopWindow.jsx # Desktop environment
│   │   ├── LockScreen.jsx    # Authentic Sequoia lock screen
│   │   └── PowerScreen.jsx   # Boot sequence & progress bar
│   ├── store/
│   │   └── Appstore.js       # Centralized window & system state store
│   └── utils/
│       └── soundEffects.js   # Procedural Web Audio API sound synthesizer
├── package.json
└── vite.config.js

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feat/AmazingFeature)
  3. Commit your Changes (git commit -m 'feat: add some AmazingFeature')
  4. Push to the Branch (git push origin feat/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License. See LICENSE for more information.


macOS RobsHs · Crafted with ❤️ by RobsHs

Releases

Packages

Contributors

Languages