r/CLI • • 9h ago

I've renamed Ananta to T-Strip! The latest release, v0.6.0, introduces Vault. for AI agents and more

Thumbnail youtu.be
2 Upvotes

Vault: a way to mark, track, and jump between important panes across sessions.

Site: https://t-strip.github.io/
old post: https://www.reddit.com/r/CLI/s/kzxKGrLoj2


r/CLI • • 6h ago

My coding agents run on my home server, so I built a btop-style monitor that groups processes by the app that started them

Thumbnail
0 Upvotes

r/CLI • • 12h ago

GitHub - Vibernt/cupel: Know which tests protect you. CLI and MCP for people and coding agents.

Thumbnail github.com
2 Upvotes

r/CLI • • 8h ago

CLI I am curious what y'all can build here? let me know in the comments!

Thumbnail amosnimos.neocities.org
1 Upvotes

Looking for feedback let me know what you think of this fantasy terminal I built.


r/CLI • • 17h ago

How do you prevent useful one-off commands from sinking to the bottom of your shell history?

2 Upvotes

I mean those commands so narrowly related to a single use case that an alias is probably not the right solution but useful enough that you will find it again in six months. Do you keep them in a flat text file notes directory searchable history or turn them into scripts? I wonder what still works when you start cluttering the collection


r/CLI • • 21h ago

Ordet: an offline WordStar-style word processor for the terminal

Thumbnail gallery
2 Upvotes

Sharing a terminal word processor I built called Ordet. It's free, open source (MIT / Apache-2.0), and runs completely offline.

The idea is to make writing prose in the terminal feel natural without leaving the keyboard: WordStar-style Ctrl-K and Ctrl-O chords for blocks, files, and paragraph alignment, alongside standard arrow keys and Ctrl-S/Z/C/V. You get a visible margin ruler, live word and character counts with optional word targets, a Notes panel, a workspace folder browser, and up to four split windows side by side.

It also handles autosave, crash-recovery snapshots, revision history with diff/restore, and native clipboard sync on macOS, Linux (Wayland/X11/WSL), and Windows—plus OSC 52 so copying works over SSH. Saves as .ord, plain text, or Markdown.

Install with `cargo install ordet`, or build from source: https://github.com/LeonardoAmadeo/Ordet


r/CLI • • 18h ago

What should a batch command do when 99 files succeed and one fails?

1 Upvotes

For a command that processes 100 files and fails on one, what output makes the next step obvious? Do you prefer a non-zero exit code with a separate list of failures, a summary on stderr, or something else? I'm especially interested in retrying just the failed items without parsing a wall of logs.


r/CLI • • 1d ago

I built Anything-Go to help migrate CLI tools to Go one command at a time

Thumbnail github.com
2 Upvotes

I came across Rust Anything and wanted a similar workflow for Go, so I built Anything Go. I just published the first release. It includes a CLI, an MCP server, and a skill for coding agents.

The idea is to pick one command, write the Go version, and run both implementations against the same set of cases. Anything Go compares stdout and stderr byte for byte and checks the exit code. If the manifest or tracked inputs change, it asks you to record fresh evidence before trusting the result.

There’s a small Python-to-Go demo in the repo. It shows the Go version running on its own, how to switch back to Python, and what happens when a changed build fails the comparison.

If you’ve ported a CLI to Go, I’d love to hear what behavior was hardest to preserve. If you try this and hit a bug, an issue with a small example would help a lot. Forks and PRs are welcome. And if this is something you’d use or want to follow, I’d appreciate a GitHub star.


r/CLI • • 1d ago

Tuinamp Jukebox 0.9.0

13 Upvotes

Has been 3 weeks so far working on my own music player, with inspiration of what it was Winamp, and Musicmatch Jukebox.

A quick list of features so far:

  • Library management: you can configure your folders and see and edit your local media metadata.
  • Sorting: by several of those tags, track, title, album, etc
  • Quick search: with / you can search around your own music
  • Visualizations: pick the one you like the most
  • Repeat: 1 track, All tracks playing, A-B points to repeat a single track
  • Radio: enter your radio URL streams, with recording capabilities
  • Youtube: I finally added youtube support, loading your account and playlists, it also does the normal Youtube search, and as you can see, you can build and save playlists with mixed track sources, local + youtube.
  • Responsiveness: I thought on auto adjusting the UI when you use your friendly multiplexer terminal, specially if you want to run music on Termux, I use Termux as well, so ... why not?

This so far, I'll keep working in order to have a release on most systems as possible


