A large desktop app
Build a full desktop app in Tcl with ztk: many windows, a large data set, plugins, and a version for the web. Outliner is an example: a notes app that opens the folder of a Logseq file graph and writes the same Markdown and Org files.

How it works
Outliner is one native program: ztk draws each widget, and ztcl runs the code of the app. It has no browser engine and no JavaScript.
- The editor, the links, the journals, the queries, and the graph view are Tcl code on the widgets of Tk.
- A plugin is a Tcl script in a safe interpreter or a WebAssembly module with only its own memory. Plugins are off until the user turns them on, and each call of a plugin goes into an activity report.
- The same app runs in a browser on the web build of ztk.
Build it from source:
git clone https://github.com/beetlebugorg/ztk-outliner
cd ztk-outliner
tools/build.sh # needs Zig 0.17.0 and glslc; builds the pinned ztk, then dist/outliner
dist/outliner ~/Documents/my-graph
Real today
Outliner is a beta in its own repository, under the AGPL-3.0 license. It has no release yet, and it runs in a browser on its site.
Links
- Outliner on GitHub and its site, with a demo in the browser.
- On the web: the web build of ztk.
- Styling and themes: the light and the dark theme.