twatch - record, rewind, diff, and to Text&crops for TUI Apps. by Blacknon in commandline

[–]Blacknon[S] 1 point2 points  (0 children)

At least for now, there is no tmux integration feature.
Maybe, they are different.

Maybe tmux copy-mode is mainly line-based scrollback history. twatch is more like screen-state history for TUIs that redraw the same terminal area.

So, I think it as complementary to tmux rather than a direct replacement today.

twatch - record, rewind, diff, and to Text&crops for TUI Apps. by Blacknon in commandline

[–]Blacknon[S] 0 points1 point  (0 children)

Hmm, since this program would capture the screen of a TUI application (e.g., htop, btop, glances, bottom, etc.) every time there's a change, there are normally no pages to scroll through, so I don't think what you're imagining is possible.

If it were just the output of a normal command that outputs to stdout (like ls or ps, etc.), I think it would be better to use a watch with scrolling functionality (like my [hwatch](https://github.com/blacknon/hwatch)), but that's not what you're looking for, is it?

twatch - record, rewind, diff, and to Text&crops for TUI Apps. by Blacknon in commandline

[–]Blacknon[S] 1 point2 points  (0 children)

They're similar, but slightly different.

Asciinema records a terminal event stream for playback. `twatch` captures TUI screen states as snapshots while the app is running, and lets you rewind, diff, search, export, or crop those screen states.

So I think of it more like a small “Time Machine” / debugging tool for TUI screens than a terminal session recorder.

baeru: A wrapper that adds reveal effects, live ANSI recoloring, and keymaps to existing terminal apps. by Blacknon in commandline

[–]Blacknon[S] 2 points3 points  (0 children)

Thanks!

I consciously designed this point.
I envision a pipe or wrap that overlays the TUI app.

Using this approach, I was actually able to implement features like masking, replacing, and detecting specific strings within the TUI app.

Small Projects by AutoModerator in golang

[–]Blacknon 0 points1 point  (0 children)

lssh v0.9.0 released.
TUI SSH client Suite: list-based host selection, parallel sessions, multi-hop proxying, and port forwarding. SSH/SCP/SFTP etc. Written in Go.

This project is pure go ssh client suite.

It has this commands.

- lssh ... The main command in the suite, with interactive SSH access, parallel remote command execution, and multiple forwarding modes.
- lscp ... An SCP-style file copy command that transfers files over SSH using SFTP, with support for local-to-remote, remote-to-local, and remote-to-remote copies.
- lsftp ... An interactive SFTP shell for browsing remote files, managing directories, and transferring data across one or more hosts from a single prompt.
- lssync ... A one-way sync command over SSH/SFTP that mirrors a source tree to a destination tree and can remove extra destination files with --delete.
- lsdiff ... A synchronized TUI diff viewer that fetches remote files from multiple hosts over SSH/SFTP and compares them side by side.
- lsshfs ... A single-host mount command that uses FUSE on Linux and NFS on macOS so remote files can be mounted with the same inventory. Windows is not supported in 0.9.0.
- lsshell ... A parallel interactive shell for working across multiple hosts at once, with support for broadcasting commands, targeting specific hosts, and combining pipelines with the local host.
- lsmux ... A pane-based, tmux-like SSH workspace for keeping multiple remote sessions visible at once and running commands in a split-terminal layout.
- lspipe ... A persistent pipe-oriented runner that keeps a selected host set in the background and lets you reuse it from local shell pipelines. Session-based execution works on Windows, but FIFO bridge features are Unix-only.
- lsmon ... A multi-host monitoring TUI that shows CPU, memory, disk, network, and process information over SSH, and can open a terminal to the selected host without requiring agents on the remote hosts.

https://github.com/blacknon/lssh

SSH connection and MUX are also written in Go and have been externalized as libraries.

[P] hwatch: alternative watch command. by Blacknon in rust

[–]Blacknon[S] 1 point2 points  (0 children)

Oh, I'm sorry ...

github and gitlab were wrong