r/CLI • • 15h ago

I got tired of spending 30+ minutes setting up every cloned repo, so I built a CLI that does it: npx devset

5 Upvotes

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-run previews the plan without touching anything
  • It checks .env variable 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).

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 • • 18h ago

i've been working on flow, and it just hit 4k downloads and 472 stars! :)

Post image
3 Upvotes

r/CLI • • 7h ago

A minimal, lightning-fast YouTube Music TUI written in Rust. Discover music with personalized mixes, moods, genres, charts, and playlists through dedicated Home and Explore sections. Powered by mpv, featuring offline playback, MP3 downloads with embedded album artwork and lyrics, synchronized lyrics

Thumbnail gallery
2 Upvotes

r/CLI • • 8h ago

TabSmith: Cross-platform Fig-like CLI autocompletion and subcommand dropdown that run anywhere

Post image
2 Upvotes

r/CLI • • 12h ago

dns-race — a CLI that races your DNS resolvers against each other (written in Rust)

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

Can i get some help testing my open-source project? (On Windows & MacOs)

Thumbnail github.com
2 Upvotes

My 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 • • 21h ago

tie: a mouse-friendly terminal IDE for people who don't want to learn Vim

Post image
2 Upvotes

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 • • 10h ago

Do you let CLI tools load config from a repo you just cloned?

1 Upvotes

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 • • 13h ago

I built a pi extension that replaces the footer with live session stats + a context bar

Post image
1 Upvotes

r/CLI • • 15h ago

Hice Bether, un gestor de marcadores para la terminal en Python + SQLite — busco feedback, ideas y que me ayuden a romperlo

1 Upvotes

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 • • 15h ago

Want a bash-like shell for Mini Micro?

Thumbnail reddit.com
1 Upvotes

Cross-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 • • 19h ago

remder 1.1 release!

Post image
1 Upvotes

r/CLI • • 14h ago

I built a small Mac CLI so Codex / Claude Code / Cursor can use API keys without seeing them

Post image
0 Upvotes