This guide walks you through cloning RetroWin, spinning up the Vite dev server, and making your first content edits. By the end you will have a fully functional Windows 98 desktop portfolio running locally and know exactly which files to change to make it your own.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/retrowin/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites: Node.js ≥ 18 and npm (or yarn / pnpm) must be installed on your machine. You can verify your Node version with
node -v. No other global tooling is required — Vite runs entirely from the local node_modules.Clone the repository
Fork or clone the repo from GitHub, then move into the project directory:The repository contains the full Vite source tree along with the pre-built
assets/ bundle and the components/y2k/ directory that holds every Win98 UI component.Install dependencies
Install all packages declared in This pulls in React 18, React Router v6, Framer Motion, Tailwind CSS, and the Vite build toolchain.
package.json. Choose whichever package manager you prefer:Start the dev server
Launch the Vite development server with hot module replacement:Vite will print a local URL — by default http://localhost:5173 — and open it automatically. Any changes you save to source files are reflected in the browser instantly without a full page reload.
Explore the desktop
Once the browser opens you will see the teal Win98 desktop. Here is what to try first:
- Start menu — Click the Start button in the bottom-left taskbar. A pop-up menu slides up with color-coded links to About Me, Projects, Skillz, and Guestbook.
- Desktop icons — Double-click any
DesktopIconon the wallpaper to open the correspondingRetroWindow. - Drag windows — Click and drag a window’s navy title bar to reposition it anywhere on the desktop, just like Windows 98.
- Maximize / Close — The
□button in the title bar toggles full-screen mode;Xnavigates back to the root route. - CRT overlay — Notice the subtle scanline shader layered over the entire desktop — courtesy of the
CRTOverlaycomponent.
Edit your content
The four portfolio pages are driven by the React components under To change the Start menu navigation labels, edit the button text inside The Win98 color utilities (
components/y2k/ and the page-level views wired to each route. The quickest way to customize content is to fork the repo and edit the source JSX directly.For example, to update the About page title bar, open RetroWindow.js and change the title prop passed from the About page component:components/y2k/Taskbar.js:win-teal, win-navy, win-silver, etc.) and beveled-border classes (.win98-outset, .win98-inset, .win98-btn) are available throughout any component for consistent retro styling.Build for Production
When your customizations are ready, compile an optimized static bundle:dist/ directory — a self-contained folder of HTML, CSS, and ES module chunks that can be served from any static host. The index.html in dist/ is the entry point; all assets use relative paths so the folder can be deployed at any subdirectory.
Deploy to GitHub Pages
RetroWin’s hash-based routing means zero configuration is needed on the host side:- Push your fork to a GitHub repository (e.g.,
your-username/retrowin). - In the repository Settings → Pages, set the source to the
mainbranch and the/(root) folder — or point it at thedist/output if you commit the build artefacts. - GitHub Pages will serve
index.htmlfor all requests. Because all routes are hash fragments (/#/about,/#/projects, etc.), the browser never asks the server for a different HTML file — everything resolves client-side automatically.
https://your-username.github.io/retrowin/ within a minute or two of Pages finishing its deployment.