r/CLI • • 2h 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

9 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 • • 37m ago

TTP 0.5.1: route all Linux traffic through Tor with nftables

Thumbnail github.com
1 Upvotes

I maintain TTP (Transparent Tor Proxy). It's a small CLI tool that sends all of your system's traffic through Tor using nftables rules, so you don't have to configure each application one by one.

With the 0.5 releases I wanted TTP to report only what it can actually verify. Status and checks now tell you what was observed and when, instead of assuming everything is fine. If the watchdog can't prove it's running, ttp start fails. If something goes wrong during a session, traffic stays blocked until you stop it yourself.

To test the release, I ran it in VMs and captured packets from outside the guest. That turned up a few leaks I hadn't seen before, for example some FIN/RST packets that left in cleartext after stopping. They're fixed now.

If you try it, I'd like to hear how it goes.

https://github.com/onyks-os/TransparentTorProxy


r/CLI • • 38m ago

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

1 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 • • 2h ago

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

1 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 • • 4h 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 • • 5h 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 • • 1d ago

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

Thumbnail gallery
36 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 • • 9h ago

vibecoded SIMPLE text editor

Thumbnail reddit.com
0 Upvotes

r/CLI • • 21h ago

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

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

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

Thumbnail github.com
8 Upvotes

You can find it in the link.


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

The third released update of my fetch 3.9.0!

Post image
0 Upvotes

I've been working on a system information tool called NISFETCH, written in C11. This is the 3.9.0 release. It supports Linux and Android/Termux, features 163 modules, custom PNG logos, and 7 themes. I recently tested it on Debian 12 and it ran perfectly without bugs. It was inspired by Fastfetch, but no source code was used. You can check the GitHub repo here:https://github.com/Nisve051/nisvefetch . I'd love to get some feedback from the community!

(I will be grateful to those who test it on their system)


r/CLI • • 1d ago

I built a opensource TUI Proxy Client on Go

Thumbnail github.com
2 Upvotes

r/CLI • • 1d ago

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

Thumbnail reddit.com
1 Upvotes

r/CLI • • 1d ago

Alternative CLI+IDE terminal (Opus x Neon workflows)

Thumbnail reddit.com
1 Upvotes

r/CLI • • 2d ago

Inifra - A Rust CLI for managing reusable project templates and conventions

33 Upvotes

I kept recreating the same project files whenever I started a new repository. README files, agent instructions, contribution guidelines, and documentation were often copied from older projects and modified all over again.

I wanted something that made these conventions reusable without forcing every project into the same structure. That's what led me to build Inifra, an open-source Rust CLI.

It currently supports:

  • Interactive template selection and generation.
  • Built-in and customizable templates.
  • Reusable presets for different project setups.
  • Personal, project-local, and Git-based template catalogs.
  • Safe previews and conflict handling.
  • Optional AI assistance.

I built Inifra using AI coding agents, focusing mainly on how the tool should work, feel, and evolve. I've tried to get the most out of these tools, but there's still plenty to improve.

It's currently at v0.7.0, and I'd appreciate feedback on the terminal experience, template customization, and anything you think could be improved.

GitHub: https://github.com/Slyverr/inifra


r/CLI • • 1d ago

[Linux-Tool] MintApp Remover 2.2.0. Single-file Bash script that uninstalls preinstalled apps and cleans up leftovers & more, with apt, dnf, pacman, zypper, Flatpak and Snap, terminal first, Zenity windows optional. Hardcore test suite

Thumbnail gallery
0 Upvotes

Hi terminal lovers! (like me)

I'm back after a pretty wild and interesting journey. I've brought you a little gift, especially for those of you who are real experts and love digging deep under the hood!

MintApp Remover, version 2.2.0. It's a single Bash script, in English and Spanish, that lives in the terminal (Zenity windows are optional). It's not an "optimizer" and it doesn't promise miraculous gigabytes: it only removes what you choose, with no surprises but with deeply configuration. All the info and documentation is in the repository.

What does MintApp Remover do?

- Real plan before removing anything: it runs the package manager's own simulation (apt-get -s purge on apt systems) and shows you the plan as it is, dependents included. The default answer is "no", and the plan is checked again before it asks for your password. If the plan would also remove meta-packages (the ones that hold a whole desktop together), it warns you and asks a stronger question.

- Catalog and advanced mode: you pick from a checklist, and the catalog follows your desktop (Cinnamon, GNOME, KDE Plasma, XFCE and MATE). The advanced mode finds applications outside the catalog by scanning the menu launchers (.desktop files). Flatpak and Snap apps show up there too, each with its own plan, confirmation and record.

- Cleanup: it removes leftover dependencies and has a deep cleanup for waste files, caches and logs, at two levels (simple and complete), always showing what and how much first. Its catalog follows BleachBit's cleaners, adapted.

- Security: it runs as a normal user and asks for your password only when it really has to change something. Every removal leaves a private record with the command to reinstall it. The cleanup doesn't touch your documents, your settings or your browser profiles, and it never deletes open files.

