How tjy-gitnub/win12 works
Project type and purpose
• This is a single-page, front-end-only “Windows 12” web-desktop simulator built as a PWA (Progressive Web App).
• It runs entirely in the browser, uses static assets (HTML/CSS/JS), and simulates OS components (boot, desktop, start menu, apps).
• It also integrates an “AI Copilot” feature via a small Cloudflare Worker that proxies to an external AI API.
File structure
• Top-level HTML entry points: boot.html, bios.html, bluescreen.html, desktop.html, etc.
• module/ – reusable JS/CSS modules for window management, tabs, widgets.
• scripts/ – application kernels (e.g. calculator_kernel.js), utilities, and the AI Copilot service folder containing Cloudflare Worker code.
• pwa/ – manifest.json for PWA installation.
• sw.js – service worker script for offline caching.
• data/ – JSON/JS-based data (tasks.js, disconnected.html).
• lang/ – i18n property files and translation script.
README for additional insights
• Confirms PWA support and offline readiness.
• Mentions AI Copilot implementation located under scripts/AI Copilot service.
• Clarifies “no server” beyond static file hosting and the Cloudflare Worker.