Tech News
← Back to articles

Show HN: Mystral Native – Run JavaScript games natively with WebGPU (no browser)

read original related products more articles

Mystral Native.js

Run JavaScript/TypeScript games natively with WebGPU. Mystral Native.js is a lightweight runtime that lets you write games using familiar Web APIs (WebGPU, Canvas, Audio, fetch) and run them as native desktop applications on macOS, Windows, and Linux.

Think of it as "Electron for games" but without Chromium — just your game code, a JS engine, and native WebGPU rendering.

Note Mystral Native.js is in early alpha. The core features work — execute JS against WebGPU, Canvas 2D, Web Audio, and fetch — with runtimes available for macOS, Windows, and Linux. Embedding is available for iOS and Android, with a future goal of console support. To see a production build, check out the Sponza demo on itch.io.

Quick Start

Option 1: Install via CLI (Recommended)

macOS / Linux:

curl -fsSL https://mystralengine.github.io/mystralnative/install.sh | bash

Windows (PowerShell):

irm https: // mystralengine.github.io / mystralnative / install.ps1 | iex

... continue reading