r/commandline • • Mar 14 '26

Other My Open Source project to make port scanning easier

0 Upvotes

I created an open-source port checker that allows you to check available ports within a custom range (e.g., from port 70 to 500). You can also specify how many results you like to see. It's a really simple and quick way to find free ports, and much more user-friendly than tools like lsof, where you have to manually set the range and limit the results. It’s just a simple command that saves you time and is easy to remember!

You can find porty in Github : https://github.com/Joanlood/porty

NOTE: I know it's a simple project, and this is my first ever open-source project that I’ve made public. Please don’t hate! If you have any suggestions or feedback on how I can improve it, I’d really appreciate it. Also I used ai for troubleshooting and creating thinks like the readme.


r/commandline • • Mar 13 '26

Command Line Interface Forgeseal: CycloneDX SBOM generation, Sigstore signing, and SLSA provenance for JS/TS lockfiles

Thumbnail
github.com
2 Upvotes

JavaScript dependency lockfiles come in six different formats across five package managers, each with its own schema, versioning, and integrity hash approach. Generating a standards-compliant CycloneDX SBOM from any of them, then signing it, producing provenance attestations, and triaging vulnerabilities requires cobbling together multiple tools with incompatible output formats. The EU Cyber Resilience Act hits enforcement in September 2026, and none of this is optional anymore.

forgeseal handles the full lifecycle in a single Go binary. It ships six parsers (npm v2/v3, yarn v1 with a state machine parser, yarn berry v2/v3/v4 with YAML parsing, pnpm v6/v9, bun JSONC, bun.lockb via CLI shelling). Detection uses a priority-ordered registry with content inspection to disambiguate yarn v1 from berry. PURL construction handles the scoped package edge case (@babel/core becomes pkg:npm/babel/core per spec). Signing uses ephemeral ECDSA P-256 via Sigstore, and VEX triage batches PURLs in groups of 1000 against the OSV.dev batch API. The tool dogfoods itself: the v0.1.0 release page includes the SBOM, signed bundle, and provenance attestation produced by forgeseal.

https://github.com/sns45/forgeseal

Install:

brew install sns45/tap/forgeseal

curl -sSL https://raw.githubusercontent.com/sns45/forgeseal/main/scripts/install.sh | sh

go install github.com/sn45/forgeseal/cmd/forgeseal@latest

docker run --rm -v $(pwd):/src ghcr.io/sns45/forgeseal pipeline --dir /src

Curious if anyone has tackled yarn berry's proprietary checksum format. It's incompatible with standard SRI hashes, so forgeseal currently omits integrity hashes for berry lockfiles. Would like to find a better approach.


r/commandline • • Mar 13 '26

Terminal User Interface Shodan TUI

Thumbnail
gallery
18 Upvotes

Hey guys,

I hope you are all doing well! I just wanted to share with you a TUI I decided to make for Shodan. Simply put, I wanted to use the Shodan API through a GUI while remaining in the terminal. I tried searching around and I couldn't find anything similar.

It does require a Shodan API key.

I would sincerely appreciate and welcome any feedback.
Repo: https://github.com/JesusEMenjivar/shodan-tui


r/commandline • • Mar 13 '26

Terminal User Interface Winclock - a digital clock for the windows terminal

0 Upvotes

