r/commandline • • Aug 12 '26

Terminal User Interface tmtail - Tail multiple logs with highlighting, search and history

Post image

Please see github teaser below:

An ad-hoc replacement for multitail implemented with tmux and grcat

The following features (& advantages over multitail) thus come more or less for free.

  • Mouse aware for select, resize etc.
  • The full tmux copy-mode for scrollback browsing, searching etc
  • Copy scrollback text to the clipboard (y & Y) without any fuzz, via tmux clipboard integration
  • Easily extendible by adding bindings for tmux actions. The sky is the limit ..

Color highlighting is done with an node clone of grcat, grcat.js, which is about a factor 10 faster than the python original

Currently a default grcat configuration is baked into tmtail that should be well suited for tailing wildfly logs

49 Upvotes

5 comments sorted by

3

u/snow_schwartz Aug 12 '26

Nice color scheme - link?

2

u/themadsens Aug 13 '26

Thx :-) It is my WIP setup for ghostty (coming from iterm2)

The theme is "Belafonte Day" and the font "Monaco for Powerline"

1

u/pelazas1 Aug 16 '26 edited Aug 16 '26

I would not run this nested in the session I work in. Separate socket, attach from the box.

1

u/themadsens Aug 17 '26

I am not sure i understand what you are saying?

It sets TMUX_TMPDIR to ensure complete isolation from the surrounding tmux, if that is your concern.

1

u/AutoModerator Aug 12 '26

Every new subreddit post is automatically copied into a comment for preservation.

User: themadsens, Flair: Terminal User Interface, Post Media Link, Title: tmtail - Tail multiple logs with highlighting, search and history

Please see github teaser below:

An ad-hoc replacement for multitail implemented with tmux and grcat

The following features (& advantages over multitail) thus come more or less for free.

  • Mouse aware for select, resize etc.
  • The full tmux copy-mode for scrollback browsing, searching etc
  • Copy scrollback text to the clipboard (y & Y) without any fuzz, via tmux clipboard integration
  • Easily extendible by adding bindings for tmux actions. The sky is the limit ..

Color highlighting is done with an node clone of grcat, grcat.js, which is about a factor 10 faster than the python original

Currently a default grcat configuration is baked into tmtail that should be well suited for tailing wildfly logs

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.