Use cases
ztk runs Tk 8.6 scripts on the ztcl interpreter. This section shows what people build with it, with a picture and the code of each.
Some pages show finished apps. Other pages show a prototype: a small example in this repository that shows what is possible. Each page says which it is.
| Use case | What it shows | Kind |
|---|---|---|
| A large desktop app | An outliner and knowledge base that reads and writes the files of Logseq. | An app in its own repository |
| One script on desktop, web, and phones | Three games, each one Tcl script, on Linux, macOS, Windows, a web page, Android, and iOS. | Games in this repository |
| Apps with plugins in a sandbox | A text tool that runs each plugin in a child process with limits. | A prototype |
| Dashboards and small tools | A live log dashboard and a CSV report with a drop target. | Prototypes |
| Apps in Rust, Go, or JavaScript | Native windows from a WebAssembly module. | Bindings in their own repositories |
| UIs that agents can drive and test | A window that a script can see, click, and check. | Commands of ztk |
The ztcl site has the use cases of the interpreter alone: ztcl use cases.