Remote tool 4
galleryRemote tool 4 is to see active inet connections on the remote machine. Also shows selected processes.
Remote tool 4 is to see active inet connections on the remote machine. Also shows selected processes.
Tool 3 is for web scraping. Used to scrape links and the source of the image from websites.
Tool 2 is for creating files, appending files, copying files remotely. I'm still working on being able to move files.
r/CLI • u/SuitEvening48 • 4d ago
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
•
u/Arch-r007
•
5d ago
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
r/CLI • u/SuitEvening48 • 4d ago
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 • u/Separate_Jacket2133 • 4d ago
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 • u/Dry_Razzmatazz9220 • 4d ago
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 • u/Technical_Chip5906 • 5d ago
r/CLI • u/achintya22 • 5d ago
r/CLI • u/Other_Turnover_4758 • 5d ago
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 • u/kengeren • 5d ago
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 • u/Bl4ckBe4rIt • 5d ago
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.shThree biggest things since my last post:
1. New games, and you can watch them live
2. The Arcade got daily puzzles
3. Watch and read in the terminal
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 • u/Empty_Salamander_183 • 6d ago
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:
monokai-fusion (shown in the screenshot) plus 98 palettes from base46, and you can drop in any base46-compatible palette file.:Chroma pick) with palette swatches and live preview as you scroll through themes.function(palette, theme).: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 • u/msciabarra • 5d ago
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 • u/markom_1 • 6d ago
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:
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.Ctrl-z.r/CLI • u/Smooth-Suspect8545 • 6d ago
You can find it in the link.
r/CLI • u/gagik894 • 6d ago
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:
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 • u/ethertype • 6d ago