HagalazOS has no build system, no package manager, and no server-side component. Getting it running is as simple as opening a file in a browser. This guide walks you through cloning the repository, launching the bootloader, and choosing between GUI and Terminal mode — plus a no-install CDN option if you just want to try it immediately.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/linuxfandudeguy/HagalazOS/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Any modern browser — Chrome, Firefox, or Edge are all supported. No minimum version beyond broad ES2020 support is required.
- Git (optional) — you can also download a ZIP from GitHub.
- No Node.js, no npm, no build tools.
Set up and launch
Serve the files locally
While Any static file server works —
index.html can be opened directly via file://, some browsers block fetch() requests on the file:// protocol, which prevents the bootloader from chainloading os.html or terminal.html. The safest approach is to spin up a local HTTP server:npx serve, caddy, or a VS Code Live Server extension are equally fine.If you open
index.html directly via file://, fetch() calls made by the bootloader and app loader may be blocked by your browser’s CORS policy. Apps will fail to load and you will see a LOAD FAILURE message or red error text. Serving with a local HTTP server resolves this.Navigate the bootloader menu
The bootloader presents two options on a dark (
#0b0c0f) background with an orange scanline overlay:- HagalazOS (GUI) — the windowed desktop environment
- HagalazOS (Terminal) — the full-screen terminal emulator
#ff8000). Press Enter to boot.Boot into your chosen mode
After you press Enter, the bootloader fetches the target file and replaces the current document without a page navigation:
- GUI boots
os.html— the windowed desktop loads with app icons, a taskbar, and draggable windows styled with 7.css. - Terminal boots
terminal.html— a full-screen terminal emulator with an animated Vanta.js globe background appears, ready to accept commands.
Zero-setup CDN option
If you want to try HagalazOS without cloning anything, open the single-file CDN variant directly in your browser:singlefile.html is a self-contained bootloader that resolves all assets — stylesheets, scripts, and app files — from jsDelivr using a <base href> pointing to a pinned commit. No local files are needed. When you boot into GUI mode from singlefile.html, it chainloads ossingle.html (the CDN-relative GUI variant) rather than os.html.
Network features and the Wisp endpoint
The terminal’scurl command is powered by libcurl.js, which routes HTTP requests over a Wisp WebSocket proxy. By default terminal.html connects to: