Install & run

Get the Player

Download the Player for your platform from scriptweaver.dev/download. It's a single, self-contained binary — there is nothing else to install (no Node.js, Python, or Tcl).

The Player is free and open source (MPL-2.0); you're welcome to redistribute it alongside your apps.

Verify your download. Official builds are signed — compare the published SHA-256 sum with your file:

# Linux / macOS
shasum -a 256 scriptweaver

# Windows (PowerShell)
Get-FileHash scriptweaver.exe

Run an app

Run a script directly:

scriptweaver myapp.js

Or run a packaged app — a .zip containing a main.js plus any assets:

scriptweaver myapp.zip

See Packaging apps for how to build a bundle.

Options

Flag Effect
--light Use the light theme.
--dark Use the dark theme (the default).
--trace Print the underlying Tk commands to stderr — handy when debugging.
scriptweaver --light myapp.js

The interactive shell (REPL)

Start the Player with no file and you get an interactive JavaScript shell plus an empty window:

scriptweaver

Type code and watch the window change live — the quickest way to explore the widget API:

const b = app.TButton({ text: 'Hi', onClick: () => sw.dialog.alert('hi') });
b.pack.configure({ padx: 30, pady: 30 });

Next