https://github.com/devscholar/tcldide
🪶🌐Tcl/Tk in WASM
https://github.com/devscholar/tcldide
tcl tk
Last synced: about 1 month ago
JSON representation
🪶🌐Tcl/Tk in WASM
- Host: GitHub
- URL: https://github.com/devscholar/tcldide
- Owner: DevScholar
- License: bsd-3-clause
- Created: 2026-05-19T06:05:08.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-28T00:09:52.000Z (about 1 month ago)
- Last Synced: 2026-05-28T02:16:02.716Z (about 1 month ago)
- Topics: tcl, tk
- Language: TypeScript
- Homepage:
- Size: 229 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Tcldide
⚠️ This project is in early development and is not yet stable. Expect breaking changes and missing features.
A WebAssembly build of Tcl/Tk 8.6 that runs real Tk programs in the browser.

Built on top of [Wacl](https://github.com/ecky-l/wacl); Tk's X11 calls are handled by the sibling project [em-x11](https://github.com/DevScholar/em-x11).
# Prerequisites
- Linux
- Emscripten (latest emsdk recommended; `emcc` must be on `PATH`)
- Node.js ≥ 20, pnpm ≥ 9
- make, autoconf, wget
- [em-x11](https://github.com/DevScholar/em-x11) cloned as a sibling directory and built (`pnpm install && pnpm build:native`)
# Quick start
```bash
pnpm install # downloads Tcl/Tk sources, builds static archives
pnpm build:native # compiles tcldide-runtime.wasm
pnpm dev # starts Vite dev server
```
`pnpm install` will detect whether em-x11 is present and built — if not, it prints instructions and exits.
# Build
```bash
pnpm build:native
```
# Run
```bash
pnpm dev
```
# Documentation
[docs/api.md](docs/api.md)
# License
BSD 3-Clause.