ScriptWeaver Documentation

ScriptWeaver lets you build native desktop apps in plain JavaScript — no web browser, no heavy runtime. You write standard JS, lay out real native widgets, and ship a tiny cross-platform bundle that runs on the free Player.

New here? Start with the Hello, World tutorial.

Getting started

Guides

Widget reference

Reactive variables (StringVar, IntVar, BoolVar, DoubleVar) are covered in the Variables & reactivity guide.

Several pages document a classic widget and its themed T-prefixed variant together — for example Entry covers both Entry and TEntry, and Scale covers Scale and TScale. Prefer the themed variant for a modern look.

ScriptWeaver bundles modern themes — Azure light/dark plus the full ttkbootstrap pack — switchable at runtime with app.setTheme(). Prefer the themed widgets — the ones prefixed T (TButton, TEntry, …) — for a contemporary look. The non-prefixed names are the classic Tk equivalents.

System API

The sw.* system namespace is covered in the guides:

Examples

Annotated walk-throughs of the bundled demos: a notes editor, a file browser, a todo list, a preferences dialog, and a Markdown help viewer.