package
A terminal-based design tool
npm install tigmaGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
A terminal-based design tool for creating ASCII diagrams and designs.
bunx tigmaCurrently this requires bun.
# Start with a blank canvas
bun run index.ts
# Open an existing file
bun run index.ts mydesign.tigmaSwitch between tools using keyboard shortcuts:
| Key | Tool | Description |
|---|---|---|
M | Move | Select, move, and resize objects |
T | Text | Create and edit text boxes |
R | Rectangle | Draw rectangular shapes with box-drawing characters |
L | Line | Draw lines (horizontal, vertical, or diagonal) |
| Key | Action |
|---|---|
Ctrl+S | Save file (prompts for filename if new) |
Ctrl+Z | Undo |
Ctrl+U | Redo |
Delete / Backspace | Delete selected or hovered object(s) |
Escape | Cancel current drawing / exit text editing |
When a single rectangle is selected and hovered, resize handles appear at:
Drag the handles to resize the rectangle.
| Key | Action |
|---|---|
Ctrl+[ | Move selected object down one layer |
Ctrl+] | Move selected object up one layer |
Home / End to jump to start/endBackspace / Delete to remove charactersCtrl+B to toggle bold mode for new charactersEscape to finish editingA color picker is displayed at the bottom-right of the canvas.
Controls the color of:
Available stroke colors: Transparent, Black, White, Red, Green, Blue, Yellow
Controls the background fill of:
Available fill colors: Transparent, Black, Gray, Muted Red, Muted Green, Muted Blue, Muted Yellow
Transparent (shown as null) means no color is applied, allowing content beneath to show through.
Click on a color swatch to select it. The selected color applies to:
Designs are saved as .tigma files in JSON format. The file stores:
R to select the Rectangle toolT to select the Text toolEscape to finish editingM to switch to Move toolCtrl+S to save your workEstimated unpacked size across 7 packages.
21.5 MB
Includes dependencies.