- Beyond apt: I developed it on Linux Mint (apt), but it also supports dnf 4 (Fedora, RHEL), pacman (Arch) and zypper (openSUSE). The tests run the real rpm, dnf, pacman and zypper against fake roots. With dnf the password is asked before the plan is shown (dnf won't calculate one without admin rights). dnf 5 (Fedora 41 and later) is not supported: the script detects it and stops with a clear message.

- Terminal first: it needs Bash 4.3 or newer and no other dependency besides the package manager (whiptail and zenity are optional). It runs in the terminal with its own dialogs, whiptail or a plain-text menu (MINTAPP_UI=text), and opens Zenity windows only if you ask for them or there is no terminal. It respects NO_COLOR and falls back to plain ASCII when the locale is not UTF-8. With "install" it puts a command, a menu launcher and the icon in your own folders, with no sudo.

- Tests: over 7,700 checks that run in a sandbox with stand-ins for apt, dpkg and sudo, so they never touch the real system. ShellCheck 0.11.0 allows no findings, and the same checks run on GitHub Actions.

* MintApp Remover Repo: https://github.com/Filonux/mintapp_remover

If you try it on other desktops or on Fedora, Arch or openSUSE, feedback and bug reports are very welcome.


r/CLI • • 2d ago

I made a CLI tool for agents to download movie clips from dialogues

Post image
16 Upvotes

r/CLI • • 2d ago

Construí Blink, una herramienta de CLI para detectar problemas de calidad de datos antes de que se vuelvan un problema

Post image
0 Upvotes

¡Hola a todos!

He estado trabajando en Blink, una pequeña herramienta de CLI de Python de código abierto que ayuda a detectar problemas de calidad de datos en archivos CSV, TSV y Parquet.

Revisa valores faltantes, duplicados, valores atípicos y tipos de datos inconsistentes. También permite comparar datasets, detección opcional de anomalías basada en ML y reportes en JSON.

Todo se ejecuta localmente sin modificar tus archivos originales.

GitHub: https://github.com/Gianni300x/blink

De verdad agradecería cualquier feedback o sugerencia.

Si te sirve Blink, considera dejar una ⭐ en el repositorio o seguirme en GitHub. ¡Significaría mucho!

¡Gracias por echarle un vistazo!


r/CLI • • 2d ago

Construí Blink, una herramienta de CLI para detectar problemas de calidad de datos antes de que se vuelvan un problema

Post image
0 Upvotes

r/CLI • • 2d ago

Stash 1.0.0 is here

Post image
0 Upvotes

r/CLI • • 2d ago

The first beta version of the tawjih package (version 0.13.1) is now available on PyPI!

Thumbnail reddit.com
1 Upvotes

r/CLI • • 2d ago

NetWatch 1.0: terminal network monitor with a stable CLI/JSON contract and ISP outage reports

Post image
11 Upvotes

NetWatch 1.0 is out. It's an MIT-licensed network monitor in Rust that shows connections, bandwidth, latency and decoded packets in one terminal. One binary, no config needed.

New since 0.40:

- **ISP outage reports.** `netwatch uptime --since 30d --md > outages.md` splits outages into router, internet and DNS. The internet counts as down only when 1.1.1.1 and 8.8.8.8 both stop answering.

- **Diagnose.** Names the likely cause of a network problem and the step to run. Five rules are stable, the rest are beta.

- **Command palette.** `:` opens it. `Esc` steps back out of a drill-down.

- **Fits 80 columns.** Tables drop columns instead of clipping.

- **Packet filters** take CIDR ranges and `!=`.

- **Headless mode.** `netwatch daemon --metrics` serves Prometheus metrics.

Subcommands, long flags, config keys, JSON outputs and Prometheus metric names won't break before 2.0, and no 2.0 is planned. The [stability policy](https://github.com/matthart1983/netwatch/blob/main/STABILITY.md) lists what's covered.

Runs on Linux, macOS, Windows (needs Npcap) and FreeBSD.

brew install netwatch

scoop install netwatch

cargo install netwatch-tui --locked

More install options in the [README](https://github.com/matthart1983/netwatch#install). Binaries on the [release page](https://github.com/matthart1983/netwatch/releases/tag/v1.0.0). [Changelog](https://github.com/matthart1983/netwatch/blob/main/CHANGELOG.md).

Thanks to everyone who sent patches, packaged it or reported bugs. If something breaks, open an issue.

About 190 words, down from 370. I cut the "not monitored" detail, the JSON schema sentence, the per-platform caveats and the filter examples.


r/CLI • • 3d ago

Windowrun – a small fzf-based app launcher for the terminal, written in Go

22 Upvotes

I know there might be other projects doing the same, but this is my take and the one I choose to run everyday, and I believe some will also find it attractive.

I was never fully happy with the usual ways of launching apps from the terminal and couldn't find an option that satisfied my needs, so I started building a shell + Python script that used fzf. It grew into Windowrun, and I’ve just rewritten it in Go and released 1.0.

Most launchers need configuration to have a nice TUI-style, and it was hard customizing the list shown on them. Windowrun finds .desktop entries instead of binaries in PATH. This way, you can attach keywords in the end or exclude apps through the config, rename your app (editing the .desktop) and freedom to make your .desktop entries to launch whatever you want, and they appear on the listing.

Windowrun is focused on being simple, fast and small: it’s 3.1 MiB compiled release (a Go hello world is already about 1.5 MiB because of the GC and other stuff), and it’s noticeably faster than the old shell + Python version.

Requires fzf and installation guidance can be found in the README in the repository.

Repo: https://github.com/lucas-farias07/windowrun

AI DISCLOSURE: Parts of the Go rewrite were AI-assisted, using LLMs (Claude) to find libraries for my needs and sketch parts of the system. The final code is my own: I finished, reviewed and tested it myself. I should also say that I only used it to sketch the load.go file, nothing else.

Thanks to u/redhat_is_my_dad for helping with designing file search of the old script+python version too. Definitely helped me to design the go version.

Feedback and issues are welcome (but be kind, I am new to golang). There will be more features being added once I get more used to the language.