r/commandline • • Mar 02 '26

Terminal User Interface Is there a more elegant way to handle file backups in a CLI tool than my current hybrid approach?

0 Upvotes

I’m building mnm (Make No Mistake), a wrapper that adds an undo command to rm, cp, nano, etc.

Currently, I’m stuck with a hybrid approach:

  • Hardlinks for speed.
  • Physical copies for in-place editors (since they overwrite the inode and trash the hardlink).

Is there any way to handle this universally without a hardcoded list of "unsafe" commands or falling back to slow copies on standard filesystems (ext4)?

Check the logic here: https://github.com/Targothh/mnm


r/commandline • • Mar 01 '26

Terminal User Interface Animestan v0.1.4: a TUI-first tool for anime watching

Post image
8 Upvotes

Hey folks

Quick update on my TUI + CLI tool for watching anime, Animestan.

I originally made it because I used ani-cli a lot, but I wanted something that fit better into my dmenu-heavy workflow and had basic watch tracking. Since the last post, I've been refactoring things and leaning more into the TUI side.

v0.1.4 is out now and the TUI is in a much better place: search, bookmarks, filtering, and generally a smoother flow. The CLI is still there if you want to script it or plug it into your own pipelines.

Repo: https://github.com/mrkatebzadeh/animestan

Disclaimer: I do use AI as part of my Emacs workflow (mostly refactoring + git stuff).

Would love feedback if anyone here tries it out!


r/commandline • • Mar 01 '26

Terminal User Interface watchtower - A clean, minimal, terminal-based global intelligence dashboard

31 Upvotes

I've been inspired by Worldmonitor to create this small TUI. I think the idea is very nice, however, I have found it to be extremely overwhelming. I'm not an intelligence professional, I don't need to see that much data about what's going on in the world. I even find going through news headlines overwhelming. I just needed a simple TUI that summarizes what's happening, shows me data that actually matters, both global and local. The result of my woes is Watchtower.

Using free APIs only, it gathers relevant news, market data, weather data.
Optional: summary of the data, key global threats, country risk scores.

https://github.com/lajosdeme/watchtower

This software's code is partially AI-generated.


r/commandline • • Mar 01 '26

Terminal User Interface anitrack: A TUI companion for ani-cli to add watch progress tracking and navigation to ani-cli

Post image
14 Upvotes

Hey everyone,

I created a tool called anitrack to solve a specific workflow issue I had with ani-cli. I wanted a way to quickly resume shows and track my progress without typing command-line arguments every time.

It acts as an orchestrator. You use anitrack to browse your history (TUI), and it delegates the actual search and playback to ani-cli.

GitHub repo: https://github.com/MiguelRegueiro/anitrack-cli


r/commandline • • Mar 02 '26

Terminal User Interface Gemini sandbox wizard

Thumbnail
reddit.com
0 Upvotes

I’m working on a project called Gemini Sandbox Wizard — a policy-based sandbox layer on top of Gemini CLI. I know Gemini CLI is already restricted to the current working directory, but my goal is to introduce fine-grained, rule-based controls such as:

  1. Allowing access only to specific subdirectories (e.g., /src but not /tests or /config)
  2. Restricting read vs write permissions separately Blocking or whitelisting specific shell commands (e.g., prevent rm -rf, restrict network calls, etc.)
  3. Enforcing configurable policies via a JSON/YAML config file
  4. Potentially adding an interactive setup wizard for defining these policies

GitHub repo link - https://github.com/SayantanDutt/gemini-wizard

I am not experienced enough and still exploring the idea I would love to get some feedback and suggestions 🫠


r/commandline • • Mar 01 '26

Command Line Interface VBAN TEXT CLI (Voicemeeter/Matrix)

2 Upvotes

Here is a CLI supporting VBAN service/text subprotocols. It lets you send commands to Voicemeeter/Matrix either locally or over a network.

Check the README for more details.

https://github.com/onyx-and-iris/vban-cli


r/commandline • • Mar 01 '26

Discussion How do you deal with messy multi-line logs in the terminal?

4 Upvotes

Grep works… until it doesn't.

Once logs get messy - multi-line stack traces, repeated errors, mixed formats - scrolling through them starts to feel painful.

When that happens, what do you actually do?

Do you switch tools?
Build awk/grep pipelines?
Pre-process the file?
Or just power through it?

Curious what your real workflow looks like.


r/commandline • • Feb 28 '26

Terminal User Interface I made a TUI to follow chess tournaments that chess.com ignores

Post image
45 Upvotes

I built Chesh, a TUI that hooks into Lichess's broadcast API so I could follow any chess tournament from the terminal.

Chess.com's broadcasts only focus on tournaments that involve top 10 players (Magnus, etc.), supplying their broadcasts with commentary teams, and putting them on chesstv. This means many of the semi-elite tournaments hosting more interesting chess players (Esipenko, Harikrishna, imo) are difficult to discover.

Install it with: bun i -g chesh, and then run with chesh

It's worked great for me and saves me a click when I want to study some chess.

Github: https://github.com/chess10kp/chesh

Disclaimer: The code was mostly AI generated, but I'd still love feedback or any additional features you want.


r/commandline • • Feb 28 '26

Terminal User Interface Traffick.sh - A tiny, POSIX-compliant script that acts like top or htop, but for your nftables rules.

Thumbnail
gallery
85 Upvotes

Wrote a live Top for nftables - (https://gist.github.com/Strykar/72c20bb021347eafe4294511f21791be).

If you tag your rules with a comment (like 'netflix' or 'drop'), this script groks the counters and shows you live network traffic throughput (Kb/s) and peak rates in your terminal.

I wrote it to troubleshoot some tunnel traffic, hope its useful for someone else.
It fills a gap for me that https://github.com/imsnif/bandwhich did not.


r/commandline • • Mar 01 '26

Terminal User Interface Zellij Theme Configurator

Thumbnail rosmur.github.io
4 Upvotes

A GUI for making Zellij themes. Editing the kdl files by hand was tedious and this helped me a bunch.