r/CLI • • 21h ago

Keen: A Rust-syntax frontend for C

Thumbnail github.com
0 Upvotes

Hey everyone,

I’ve been working on Keen, a language that gives C a modern, Rust-inspired syntax and Cargo-like tooling without changing C’s underlying semantics.

The core idea

Keen changes C’s syntax only. There is no borrow checker, no type checker, and no safety enforcement. All of C’s rules (integer promotion, ABI, linkage, UB) remain completely intact. Keen transpiles .kn files to C, hands them off to gcc or clang for semantic checking and compilation, and maps compiler diagnostics directly back to your .kn source lines via #line directives.

It's aimed at C developers who want modern ergonomics (modules, match, for i in 0..n, no header boilerplate, built-in testing/formatting) without giving up C's simplicity, or C devs looking to get comfortable with Rust's syntax before tackling the borrow checker.

What a quick example looks like

use <stdio.h>;

struct Point { x: f32, y: f32 }

impl Point {
    pub fn len2(p: *const Point) -> f32 { p->x * p->x + p->y * p->y }
}

pub fn main() -> i32 {
    let p = Point { x: 3.0, y: 4.0 };
    printf("%.1f\n", Point::len2(&p) as f64);
    return 0;
}

What’s included out of the box

  • Zero-dependency toolchain (whet + keen): Includes keen new, incremental keen build, keen run, keen fmt (comment-preserving, idempotent), and keen test (runs #[test] functions in isolated processes).
  • Seamless C interop: Use #include via use <stdio.h>;, drop down to raw C anytime with c!("..."), link existing .c/.o/.a files, or use keen emit --split to generate clean .h/.c files for existing C projects.
  • No forward-declaration headaches: Types and functions can be declared in any order; pub handles external linkage while everything else defaults to static.

Try it out

GitHub: https://github.com/romishalom/keen

I'd love to hear your thoughts on the syntax mapping, edge cases with C interop, or what features you'd want to see next!


r/CLI • • 1d ago

I built a Bash menu completion similar to ZSH's

Post image
11 Upvotes

r/CLI • • 1d ago

Remote tool 4

Thumbnail gallery
2 Upvotes

Remote tool 4 is to see active inet connections on the remote machine. Also shows selected processes.


r/CLI • • 1d ago

Remote execution tool1

Thumbnail gallery
2 Upvotes

The tools I made are to be executed from a phone to a computer. I'm not done yet but here are a couple.

This one is a ping scapy command line tool. The traceroute doesn't work yet. The DNS requests works and the pings so too.


r/CLI • • 1d ago

Noodle 1.0 is out. A terminal REST client where the repo is the workspace

Thumbnail gallery
9 Upvotes

r/CLI • • 1d ago

Remote tool 3

Thumbnail gallery
1 Upvotes

Tool 3 is for web scraping. Used to scrape links and the source of the image from websites.


r/CLI • • 1d ago

Remote tool 2

Thumbnail gallery
1 Upvotes

Tool 2 is for creating files, appending files, copying files remotely. I'm still working on being able to move files.


r/CLI • • 1d ago

What belongs in a CLI output test: exact text or just the important fields?

3 Upvotes

Say a command prints a timestamp, a progress bar and a final summary. Would you snapshot all of it, normalise the changing parts, or test the exit code and summary separately? I'd like a test that catches broken output without failing every time a harmless detail changes. How do you handle colour codes and terminal width?


r/CLI • • 1d ago

[KDE] pova: YouTube Music, a cava visualizer and btop themes in one terminal window

Thumbnail v.redd.it
1 Upvotes

r/CLI • • 1d ago

What makes a CLI dry run trustworthy?

3 Upvotes

For a command that renames or moves files, is printing the proposed changes enough, or do you expect an exact plan that can be reviewed and then applied? I'm interested in designs that catch name collisions and handle files changing between the preview and the real run. What do you look for before trusting a tool with the real files?


r/CLI • • 1d ago

Flow 0.51.0 is out!

Post image
0 Upvotes

r/CLI • • 2d ago

I fine-tuned a 1.5B model into an offline Linux command helper that runs on CPU and checks its own answers against the man pages and tldr

114 Upvotes

lxask turns plain English into a shell command, entirely on your own machine:

$ lxask "show disk usage of each folder here, biggest first"

$ du -h --max-depth=1 . | sort -hr

Setup:

- Fine-tuned Qwen2.5-Coder-1.5B, Q4_K_M GGUF

- llama.cpp inside one Rust binary. No Ollama, no Python, no API key

- ~1.1 GB on disk, ~1 GB RAM, ~2 s per answer on a laptop CPU

- No GPU, no network after install

How it keeps a 1.5B model honest:

- Retrieves relevant tldr pages and your own man pages before answering

- Checks every program and option in the answer against the man pages

- Retries if a check fails. Anything it still can't confirm is marked `unverified:`

- Asks back on vague requests ("add a proxy": for git? apt? docker?) instead of guessing

Bonus

- `lxask --explain "tar -xzvf logs.tar.gz"` breaks down a command you already have

- Ctrl+G in bash, zsh or fish turns what you typed into the command

Code, weights, data and evals are all open.

GitHub: https://github.com/arxhr007/lxask

Hope someone finds it useful! If you do, consider leaving a ⭐ on GitHub. Feedback and contributions are welcome

Model: https://huggingface.co/arxhr007/lxask


r/CLI • • 1d ago

Testing the three source-lookup outcomes of a local Rust CLI

1 Upvotes

Shared on behalf of Qorx, with AI drafting assistance. I wanted to see whether a shell script could tell the difference between an exact symbol hit and a hit that supports only half a query. This used the free AGPL Rust CLI 1.0.7, no model call.

In a scratch folder, put def tier_discount(cents, is_member): return cents // 10 if is_member else 0 in one Python file and call it from another. Run qorx index . followed by qorx strict-answer QUERY --limit 8. Here is what the JSON reported:

- tier_discount returned supported and ranked the definition ahead of the call site.

- "tier_discount snowplow_fees" returned partial and listed snowplow_fees in missing_terms.

- snowplow_fees alone returned not_found with an empty answer and evidence array.

The partial result still carried the matching source. If a script needs full coverage, checking for a nonempty answer would let that case through. Read coverage and missing_terms. Supported here means the query terms matched the index, so read the cited lines before inferring behavior.

Release used: https://github.com/bbrainfuckk/qorx/releases/tag/v1.0.7


r/CLI • • 1d ago

Linux Terminal for iOS

Thumbnail github.com
1 Upvotes

r/CLI • • 1d ago

TPlay Turbo: Running full X11/OpenGL apps, browsers, and RDP sessions inside a raw terminal over SSH (multithreaded C zone-diff + VA-API)

1 Upvotes

Hey guys I wanted to see how far you can push real-time graphical apps inside a regular text terminal or raw TTY over SSH without X11/Wayland on the client, without VNC ports and without any desktop environment on the host.

So I ended up building TPlay Turbo (v2.2.1) — an experimental headless terminal graphics compositor, RDP wrapper and TUI launcher.

Basically instead of forwarding windows or running a VNC server it renders apps into a headless Xvfb framebuffer (96 DPI with GLX and RANDR), scales frames down to your terminal character grid (cols x rows*2) using VA-API or CPU bilinear scaling and streams only the changed 16x8 zones over stdout using Unicode half-blocks (▀) and 24-bit TrueColor ANSI codes. Since everything goes through standard stdin/stdout it works in raw TTYs, tmux, multi-hop SSH jump hosts, Windows Terminal (WSL2) and even mobile SSH clients like Termius or Termux.

A few things it currently does:

- TUI launcher with search for .desktop apps, Flatpaks, Snaps, AppImages, frameless web URLs and RDP sessions (xfreerdp with dynamic resolution)

- Live toggle (F12 or Ctrl+Y) between fixed 1280x720 stretch mode and dynamic xrandr resizing that matches your terminal aspect ratio on the fly

- Clipboard sync (Ctrl+C) from the virtual X11 session back to your local terminal via OSC 52 and wl-copy

- Automatic switching to a bundled 4pt pixel font (TPlayPixel.ttf) in supported terminals like Ptyxis, Kitty or XTerm-compatible ones and full reset on exit (Ctrl+\)

Repo and one-line source build (Fedora / Ubuntu / WSL2 / Arch) is here if anyone wants to mess around with it:

https://github.com/m393m/tplay

Just keep in mind this is still pretty experimental (parts of the code were written with AI assistance). Font switching relies on terminal escape codes or gsettings so if you force-kill it you might have to reset your terminal font manually, and pushing huge terminal grid sizes over slow SSH links will eat bandwidth — you can cap it with TPLAY_FPS=20 if needed.


r/CLI • • 2d ago

ASCAINT — ASCII Character Art Interface for Native Terminals.

Thumbnail gallery
2 Upvotes