Favicon of imtui

imtui

C++ library for creating text-based user interfaces with 256 ANSI colors, mouse and keyboard input, and Dear ImGui compatibility for terminal applications.

ImTui is a C++ library for building immediate mode text-based user interfaces that run directly in the terminal. It brings the power of Dear ImGui to terminal applications, allowing developers to create rich, interactive text-based interfaces with minimal code.

Key Features:

  • 256 ANSI color support for vibrant terminal UIs
  • Mouse and keyboard input handling for interactive applications
  • Immediate mode rendering for responsive, efficient UI updates
  • Full Dear ImGui compatibility - use the entire ImGui widget set in your terminal
  • Cross-platform support including Linux, Mac, Windows (via MSYS2), and browser (via Emscripten)
  • Minimal dependencies - only requires libncurses

Perfect for:

  • Terminal dashboards and monitoring tools
  • Text-based configuration editors
  • Interactive CLI applications
  • System administration utilities
  • Real-time data visualization in the terminal

ImTui powers real-world applications like text-based Slack and Hacker News clients, configuration editors, and terminal dashboards. The library includes multiple examples and can be compiled for both native terminals and web browsers using Emscripten for demonstrations. Building is straightforward with CMake, and the immediate mode architecture ensures your UI stays responsive even with frequent updates.

Install

Pacman
$ pacman -S git

Features

True color

Media

asciinema
asciinema

Pros

4
  • Immediate mode GUI library for terminal applications
  • Supports 256 ANSI colors
  • Handles mouse and keyboard input
  • Compatible with Dear ImGui

Related tools

Categories:

Share:

Quiet lately: No commits in 9 months — this project might not be actively maintained.

Auto-fetched .

Recent releases

Similar to imtui

Favicon

 

  
 
Favicon

 

  
 
Favicon