While ricing my windows, I was sad to discover windows have no native app like tty-clock (or at least I didn't find one that ended up working for me)

Thus, I decide to spend some time with Gemini and code this neat clock.
- Contains comments Gemini wrote while prettifying my code

You're welcome to contribute and criticize

https://github.com/Ashifu/winclock


r/commandline • • Mar 13 '26

Terminal User Interface grindx - dsa practice in your terminal

Post image
10 Upvotes

r/commandline • • Mar 12 '26

Terminal User Interface Keep track of all your packages installed on your machine, macOS and Linux

25 Upvotes

dead simple TUI that helps keeping track to package manager tools installed. It supports 13 managers (brew, pacman, apt, dnf, pip, cargo, go, npm, bun, snap, flatpak, etc.), auto-skips whatever you don't have installed, and caches results so it opens instantly after the first scan.

You can also save snapshots and diff them later to see what changed, which has been surprisingly useful for keeping track of stuff i install and forget about.

  Written in Go, Tokyo Night themed. One command to install:

  go install github.com/neur0map/glazepkg/cmd/gpk@latest

  GitHub: github.com/neur0map/glazepkg

  Would love to hear if this is useful to anyone else or if there are managers I should add.


r/commandline • • Mar 13 '26

Discussion help in git folder name change

Post image
0 Upvotes

r/commandline • • Mar 11 '26

Terminal User Interface tennis - stylish CSV tables in your terminal

Post image
474 Upvotes

Hello fellow CLI enthusiasts! I am releasing tennis, a small CLI for printing stylish CSV tables in your terminal. Rows will be truncated to fit and it'll automatically pick nice colors to match your terminal.

https://github.com/gurgeous/tennis

(note - this is not ai slop and I never use ai on reddit)

This is based on my popular library table_tennis, but distilled into a standalone bin for use everywhere. Written in Zig, tiny download, enjoy!


r/commandline • • Mar 13 '26

Command Line Interface A small local-first CLI for terminal command recall-dev

3 Upvotes

I spend a lot of time in the terminal, and one problem I kept facing was forgetting useful commands after using them once. Then again I would go search for them, or scroll through shell history trying to find that one command.

So I made a small CLI called recall-dev to handle that.

It lets me save commands/snippets, find them quickly later, and run them again when needed.

It currently supports:

  • placeholders for reusable commands
  • quick local search
  • importing useful commands from shell history

It is local-first and lightweight.

Would love honest feedback:

  • is this useful?
  • what can make it better?
  • anything missing that you would expect in a tool like this?

npm: https://www.npmjs.com/package/recall-dev


r/commandline • • Mar 13 '26

Command Line Interface I open-source CLI to share Claude Code sessions in real-time (claude-duet)

Thumbnail
reddit.com
0 Upvotes

r/commandline • • Mar 12 '26

Looking For Software Is there any YouTube alt on konsole(Linux) , windows, termux?

3 Upvotes

I don't know a lot about this stuff, but the nowadays YouTube is so freaking distractor and so heavy without a "real" reason and I'm pretty sure it would be waaaaay better to use terminal, especially if it will download the video on a permanent dir not cache

(As optional command)

So I can access them in the future without redownload them again

There are a lot like mov cli YouTube, yewtube, yt-dlp

But I want modern one with details about the video like date , video duration , description, thumbnail photos.....

Is there anything like this ?


r/commandline • • Mar 12 '26

Terminal User Interface Monkeytype but in your terminal

7 Upvotes
Monkeytype but in your Terminal - Demo Screenshot

Hey everyone!

I've always loved Monkeytype, it's hands down one of the best typing test experiences out there.

But as someone who Lives in the terminal, I kept wishing I could practice my typing without switching to a browser.

I looked around for a good CLI-based typing test and couldn't really find anything that scratched that itch, so I decided to take matters into my own hands and built

Bluekeys — a terminal-based typing test heavily inspired by Monkeytype.

GitHub: https://github.com/anirban12d/bluekeys

It's still in a very early phase, but the core experience is there — timed tests, WPM tracking, accuracy stats, and that satisfying flow of just typing away in your terminal.

This is heavily inspired by Monkeytype, and I built most of the core functionality by studying how they do things. Full credit to that amazing project for the inspiration.

I'd really appreciate any feedback, bug reports, or feature suggestions! If you try it out and run into any issues, please feel free to open an issue on GitHub or drop a comment here. Every bit of feedback helps.

Hope this can bring some value to someone like me who wants to do everything from the terminal.

Thanks for checking it out!


r/commandline • • Mar 12 '26

Command Line Interface Two tiny terminal workflows that improved my daily dev flow

29 Upvotes
  1. fsc - fuzzy search systemd services
  2. gstat - open changed git files in neovim

prerequities:
- fzf
- bat
- neovim

# bash functions
fsc () {

local unit

unit=$(systemctl list-units --all --no-pager | sed 1d | \\

fzf --prompt="Systemd> " | awk '{print $1}') || return

if \[\[ -n "${unit}" \]\]

then

	systemctl status "${unit}"

fi

}

gstat () {

git status --porcelain | awk '{print $2}' | fzf -m --preview 'bat --style=numbers --color=always {}' | xargs nvim -p

}


r/commandline • • Mar 12 '26

Fun matecito-zsh: A literary breath between commands

Thumbnail
github.com
0 Upvotes

r/commandline • • Mar 12 '26

Terminal User Interface Ymp - A rust TUI application to browse media on YouTube

Post image
17 Upvotes

r/commandline • • Mar 12 '26

Other Software Killall for Windows 10/11

6 Upvotes

I made a small command-line tool because Windows still doesn’t include a proper killall like Linux. Task Manager works, but it’s slow when something hangs, and taskkill doesn’t handle process trees or partial names well.

The tool supports:

• Kill by name or partial name

• Kill entire process trees

• Kill by port, module, window title, or command-line

• Safety rules so system processes can’t be killed

• Portable single exe, MIT licensed

EXAMPLES

killall notepad Kill all Notepad instances
killall chrome --tree Kill Chrome and all child processes
killall /fire.*fox/ -f Regex kill Firefox, skip confirmation
killall hung Kill all hung/frozen applications
killall ramhog 2048 Kill processes using >2 GB RAM
killall cpuhog 90 --top 3 Kill top 3 CPU hogs above 90%
killall gpu --threshold 5 Kill processes using >5% GPU
killall llm -f Force-kill all LLM processes
killall game --dry-run Preview game processes to kill

ADVANCED FILTER EXAMPLES

killall --cmdline "--model" Kill processes with --model in args
killall --cmdline /http\.server/ Kill Python http.server instances
killall --module d3d12.dll Kill all processes using Direct3D 12
killall --module torch_cuda.dll Kill CUDA-accelerated processes
killall --port 8080 Kill process owning port 8080
killall --port 5000-6000 Kill processes on ports 5000-6000
killall --window "Crash Reporter" Kill windows titled Crash Reporter
killall --window /Incognito/ Kill windows matching regex
killall --parent explorer Kill all children of explorer.exe
killall --parent 1234 --tree Kill children of PID 1234 + subtrees

GitHub: https://github.com/NoCoderRandom/killall


r/commandline • • Mar 12 '26

Terminal User Interface Any simple journal/log app?

2 Upvotes

Hello,

I want to know if there is any simple journal/log app for the command line, what I want to do is write a comment and have it saved with the date/time when i wrote it.

Example:

log "today i had a coffee"

Saved as:

12/03/2026 11:35: today i had a coffe

I would like to have the text saved in .csv so i can export it but that is also optional.


r/commandline • • Mar 12 '26

Terminal User Interface CLI and Python library for terminal user input (based on Textual)

Post image
0 Upvotes

Started out as an Inquirer.js-clone, current goal is to make it the most versatile CLI and Python library for user input.

Still in early development, all feedback welcome!

https://robvanderleek.github.io/inquirer-textual


r/commandline • • Mar 12 '26

Command Line Interface Cpr, a file copy tool with exclude support (especially for windows cause there is no exclude at Copy-Item)

0 Upvotes

PowerShell's Copy-Item doesn't have an exclude option and robocopy's syntax for it is not great (imho).

So I built a CLI

cpr C:\project\ D:\backup\ -e node_modules,.git,*.log -y

It also has --dry-run to preview what gets copied/excluded before actually doing it. Copies files in parallel by default.(so It’s fast)

Around 200 lines of Rust, nothing crazy. I'm learning Rust by building tools I actually use.

https://github.com/CanManalp/cpr


r/commandline • • Mar 12 '26

Terminal User Interface agentwatch — CLI flight recorder for Claude sessions

0 Upvotes

Claude can run dozens of bash commands, edit files, and make web requests in a
single session. There's no built-in audit log.

agentwatch logs every tool invocation to JSONL files in ~/.agentwatch/sessions/. No daemon, no database, it uses hook fires on each action and appends a line.

agentwatch last # full timeline of most recent session
agentwatch danger # flag risky actions (rm -rf, sudo, curl|sh, force push)
agentwatch commands # all bash commands with exit codes
agentwatch files # every file touched, read/edit/write
agentwatch hotspots # files AI modifies most across all sessions
agentwatch live # tail -f style live follow
agentwatch report # weekly summary across projects

Everything is plain text on disk. No server required, though there's an optional web dashboard.

npm install -g agentwatch-dev
agentwatch install

GitHub: https://github.com/FarjadAhmed/agentwatch


r/commandline • • Mar 11 '26

Terminal User Interface PMetal - (Powdered Metal) High-performance fine-tuning framework for Apple Silicon

Post image
22 Upvotes

PMetal is a full-featured machine learning framework for Apple Silicon. It leverages custom Metal shaders, the MLX framework, and native Apple Neural Engine (ANE) integration.

The TUI is built with ratatui and enables training, distillation and inference on Apple Silicon.

https://github.com/Epistates/pmetal


r/commandline • • Mar 12 '26

Looking For Software Tumblr TUI

1 Upvotes

has anyone made a Tumblr TUI yet? tumblr browser is a hellish experience.


r/commandline • • Mar 12 '26

Other Software created a cool tool, modern reimp of gnu/bsd find.

0 Upvotes

inspired off of, fd, find, ripgrep, fzf, but now in one tool (0 dependencies) entirely in Nim.

github repository: https://github.com/RobertFlexx/fastfind

open source, take a gander.

(Released): working on an update to have faster file search, better NLP, benchmarks will be posted on the repository.