← Catalog

oh-my-tui

Modular UI enhancements for native Pi, preserving the original agent.

Extension

Install

Install with PiG

pig install npm:oh-my-tui

Install with Pi

pi install npm:oh-my-tui
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/minkhoaa/oh-my-tui/master/media/01-hero-signature.png",
  "extensions": [
    "./extensions/omt/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.2 (README.md). PiG does not review it.

Oh My TUI

A new look for Pi. The same native agent underneath.

Verification status Pi extension Node.js 22.19.0 or newer MIT license

Install · Quick start · Showcase · Commands · Contribute

Oh My TUI Signature interface with a framed composer, session dashboard, and animated companion

Oh My TUI (OMT) is a presentation-focused extension for Pi. It brings visual presets, a session dashboard, richer tool output, and interactive navigation to your terminal—without replacing Pi's agent runtime.

Features

  • Make it yours. Choose from six presentation presets, color palettes, surface styles, and optional animated backgrounds.
  • Keep your session in view. A right dock shows model details, token usage, workspace status, and an animated companion. Its Agents tab displays available subagent activity.
  • Read less noise. Styled messages, folded tool cards, diff previews, and expandable reasoning make long sessions easier to scan.
  • Find what you need. Open settings, search the command palette, inspect tool execution, browse Git changes, or navigate saved sessions and conversation branches.
  • Stay native. Pi owns execution, model context, tools, sessions, and keybindings. OMT adds no model-facing prompts, tool definitions, or model requests.

Installation

Requirements

  • Pi 1.5.0 or newer, installed separately.
  • Node.js 22.19.0 or newer.
  • An interactive terminal for OMT's visual interfaces. True-color support is recommended.
  • Optional: ffmpeg on PATH for importing custom backgrounds. Built-in scenes and bundled backgrounds do not require it.

From source

To try OMT from a local checkout:

git clone https://github.com/minkhoaa/oh-my-tui.git
cd oh-my-tui
npm ci --ignore-scripts
npm run pi:dev

pi:dev launches Pi with extensions/omt/index.ts loaded for that run. Do not load an installed copy of OMT alongside it.

From npm

The npm installation command will be available once the package is published:

pi install npm:oh-my-tui

To remove an npm-installed copy:

pi remove npm:oh-my-tui

Quick start

Inside Pi, start with:

/omt settings

Use the settings hub to explore themes, surfaces, and sidebar preferences. Then try:

/omt palette
/omt sidebar
/omt git

OMT starts with the Signature preset. To switch presets or try one without changing your saved default:

/omt theme clean
/omt theme ember --session

Saved configuration lives in omt.json inside Pi's agent directory. Preset commands save the selected preset by default; --session makes the change temporary. Use /omt save to persist current configuration overrides.

Showcase

Screenshots show a configured Pi environment. Installed extensions, model names, workspace data, and available integrations will vary with your setup.

Settings and live themes

Open /omt settings to browse configuration and installed resources. The Theme section previews color palettes and background surfaces as you browse.

Settings hubThemes and surfaces
Settings hub showing sections, plugins, and detailsTheme settings with color palette and surface choices
Watch live palette browsing

Browsing color palettes with live interface previews

Dashboard and companions

Open /omt sidebar for a scrollable session dashboard, or /omt sidebar on to enable the persistent companion view. Signature uses a right dock in supported fullscreen layouts and a compact companion otherwise.

Choose a companion with /omt pet, or press p in the dashboard to cycle pets.

Session dashboardCompanion animation
Dashboard with session details, token metrics, and workspace informationCycling animated companions in the dashboard

Command palette and Git explorer

Use /omt palette to search OMT actions. Open /omt git to inspect working tree changes and unified diffs without leaving Pi.

Command paletteGit explorer
Searchable command palette with OMT actionsGit explorer showing changed files and a unified diff

Presets

Switch with /omt theme <name>. Short aliases such as clean, ember, and rail are also accepted.

PresetStyle
omt-signatureDefault OMT presentation with a framed composer, dashboard dock, and companion.
omt-obsidianObsidian Studio cockpit with left-rail architecture, solid chips, and fuel gauge telemetry.
omt-cleanClean, restrained styling.
omt-emberWarm, retro-inspired colors.
omt-railGutter rails and structured visual accents.
minimalCompact presentation with fewer visual elements.
nativeRestore native Pi presentation.

Presets control the overall presentation; Signature palettes and surfaces customize its colors and background. Use /omt theme to open theme selection.

Commands

Enter these commands inside Pi, not your shell. Use /omt palette or command completion to discover more actions.

CommandAction
/omt settingsOpen the settings hub.
/omt paletteSearch OMT actions.
/omt theme [name]Open theme selection or switch presets.
/omt saveSave current configuration overrides as defaults.
/omt on / /omt offEnable or disable OMT presentation.
/omt <component> on / /omt <component> offToggle editor, messages, tools, footer, or thinking.
/omt sidebarOpen the scrollable dashboard.
/omt sidebar on / /omt sidebar offShow or hide the dock or compact companion.
/omt petChoose a companion and its visual style.
/omt inspectInspect session trajectory and tool execution.
/omt gitBrowse working tree changes and diffs.
/omt sessionBrowse and search saved sessions.
/omt treeNavigate conversation branches.
/omt modelOpen the model picker using Pi's model registry.
/omt queueOpen the prompt queue manager.
/omt notificationsView session notification history.
/omt shortcutsShow shortcut help.
/omt doctorInspect environment and compatibility diagnostics.
/omt background offDisable background effects.

Native behavior and compatibility

OMT changes presentation, not the agent contract:

  • Pi retains ownership of prompt construction, model streaming, tool schemas, complete tool output, context calculations, and session storage. Native editing, paste, autocomplete, attachments, and keybindings remain Pi's responsibility.
  • Presentation does not rewrite history. Tool folding and reasoning previews affect display, not the content sent to the model or stored in sessions. Grouped tool cards can expand to show individual calls.
  • Other extensions keep their surfaces. OMT avoids replacing an editor, footer, tool renderer, or layout owned by another extension. Cleanup restores only hooks OMT owns; callbacks become inert when ownership is lost.
  • Layout support is detected at runtime. The Signature dock uses Pi's exported HStack and setLayoutRoot APIs, preserving the native root as its left child and reserving 34 columns on the right when supported and wide enough. Unsupported layouts fall back rather than replacing native rendering.
  • Integrations are optional. MCP, LSP, and subagent information reflects available host state and telemetry; OMT does not install or run those services. Floating notifications keep their history in /omt notifications without shifting the conversation layout.

If a view is unavailable, run /omt doctor. For a simpler interface, try /omt theme minimal; use /omt theme native to return to Pi's presentation.

Development

npm ci --ignore-scripts
npm run verify
npm pack --dry-run
  • npm run verify runs TypeScript checking and the test suite.
  • npm pack --dry-run checks the publishable package contents.
  • npm run pi:dev launches the local extension for interactive development.

Isolated terminal checks

For presentation changes, also run the offline PTY smoke workflow on a Unix-like system with Python 3 and Pi on PATH:

python3 test/isolated-ui.py --output /tmp/omt-ui-captures

The script uses temporary home, agent, and session directories with offline mode enabled. It exercises regular and fullscreen layouts, session transitions, dashboard scrolling, pets, resizing, preset switching, draft input, and shutdown without submitting model prompts. ANSI captures, plain text, and JSON summaries are written to the output directory.

Screenshot capture

npm run capture regenerates the showcase assets in media/. This is a desktop-specific helper, not a headless test: it requires a running Pi session in a remote-control-enabled Kitty terminal, Hyprland, grim, and ffmpeg.

The helper sends commands to the live session, changes presets, starts new sessions, switches workspace focus, and overwrites existing captures. Use a dedicated capture session and review scripts/capture-screens.mjs before running it. The target socket and workspaces can be configured through KITTY_SOCKET, TARGET_WORKSPACE, and RETURN_WORKSPACE.

Contributing

Bug reports, fixes, themes, and accessibility improvements are welcome.

  1. Open an issue to discuss larger changes before implementing them.
  2. Fork the repository and create a focused branch.
  3. Keep changes in the presentation layer. Do not modify Pi core, installed dependencies, native prompts, or session formats.
  4. Add or update tests, run the development checks above, and include isolated terminal evidence for UI changes.
  5. Open a pull request explaining the change, how it was tested, and any compatibility limitations. Include screenshots or a short recording for visible changes.

For bug reports, include your OMT, Pi, and Node.js versions; terminal and operating system; active preset; relevant extensions; reproduction steps; and /omt doctor output. Redact credentials, private paths, and conversation content before sharing captures.

See the changelog for release notes.

License and acknowledgments

MIT © Oh My TUI contributors.

Built for Pi. Portions are adapted from Pitago by cavaldos, also licensed under MIT. See NOTICE for attribution.