r/CLI • • 3d ago

Remote tool 4

Thumbnail gallery
1 Upvotes

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


r/CLI • • 3d 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 • • 3d 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 • • 4d 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 • • 5d ago Thanks Popcorn

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

156 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 • • 4d 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 • • 4d ago

Flow 0.51.0 is out!

Post image
0 Upvotes

r/CLI • • 4d 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 • • 4d ago

Linux Terminal for iOS

Thumbnail github.com
1 Upvotes

r/CLI • • 4d 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 • • 5d ago

ASCAINT — ASCII Character Art Interface for Native Terminals.

Thumbnail gallery
4 Upvotes

r/CLI • • 5d ago

A TUI client for Paseo: agent conversation, the branch's diff and its PR state on one screen

Post image
0 Upvotes

r/CLI • • 5d ago

Sping – a modern ping for humans

Thumbnail reddit.com
1 Upvotes

r/CLI • • 5d ago

Agents_control: Independent agents control from telegram bot (your own). No opened ports into internet. Open sourced. Free.

0 Upvotes

I’ve built the tool for myself and am using it every day.

All the tabs from iTerm or Tmux will be shown in your own Telegram bot (you should create it and set it up). Nobody can access your terminal because it will answer only to your Telegram account.

/tabs for tabs list
/run N make this feature for me
/screen N to see what happened

You can also use it without any ai agents:
/run N ls (context switched to tab N here and you can continue without command)
git st
git log
cd ../
…

You can send files, voice messages, screencasts, logs, files directly to your agent (any agent, not only claude or openai)

But for Claude it will automatically continue after limits reset. And automatically will trigger the limits window.

You can install it yourself or ask your ai agent to do it for you. Also it available as a ruby gem.

https://agentscontrol.278labs.co.uk
https://github.com/saparjohnick/agents_control


r/CLI • • 5d ago

made a termux tool that checks your code for llama.cpp 1.0 breaking changes before you get burned by them

0 Upvotes

llama.cpp hit 1.0 a few days ago and quietly dropped a bunch of stuff people's scripts depend on, a few functions gone, a flag removed, a header that moved. went looking for something that'd just scan my code and tell me what's gonna break and couldn't find anything, so i built it instead.

its called llamadoctor, one python file, no deps, runs fine in termux since thats literally where i wrote the whole thing on my phone. point it at a folder and it tells you whats broken, severity sorted, links to the actual github PR for each one so your not just trusting some random script. if theres an easy mechanical fix it offers to do it for you, asks first obviously, and refuses to touch anything if your git tree is dirty unless you force it.

install is just(after cloning ofc.):

pip install -e .

llamadoctor yourfolder

repo's here if anyone wants to poke at it or tell me what i missed, pretty sure theres edge cases i haven't hit yet since i only had my own stuff and some test projects to throw at it

github.com/hunzo1/llamadoctor


r/CLI • • 5d ago

Terminal Clubhouse Update! Watch live NetHack / DCSS / Brogue runs, Zork, new daily puzzles, and YouTube inside your terminal :)

Thumbnail gallery
1 Upvotes

As always, first a reminder of what we are ;) A clubhouse inside the terminal. A place to take a break, chat with people around the globe, listen to music and play a game.

ssh late.sh

Three biggest things since my last post:

1. New games, and you can watch them live

  • Spectate: watch anyone's NetHack, DCSS or Brogue run live, read-only. Every player has their own watch chat, so you can backseat them while they die.
  • Zork I, II and III. Microsoft open-sourced them, so we added them. (100% done by a contributor)
  • Realm, a slow strategy game for 2 to 10 players on one shared map. Real Earth one season, a generated world the next. You write your orders during the day and they all resolve at night. (also a contributorr)
  • cribbage and gin rummy, one move a day, next to chess, backgammon and pool

2. The Arcade got daily puzzles

  • four new ones: Netwalk, Chess Puzzle (real Lichess puzzles), Word Wheel and Quartets
  • a puzzle of the day, the same one for everyone. Solve it and you get a star next to your name
  • streaks: win any daily and you get a moon next to your name. It grows at 3, 7, 30 and 100 days

3. Watch and read in the terminal

  • YouTube links play inside the terminal now, from chat or from the news feed. Pause, seek, fullscreen, and it remembers where you stopped. (needs our CLI, mpv and a Kitty graphics terminal)
  • press Enter on a news story and it opens as plain text in a full-screen reader

And the smaller stuff: Home is all tiles now with nine saved layouts, 21 radio stations instead of 5, a world map of where everyone is from, a shared calendar, and a bartender who remembers your usual.

Hop in, chill and enjoy :)

License: FSL-1.1-MIT

Code: https://github.com/mpiorowski/late-sh

Landing: https://late.sh


r/CLI • • 6d ago

chroma.nvim – a lightweight Lua theming engine for Neovim with 99 built-in themes

Thumbnail gallery
82 Upvotes

Hey everyone,

I spent the last few days building chroma.nvim, a lightweight theming engine for Neovim 0.9+ that I just released (v0.1.0).

I wanted the NvChad/base46 colorscheme ecosystem without needing the whole NvChad setup. The idea is simple: every highlight group (syntax, Treesitter, LSP, semantic tokens, and 20+ plugins) is generated from a small palette table, so one theme file styles your whole editor consistently.

What's included:

  • 99 themes out of the box — monokai-fusion (shown in the screenshot) plus 98 palettes from base46, and you can drop in any base46-compatible palette file.
  • Telescope picker (:Chroma pick) with palette swatches and live preview as you scroll through themes.
  • Plugin integrations for Lualine, Telescope, Neo-tree, Snacks, nvim-cmp, Bufferline, Noice, Which-key, Gitsigns, Mason, and more.
  • Transparency & overrides — toggle transparent backgrounds globally or just for Lualine, and override any highlight group with a table or a function(palette, theme).
  • Persistence — remembers your last chosen theme across restarts (:Chroma reset goes back to your default).

