Design For The
The visual IDE and AI Architect for modern engineering. Build, theme, and bind logic to CLI apps without the grid-math headaches.
Core Modules
Tomcs provides a complete toolchain for building high-fidelity terminal interfaces. /usr/bin/tomcs_core
Live Sync Protocol
Bidirectional design bridge. Canvas manipulations write directly to src/app.tsx in real-time, eliminating the design-code gap.
AI Architect
Turns text prompts into layouts. Paste web code or just describe what you want, and the AI builds the terminal grid for you.
Logic Engine
Connect UI elements to live bash streams. Bind badges to 'uptime', tables to 'ps aux'.
Pixel Matrix
Converts images into text and texts into Banners. upload a PNG or JPG, and it transforms into high-quality ASCII art for your terminal.
Start Building
in Minutes.
Get from zero to a full visual designer environment with just a few commands.
Prerequisites:
- Node.js 18+ (Required for Ink)
- Groq API Key (for Neural Architect, it's free)
- NPM or PNPM Package Manager
01. Initialize tomcs
Initialize a new tomcs project and configuration.
02. Install Dependencies
Install required packages for the Ink environment.
03. Launch the Designer
Start the visual interface overlay in your terminal.
04. Start Live Preview
Open a second terminal window to watch your compiled app concurrently.
The Designer Manual
Master the controls. Tomcs is styled like a professional design tool, adapted for the constraints of the terminal.
Interface Overview
Canvas & Fluid Viewport
The central infinite drawing area maps 100x30 virtual coordinates to your actual terminal size. It handles the math to ensure your TUI looks consistent on any display.
Toolbar & Layers
Quick access primitives at the top. Select components using the Layers panel on the left, or use keys [1-9] to fast-select.
Controls & Shortcuts
| Key | Action |
|---|---|
| [A] | Registry |
| [P] | AI Porter |
| [K] | Logic Bind |
| [E] | Export |
| [Del] | Remove |
Component Registry
Everything you need to build rich Terminal User Interfaces.
Rectangle
A bordered box for grouping layout elements
Line
A horizontal separator
Text
Simple, editable text strings
Image
Container that renders ASCII art
Banner
Large, decorative header text
Shell
The root application frame
Card
Content container with title bar
Button
A pressable element
Badge
Status indicators (Online, Error)
List
Vertical list of items
Tabs
Horizontal navigation bar
Icon
Vector-like symbols
Spinner
Animated loader for active processes