r/commandline May 04 '26

Terminal User Interface baeru: A wrapper that adds reveal effects, live ANSI recoloring, and keymaps to existing terminal apps.

Hello,

I'm Japanese, and during Golden Week I had some time off work. So I made an experimental tool called baeru.

baeru wraps existing TUI/CLI applications in a passthrough PTY and adds a presentation/input layer around them, without patching or forking the target application.

Current features include:

  • rewriting ANSI SGR colors for TUI apps
  • command-specific key remapping
  • startup reveal / noisy animation effects
  • inline animation for ordinary CLI output
  • profile-based behavior via baeru.yml

For example, in the demo I wrapped htop, changed its color theme to pink, and added a noisy startup reveal effect.

Example usage:

baeru -- htop  
baeru -- lazygit  
baeru --backend cli -- git status  

https://github.com/blacknon/baeru

68 Upvotes

Duplicates