Want to add your own theme?

Because themes are just a single palette file, making one takes a few minutes. If you have a favorite colorscheme or custom palette you'd like to share, feel free to open a PR and add it to the collection—the Theme guide walks through the schema and how to test it.

Repo: https://github.com/Malick-Tammal/chroma.nvim

Would love any feedback, bug reports, or new themes!


r/CLI • • 5d ago

brepl: browse the web from a REPL, together with your AI agent

0 Upvotes

There are tons of browser automation tools out there, yet I couldn't find a plain, simple REPL to browse the web from the shell. So I built one, and it feels a lot like a debugger: brepl.

Here's how it works: you start it with ./brepl.py (you just need uv installed) and you get a command line. Under the hood it runs a headless Chrome, which you normally never see.

Most of the time you browse without looking at anything, straight from the command line. For the cases where you do need to interact, the @ command shows the browser window, which is handy for logging in to the various services. brepl keeps a browser profile, so your logins persist across sessions.

Say I want to browse Reddit from the command line: I run ./brepl.py reddit.com, type @ right away and log in. From then on, I can do everything from the command line.

I go to g /r/commandline and grab the page with p. If your terminal supports graphics, the page is shown inline, and it's also saved as page1.png (that's the first part; p 0 gives you all of them, p 3 the first three). Feeling lazy? G is a g immediately followed by a p.

The screenshot highlights links (green) and buttons (red), both numbered, and input fields (blue) labeled with their name.

So you can follow a link by its number: g 13 opens the link marked 13. You can also click buttons and fill in fields: c 3 clicks button 3, c login user=me pw=secret fills in the login form and clicks "login", and s q=python types "python" into the q field and submits it.

All of this makes it really easy to build automations interactively and then have an AI run them. The REPL is also an MCP server that agents can talk to: on startup it writes a .mcp.json and an AGENTS.md that tell the agent how to use it.

So the same commands can be run by an AI agent like Claude.

I usually run it in a VS Code terminal: I browse, mixing commands I type myself with the AI handling the repetitive work, and then I write specs that use those commands to describe the automations.

NOTE the repl is an http agent so it must be active to use it from your agent. I usually have it open and work together command line and on the agent in parallel, an I use vscode as glue and to see easily images.

This lets me build scrapers, checkers and other tools in a fraction of the time, just by trying things out. And example is in folder check where I built a tool to check frequent accounts.

There are many other features, just check the README on github.

The project is on github.com/msciab/brepl, and it is released under the Apache 2.0 license.


r/CLI • • 6d ago

therapist 0.2.0: a terminal log viewer - just in case your system needs some therapy

9 Upvotes

For those who aren't familiar with it yet: The therapist app can act as a “therapist” for your system. It helps diagnose system problems by analyzing the app's logs - so it is basically a log viewer in the terminal (but at least it has cool features and is pleasant to use).

When I was developing therapist, I thought I would be the only one using it. To my surprise, it turned out that a few other people had tried it as well. They even sent me their feedback (lol). So I decided to make a few improvements.

Most important stuff in the new in 0.2.0:

  • Inverted grep. Space v opens a tab with the lines that don't contain a phrase, so you can drop the noise before you start reading. It cascades like a normal grep.
  • The terminal is restored when the app is killed (SIGTERM, SIGHUP, SIGINT), even while it's suspended with Ctrl-z.
  • Lower memory use and faster grep on large files.
  • A more user-friendly README.

Repo: https://github.com/M-Komorek/therapist


r/CLI • • 5d ago

vibecoded SIMPLE text editor

Thumbnail reddit.com
0 Upvotes

r/CLI • • 6d ago

blood shell - a shell and scripting language that outperforms ksh, fish and elvish by up to 120x

Thumbnail github.com
10 Upvotes

You can find it in the link.


r/CLI • • 6d ago

KetraTerm 1.0 is out! A terminal with smart suggestions, sticky headers, and modern terminal support

0 Upvotes

Hey everyone!

I've just released KetraTerm 1.0, an open-source terminal emulator I've been building in Kotlin.

It's a modern terminal designed for both everyday shell usage and demanding terminal applications, with support for Kitty keyboard, partial Kitty graphics, Unicode 17, TrueColor, hyperlinks, synchronized output, and more.

I've also been building features to make working in the terminal more convenient:

  • Smart suggestions: Complete commands, arguments, paths, and Git branches. The engine can also learn from successfully executed commands and previous choices.
  • Sticky command headers: Keep track of which command produced the output you're scrolling through.
  • Command navigation: Jump between commands, select blocks, and copy their output.
  • Customizable prompts: Gutters, dividers, and visual indicators for failed commands.
  • Notifications: Get alerted when long-running commands finish, with support for terminal notifications and progress reporting.

I've put a lot of effort into performance, particularly responsiveness and reducing memory allocations.

KetraTerm is available as a desktop terminal for Windows, macOS, and Linux, a JetBrains IDE plugin, and reusable Kotlin/JVM libraries for applications that want to embed their own terminal.

The project is open source under Apache 2.0, and I'm continuing to improve compatibility, performance, and the overall experience.

I'd really appreciate feedback, especially from people using complex TUIs or coding agents. I'm also curious what features you'd like to see in a modern terminal!

Website / Downloads: https://ketraterm.github.io/KetraTerm/

GitHub: https://github.com/ketraterm/KetraTerm

JetBrains plugin: https://plugins.jetbrains.com/plugin/32589-ketraterm/


r/CLI • • 6d ago

What 27" to get late 2026 if optimizing for terminal work ?

Thumbnail reddit.com
2 Upvotes