r/CLI • u/AccidentSea3911 • 7h ago
r/CLI • u/PedroLaRosa • 8h ago
TabSmith: Cross-platform Fig-like CLI autocompletion and subcommand dropdown that run anywhere
r/CLI • u/Silva-Engineer • 10h ago
Do you let CLI tools load config from a repo you just cloned?
mise trusts a project's config on its own when you run it in a terminal, and that config can run code. Paranoid mode ties trust to the file's contents, so an edited file needs trust again. For repos you didn't write, do you trust per folder, per file hash, or ignore repo config and keep rules in your home dir?
r/CLI • u/Caiozinn7 • 12h ago
dns-race — a CLI that races your DNS resolvers against each other (written in Rust)
Hi everyone! I've been building
dns-race
, a small open-source CLI tool written in Rust, and I'd love some feedback.
What it does
Ever wondered which DNS resolver is actually the fastest
for you
— 1.1.1.1, 8.8.8.8, 9.9.9.9, your ISP's, or a self-hosted one? dns-race fires concurrent DNS queries at multiple resolvers, measures the
latency of each response, picks the fastest one, and — the interesting part —
detects when resolvers disagree
on the answer.
Example output:
```text
Querying A records for github.com. from 3 resolver(s) (timeout 2000 ms)
✓ 1.1.1.1:53 12.14 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 2s)
✓ 8.8.8.8:53 144.34 ms ████████████████████ [4.228.31.150] (min TTL: 60s)
✓ 9.9.9.9:53 12.05 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 34s)
Fastest resolver: 9.9.9.9:53 (12.05 ms)
```
Features
•
Concurrent A/AAAA queries over UDP to any resolvers you want (
IP
or
IP:port
, IPv4 and IPv6)
•
Per-query latency measurement with configurable timeout
•
Multiple benchmark rounds (
--rounds
) with min/avg/max stats per resolver
•
Divergence detection: it normalizes the answer sets and flags resolvers that return different IPs (useful to spot CDN/load-balancing behavior — or something fishy)
•
Human-readable terminal output with latency bars and colors, plus a stable
--json
mode for scripts and CI/CD (with proper exit codes: 0 = ok, 3 = divergent answers, etc.)
•
Handles NXDOMAIN correctly as a valid negative response instead of an error
Tech stack:
Rust + Tokio (async), Clap, and Hickory Proto for DNS packet construction/parsing. MIT licensed.
Current status:
Phase 1 — developed and validated on Linux only. Windows and macOS support are planned as separate phases, and cross-platform distribution (CI/CD, releases) comes after that. There are no
pre-built binaries yet; you build from source with
cargo build --release
.
It's still in development, so feedback, bug reports, and contributions are very welcome!
Repo:
https://github.com/Caio13Vinni/dns-race
What do you think? Is there a feature you'd expect from a tool like this (DoH/DoT? latency percentiles?) that would make it more useful to you? Hi everyone! I've been building dns-race, a small open-source CLI tool written in Rust, and I'd love some feedback.
What it does
Ever wondered which DNS resolver is actually the fastest for you — 1.1.1.1, 8.8.8.8, 9.9.9.9, your ISP's, or a self-hosted one? dns-race fires concurrent DNS queries at multiple resolvers, measures the
latency of each response, picks the fastest one, and — the interesting part — detects when resolvers disagree on the answer.
Example output:
```text
Querying A records for github.com. from 3 resolver(s) (timeout 2000 ms)
✓ 1.1.1.1:53 12.14 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 2s)
✓ 8.8.8.8:53 144.34 ms ████████████████████ [4.228.31.150] (min TTL: 60s)
✓ 9.9.9.9:53 12.05 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 34s)
Fastest resolver: 9.9.9.9:53 (12.05 ms)
```
Features
• Concurrent A/AAAA queries over UDP to any resolvers you want (IP or IP:port, IPv4 and IPv6)
• Per-query latency measurement with configurable timeout
• Multiple benchmark rounds (--rounds) with min/avg/max stats per resolver
• Divergence detection: it normalizes the answer sets and flags resolvers that return different IPs (useful to spot CDN/load-balancing behavior — or something fishy)
• Human-readable terminal output with latency bars and colors, plus a stable --json mode for scripts and CI/CD (with proper exit codes: 0 = ok, 3 = divergent answers, etc.)
• Handles NXDOMAIN correctly as a valid negative response instead of an error
Tech stack: Rust + Tokio (async), Clap, and Hickory Proto for DNS packet construction/parsing. MIT licensed.
Current status: Phase 1 — developed and validated on Linux only. Windows and macOS support are planned as separate phases, and cross-platform distribution (CI/CD, releases) comes after that. There are no
pre-built binaries yet; you build from source with cargo build --release.
It's still in development, so feedback, bug reports, and contributions are very welcome!
Repo: https://github.com/Caio13Vinni/dns-race
What do you think? Is there a feature you'd expect from a tool like this (DoH/DoT? latency percentiles?) that would make it more useful to you? Hi everyone! I've been building
dns-race
, a small open-source CLI tool written in Rust, and I'd love some feedback.
What it does
Ever wondered which DNS resolver is actually the fastest
for you
— 1.1.1.1, 8.8.8.8, 9.9.9.9, your ISP's, or a self-hosted one? dns-race fires concurrent DNS queries at multiple resolvers, measures the
latency of each response, picks the fastest one, and — the interesting part —
detects when resolvers disagree
on the answer.
Example output:
```text
Querying A records for github.com. from 3 resolver(s) (timeout 2000 ms)
✓ 1.1.1.1:53 12.14 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 2s)
✓ 8.8.8.8:53 144.34 ms ████████████████████ [4.228.31.150] (min TTL: 60s)
✓ 9.9.9.9:53 12.05 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 34s)
Fastest resolver: 9.9.9.9:53 (12.05 ms)
```
Features
•
Concurrent A/AAAA queries over UDP to any resolvers you want (
IP
or
IP:port
, IPv4 and IPv6)
•
Per-query latency measurement with configurable timeout
•
Multiple benchmark rounds (
--rounds
) with min/avg/max stats per resolver
•
Divergence detection: it normalizes the answer sets and flags resolvers that return different IPs (useful to spot CDN/load-balancing behavior — or something fishy)
•
Human-readable terminal output with latency bars and colors, plus a stable
--json
mode for scripts and CI/CD (with proper exit codes: 0 = ok, 3 = divergent answers, etc.)
•
Handles NXDOMAIN correctly as a valid negative response instead of an error
Tech stack:
Rust + Tokio (async), Clap, and Hickory Proto for DNS packet construction/parsing. MIT licensed.
Current status:
Phase 1 — developed and validated on Linux only. Windows and macOS support are planned as separate phases, and cross-platform distribution (CI/CD, releases) comes after that. There are no
pre-built binaries yet; you build from source with
cargo build --release
.
It's still in development, so feedback, bug reports, and contributions are very welcome!
Repo:
https://github.com/Caio13Vinni/dns-race
What do you think? Is there a feature you'd expect from a tool like this (DoH/DoT? latency percentiles?) that would make it more useful to you? Hi everyone! I've been building dns-race, a small open-source CLI tool written in Rust, and I'd love some feedback.
What it does
Ever wondered which DNS resolver is actually the fastest for you — 1.1.1.1, 8.8.8.8, 9.9.9.9, your ISP's, or a self-hosted one? dns-race fires concurrent DNS queries at multiple resolvers, measures the
latency of each response, picks the fastest one, and — the interesting part — detects when resolvers disagree on the answer.
Example output:
```text
Querying A records for github.com. from 3 resolver(s) (timeout 2000 ms)
✓ 1.1.1.1:53 12.14 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 2s)
✓ 8.8.8.8:53 144.34 ms ████████████████████ [4.228.31.150] (min TTL: 60s)
✓ 9.9.9.9:53 12.05 ms ██░░░░░░░░░░░░░░░░░░ [4.228.31.150] (min TTL: 34s)
Fastest resolver: 9.9.9.9:53 (12.05 ms)
```
Features
• Concurrent A/AAAA queries over UDP to any resolvers you want (IP or IP:port, IPv4 and IPv6)
• Per-query latency measurement with configurable timeout
• Multiple benchmark rounds (--rounds) with min/avg/max stats per resolver
• Divergence detection: it normalizes the answer sets and flags resolvers that return different IPs (useful to spot CDN/load-balancing behavior — or something fishy)
• Human-readable terminal output with latency bars and colors, plus a stable --json mode for scripts and CI/CD (with proper exit codes: 0 = ok, 3 = divergent answers, etc.)
• Handles NXDOMAIN correctly as a valid negative response instead of an error
Tech stack: Rust + Tokio (async), Clap, and Hickory Proto for DNS packet construction/parsing. MIT licensed.
Current status: Phase 1 — developed and validated on Linux only. Windows and macOS support are planned as separate phases, and cross-platform distribution (CI/CD, releases) comes after that. There are no
pre-built binaries yet; you build from source with cargo build --release.
It's still in development, so feedback, bug reports, and contributions are very welcome!
Repo: https://github.com/Caio13Vinni/dns-race
What do you think? Is there a feature you'd expect from a tool like this (DoH/DoT? latency percentiles?) that would make it more useful to you? r/CLI • u/JoyBoy_N1ka • 13h ago
Can i get some help testing my open-source project? (On Windows & MacOs)
github.comMy repo is only about 3 weeks old and still maturing, so I’m looking for Windows, macOS, and general testers to try it and report any bugs or rough edges.
Repo: https://github.com/JlassiRafet/IGris.
Feedback in the issues or comments is very welcome, thanks! :3
r/CLI • u/ssa17dev • 13h ago
I built a pi extension that replaces the footer with live session stats + a context bar
r/CLI • u/the__repeat • 14h ago
I built a small Mac CLI so Codex / Claude Code / Cursor can use API keys without seeing them
Hice Bether, un gestor de marcadores para la terminal en Python + SQLite — busco feedback, ideas y que me ayuden a romperlo
Hola a todos,
Estuve desarrollando Bether, un gestor de marcadores (bookmarks) pensado para usarse 100% desde la terminal, sin cuentas, sin nube y con todo guardado localmente en SQLite.
La idea nació porque quería guardar enlaces rápido mientras trabajo o estudio, separarlos por contexto mediante workspaces y etiquetas, y filtrarlos sin tener que abrir el navegador. Permite guardar la misma URL en distintos workspaces, combinar filtros de búsqueda, llevar un registro local de operaciones y abrir enlaces directamente en el navegador.
El proyecto sigue en desarrollo activo y me gustaría que lo prueben y me den su opinión sincera. Si encuentran errores o casos raros donde falle, me vendría genial saberlo. También me interesa escuchar qué les parece la sintaxis de comandos y qué funciones echarían de menos en el día a día.
El repositorio con toda la documentación e instalación está en GitHub: https://github.com/tebadev/Bether
Cualquier crítica, bug o sugerencia es bienvenida. ¡Gracias!
r/CLI • u/Amandot20 • 15h ago
I got tired of spending 30+ minutes setting up every cloned repo, so I built a CLI that does it: npx devset
The problem: Cloning a repo is the easy part. Then comes figuring out the frontend and backend folders, which package manager is used, creating a Python venv, installing dependencies, checking the .env and working out how to start everything.
What I built: DevSet is an open-source CLI. After you clone a repo, you run:
npx devset
It then:
- Scans the project (skips
node_modules,.venv,.git, doesn't follow symlinks) - Detects languages, frameworks and package managers from files and lockfiles (React, Django, Python, Node, npm/pnpm/yarn/bun)
- Builds a setup plan and asks for your confirmation before changing anything
- Creates the Python virtual environment and installs frontend and backend dependencies
- Prepares a single command to launch your services
How it works:
- Detection is rule-based and deterministic. No AI and no network calls during analysis. (Installing packages still talks to npm/PyPI, as usual.)
--dry-runpreviews the plan without touching anything- It checks
.envvariable names without showing values, and never overwrites an existing.env - Other commands:
analyze,setup,doctor,run,clean
I made a 30-second demo video (attached).
- Website: https://dev-set.vercel.app/
- GitHub: https://github.com/Amandot/devset
It's early and I'd really like feedback. Which stacks should I support next? What would stop you from trusting a tool like this on a new repo?
r/CLI • u/JoeStrout • 15h ago
Want a bash-like shell for Mini Micro?
reddit.comCross-posting from r/MiniScript, but since that's probably unfamiliar to most people here, let me add some context:
MiniScript is a relatively new (2017) scripting language, designed to be small and simple yet with modern constructs like lists, maps, first-class functions, and OOP. MiniScript can be used on the command line, but there's also Mini Micro, a retro-styled virtual computer — think something along Apple II or Commodore 64 lines, but substantially more powerful and based on the MiniScript language instead of BASIC.
The standard command-line environment of Mini Micro is MiniScript itself, which means that you have to quote file names/paths, because they're just string literals. mash offers an alternative: the syntax is bash-like, including command chaining, stdin/stdout, pipes, etc. It includes a few small built-ins, and the rest of the commands are small MiniScript programs.
Hope that clears up any confusion... feel free to hit me with questions!
r/CLI • u/programmersd21 • 18h ago
i've been working on flow, and it just hit 4k downloads and 472 stars! :)
r/CLI • u/SyrupHappy3145 • 21h ago
tie: a mouse-friendly terminal IDE for people who don't want to learn Vim
tie is an IDE for people who live in the terminal but don’t want to learn Vim. Tabs, a file explorer, autocomplete, go to definition and the rest of the basics work out of the box, all with mouse support. One small binary, nothing to configure.
What it does
- One command palette for files, commands, settings, symbols, tabs, lines and project-wide search
- Language servers: autocomplete, hover docs, ctrl+click to go to definition, errors in the gutter
- Git: changed lines in the gutter, branch in the footer, diff view
- Markdown and JSON previews; images and GIFs (Ghostty, cmux)
- Live syntax themes, every keybinding changeable from the settings panel
- One small Go binary, nothing to configure
MacOS only for now. It works best in Ghostty, cmux and somewhat iTerm2. Other terminals may misbehave.
I'm looking for people to use it, or to help build it. 🙂 If you try tie, tell me what feels off or what you miss. If you'd like to contribute, issues and pull requests are very much welcome!
➡️ GitHub
r/CLI • u/smanookian • 1d ago
Calinator: a terminal calendar in Rust with two-way Google, iCloud and CalDAV sync, plus a JSON command line
I wanted my calendar in the terminal without a browser tab, and in sync with my phone. So I wrote Calinator in Rust (ratatui).
- Day, week, month and agenda views; quick add in plain words ("dentist fri 3pm")
- Two-way sync: Google (one sign-in in the browser), iCloud, any CalDAV server
- Works offline; edits wait and sync later; a clash keeps both versions
- Repeating events: change this one, this and following, or all
- Invites, reminders as desktop notifications (also with the app closed), time zones
And a command line for scripts, with --json everywhere:
calinator agenda --days 3
calinator events create "lunch with Sarah tomorrow 1pm"
calinator search dentist --json
calinator --bar (next event for Waybar)
Similar programs: calcurse (great local calendar, CalDAV sync is a separate script), khal with vdirsyncer (two tools to set up,
and your own Google API keys), gcalcli (Google only, no TUI). Calinator does views, sync and the command line in one program.
Most of the code was written with an AI coding assistant; I designed it, reviewed it and tested it with my own calendars.
Linux x86_64, MIT: https://github.com/smanookian/calinator
I hope to see you next time. Steve out. Tschau!
r/CLI • u/shuruilimbu • 1d ago
Introducing BitShade: Playing Videos Directly in Your Terminal
r/CLI • u/KirillYetAnother • 1d ago
Huntclaw - Fast find-and-replace tool (now with regex, v1.x release)
galleryI gave my repos their own notification sounds
In one of my repos I can run this once:
yourturn sound done gong --here
Now I hear a gong when Claude Code or Codex finishes in that repo, even if I started it from a subdirectory. I wrote yourturn because I kept walking back to check my terminal. Giving each project a different sound turned out to be the part I liked most.
r/CLI • u/patrick4urcloud • 1d ago
RTK 1.3
Hi,
RTK 1.3 is out.
Lots of bug fixes (git, Windows install, permission rules), plus an optional LLM proxy and pipelines to choose what RTK filters.
If you use RTK, please upgrade.
r/CLI • u/Sno_w_olf • 2d ago
Got tired of typing cd ../../.. so I built a tool that finds folders by name
github.comIt's called hpt (pronounced "hopped", but with a t instead of the d, ig). You type `hpt api` from anywhere and it takes you to the folder called api.
It indexes the folders under your home directory when you install it, or other locations if you set them. zoxide depends on how often you've visited a folder, while hpt can find one you've never cd'd into.
It looks for an exact name first, then prefix, substring and fuzzy matches, so `hpt zbra` finds `zebra-crossing`. If there are several matches, you get a list to pick from.
A background watcher keeps the index up to date. I tested it with 1,000,000 folders: a new folder showed up in about 240 ms and an exact lookup took about 5 ms. It only indexes folders, and it skips things like node_modules and .git.
You can also use it to open things:
hpt code api # open api in VS Code
hpt nano . # run nano in the current folder
hpt claude api web # start Claude Code in both, a tab or window each
hpt resume api # continue the last coding agent session in api
hpt ignore AppData # stop indexing folders with this name
hpt - # previous folder, same as cd -
To add your own command, put one line in a text file. For example, `idea` makes `hpt idea api` open the folder in IntelliJ.
It works on Windows, macOS and Linux with PowerShell, bash, zsh and fish. The installer doesn't need admin rights, and it tells you what it will change before doing anything. There's no telemetry. It's written in Go and MIT licensed.
r/CLI • u/381654729fuck • 2d ago
i made a little whale you can feed while editing in Neovim
lol, just like in the video. hmmm, a pet and can play with you
and it's running in terminal
https://github.com/nidhoggfgg/rsille/tree/main/packages/rsille-playground