Minimal Vite + vanilla TypeScript terminal running just-bash — no React, no framework, just a <div> and @wterm/dom.
From the monorepo root:
pnpm install
zig build
pnpm --filter vite devOpens at vite-example.wterm.localhost via portless.
@wterm/domcreates and manages the terminal in a plain<div>@wterm/just-bashprovides a Bash shell that runs entirely in the browser- Virtual files (
README.md,hello.sh) are preloaded into the shell
| File | Description |
|---|---|
src/main.ts |
Creates the terminal and attaches a bash shell |
index.html |
Minimal HTML with <div id="terminal"> |