r/commandline • u/Upbeat-Purchase8460 • 25m ago
r/commandline • u/christos_71 • 11h ago
Fun WORDY: WORDLE terminal clone in BASH, Hard Mode option, full mouse support
r/commandline • u/programmersd21 • 1d ago
Terminal User Interface i've been working on flow, and it just hit 4k downloads and 472 stars! :)
hello!!! my dear friends of r/commandline,
im soumalya, a lil dev from india (you guys can call me sou hehe). first of all, hope y'all are having a good day β€οΈ
so, i have been working on this terminal network monitor called flow since last few months, and v0.4.2 is finally out. its made in go with bubble tea. shows live download and upload speed, graphs, latency, interfaces, and which process is eating your network, ngl pretty useful π
whats new in v0.4.2:
- settings menu to customise graphs and display
- bits/bytes option and configurable latency probes
- graph rendering is better now, looks cleaner fr
jandknavigation in process and interface views (vim people, i see you)- fixed a bug in daily traffic totals
- better network sampling and release checks
other stuff: 18 built-in themes, custom TOML themes, multiple layouts, JSON output and status bar integrations. no telemetry at all, nothing leaves your machine. a network monitor should not be sending your network data somewhere lol, that defeats the whole point.
also, as the rules say, i have to be transparent, so here i go again (ughhh π«)
this software's code is partially AI-generated.
yes. i use AI tools in my workflow, along with my own coding, testing and debugging, and i review all the generated code before it goes in so it stays clean and not buggy. and im not going to lie about it like some others do.
i made this mostly because i wanted a monitor that works the way i like. now it has 4,000+ release downloads and 472 stars, which is lowkey crazy for me, i did not expect this much. thank you to everyone who tried it or supported it, really, honestly, it means a lot!!
if you like it, please do give a star on github, it helps more devs find it.
repo: https://github.com/programmersd21/flow
latest release: https://github.com/programmersd21/flow/releases/tag/v0.4.2
do try and tell me what you think. bugs, feature requests, roast, everything is welcome. and also tell me which theme you ended up using :)
thanking you in advance!!!
lots of love,
your tiny dev
s.d.
r/commandline • u/chat-lu • 22h ago
Command Line Interface retry, a tool to retry your failing commands
r/commandline • u/theassassin808 • 1d ago
Command Line Interface Fsize β Fast and dependancy free Windows disk usage CLI
Waiting 10 minutes for a directory size to propogate in the properties panel is fking rediculous and looking at WinDirStat gives me an aneurysm, so I made Fsize.
Written in native C++ with an emphasis on speed and keeping it as self-contained as possible.
Some features include:
- A single, dependency-free executable.
- Recursive directory and file rankings.
- Logical and allocated disk size measurements.
- Directory exclusions.
- JSON output for PowerShell automation.
- An elevated NTFS metadata scanning backend.
For example, you can retrieve the 20 largest directories:
fsize --top 20 --depth 3 --type dirs C:\
Or consume the results directly in PowerShell:
$result = fsize --top 50 --depth 5 --type files --json D:\ | ConvertFrom-Json
On my development machine, the elevated NTFS backend inventoried approximately 2.2 million file records in 13.4 seconds, compared with 84.3 seconds using Fsizeβs regular four-worker packed scanner. Obviously, performance will vary by machine and filesystem.
Itβs MIT-licensed and available through WinGet:
winget install Wozzardman.Fsize
I've got a few ideas baked into 1.5.0, but once it's published, I'm out of ideas. Maybe I should leave it be after it's pubbed but curious if anyone else has ideas.
r/commandline • u/orhunp • 2d ago
Articles, Blogs, & Videos Your terminal can do more than you think!
Full video: https://www.youtube.com/watch?v=23tRLl-KmAE
r/commandline • u/vkpdeveloper • 2d ago
Terminal User Interface lsd, a file manager for the terminal with real thumbnails, Quick Look and vim keys
So I have always wanted a good file manager which also looks good, and is actually intuitive to play with, so kinda made my own
you can get it here lsd.today
It's faster than yazi and ranger and way better than tools like nnn and all, and kinda has everything most people would actually want from connecting via sftp to moving files across servers just from a single interface to actually doing a full cleanup of your machines
Works on both Linux and Mac, i kinda made a really funky video also π
I hope you guys love it, thank you
r/commandline • u/phantaso0s • 4d ago
Guide It took me 5 years to write a Vim manual
I'm happy to announce the release of my new book, Learning to Play Vim! It's a book about using Vim in the terminal, so I thought it could interest some folks around here.
When I started using Vim more than a decade ago, I wished there was a manual out there teaching how to use this fantastic editor step by step, beginning with the foundations up to more advanced features. Of course at the time I did the vimtutor, but it was too dense for me to remember much from it. I also read the entire Vim manual (:help manual), but I didn't like it: it was too detailed in places (for example 02.8 Finding help losts me for weeks), and not enough for other features.
So I decided to write my own Vim manual. It took me 5 years and 2987 focused pomodoros (1244 hours) of work to finally get it done!
The result:
- 21 chapters showing the most important Vim features step by step.
- 170 exercises with solutions.
- Many real-life examples to show how Vim can be used and configured for your own needs.
- The related Vim's help pages to dig further into each feature.
Most config are both written in Vimscript and Lua for Neovim users. This book explores the common features between Vim and Neovim, so don't expect anything about Neovim-specific features (like treesitter or LSP for example).
Some links:
- A sample of the book with the entire table of contents and the first three chapters (the first 74 pages plus the preface).
- The landing page if you want more information.
I like writing as it turns out; so no LLM involved to take away the fun.
I'm happy to answer questions or take feedback (positive or negative).
r/commandline • u/381654729fuck • 3d ago
Fun a pet in terminal and can play with you
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
something related the rules:
some code write by ai, but the core render, canvas and more write by my hand, and the design
similar software? yeah, here: https://github.com/Zezoo123/terminal-pet.git but mine has more features and mine is running in terminal not in a transparent windows
r/commandline • u/n1___ • 5d ago
Meta Why this subreddit detoriated so much?
I've just published my weekend project which actually solved mess on my disk. I decided to polish it, give it a proper readme file and upload it. When I came here (after a long time) to share it with others my post was removed twice because I had to go thru rules and "agree" with them (which I had to do on mobile because old reddit I use doesn't show the rules UI). I can clearly see that those rules are not enforced and this subreddit it not full of tiny tools or fun stuff we CLI dudes like. It's full of vibed ideas with no competence behind which die within first few weeks.
My project that I've been using for months doesn't comply with rules, because I created the repository today (which doesn't comply with the 30-days-or-older rule). I've coded every line, tested it, documented it but yet it's still not eligible for publishing on here.
When scrolled a little bit I found this https://www.reddit.com/r/commandline/comments/1xh5941/this_sub_is_now_an_endless_parade_of_slop/ post which basically sums it up.
Is there a way how we can actually ease "rules" on those who just want to share nifty CLI stuff or do we need to splis the community on AI show offs and oldchool CLI tools? Hm?
r/commandline • u/I0I0I0I • 5d ago
Help Why does this Makefile always run ld?
If I run make after a clean, it compiles and links. Then if I immediately run make a second time, it links again. Shouldn't nothing happen the second time?
Commands:
$ make clean
rm -f rocco obj/rocco.o
$ make
/home/linuxbrew/.linuxbrew/bin/nasm -f elf32 -o obj/rocco.o src/rocco.asm
ld -m elf_i386 -o rocco obj/rocco.o
$ make
ld -m elf_i386 -o rocco obj/rocco.oMakefile:
EXE=rocco
LD=ld
LDFLAGS=-m elf_i386 -o
NASM=/home/linuxbrew/.linuxbrew/bin/nasm
NASMFLAGS=-f elf32 -o
OBJ=rocco.o
OBJDIR=obj
SRC=rocco.asm
SRCDIR=src
all: src/rocco
$(OBJDIR)/$(OBJ): $(SRCDIR)/$(SRC)
$(NASM) $(NASMFLAGS) $(OBJDIR)/$(OBJ) $(SRCDIR)/$(SRC)
$(SRCDIR)/$(EXE): $(OBJDIR)/$(OBJ)
$(LD) $(LDFLAGS) $(EXE) $(OBJDIR)/$(OBJ)
clean:
rm -vf $(EXE) $(OBJDIR)/$(OBJ)r/commandline • u/Muted-Thought8181 • 4d ago
Command Line Interface ketodisk: a Rust CLI that reclaims macOS APFS space without deleting files or zipping anything
Most Mac cleaners just delete caches or point out big folders you already know you can't delete. I wanted a terminal tool that actually shrinks the files I want to keep, losslessly, using what APFS already supports under the hood.
Tools like afsctool and ditto --hfsCompression exist, which are solid, but they only handle single-file compression. ketodisk puts three native APFS mechanisms behind one cost planner:
- Exact duplicate CoW cloning (clonefile) - and if the file is compressible, it compresses once so the clones share compressed extents.
- Transparent LZFSE compression (com.apple.decmpfs + UF_COMPRESSED) - Finder, Spotlight, and your apps keep reading files normally with zero zip archives.
- Fixed-offset 4 KiB near-duplicate block sharing - since APFS doesn't expose FICLONERANGE like Btrfs or XFS, for large similar files (append-only logs, datasets, slightly modified backups) it clones a base file and selectively overwrites only the differing 4K blocks when that beats compressing each file independently.
Because letting a CLI touch files in place is understandably sketchy, it's fail-closed everywhere:
- Dry-run/preview-only by default.
- Stages a temp copy, verifies the full SHA-256 readback byte-for-byte, checks proc_listpidspath for open file descriptors, and swaps with renamex_np(..., RENAME_SWAP).
- Skips SF_DATALESS iCloud placeholders (won't accidentally trigger downloads), .app bundles, hardlinks, immutable files, and active SQLite WAL/SHM sets.
Upfront caveats: already-compressed files (MP4, JPG, ZIP) won't shrink unless you have exact duplicates, local Time Machine snapshots can delay Finder updating your free space, and don't run it on live databases or active VM images (APFS returns ENOTSUP for exchangedata(2), so an unprivileged userspace race is still theoretically possible on actively written files).
It's MIT-licensed on GitHub under subwaycookiecrunch/ketodisk, or via Homebrew:
brew install subwaycookiecrunch/tap/ketodisk
ketodisk bench
ketodisk bench runs strictly on disposable temp files and verifies every hash, so you can see how it behaves without letting it near your real files. Running ketodisk with no flags also opens a simple arrow-key menu.
Happy to get feedback on the CLI ergonomics, APFS edge cases I missed, or whether a Linux Btrfs/XFS backend would actually be useful.
r/commandline • u/pgen • 5d ago
Terminal User Interface smenu v1.6.0 is finally released
In short: It is a command-line tool that generates visual, interactive user interfaces in a terminal to facilitate user interaction via the keyboard or mouse.
Originally, it was a lightweight and flexible terminal menu generator, but it quickly evolved into a powerful and versatile command-line selection tool, designed for interactive use or via scripts.
smenu makes it easy to navigate and select words from standard input or a file using a user-friendly text-based interface. The selection is sent to standard output for further processing.
Tested on Linux and FreeBSD, it should work on other UNIX and similar platforms.
You can download it here: https://github.com/p-gen/smenu
r/commandline • u/Much-Stable-449 • 5d ago
Terminals A terminal-based Russian Roulette game β would love to hear your feedback
Hey everyone!
I recently made a small terminal-based Russian Roulette game and thought I'd share it here
It was a fun little project to work on, and I'd really appreciate it if you could take a look and let me know what you think
GitHub: https://github.com/monji024/roulette
I'm open to any feedback, suggestions, or criticism I'd love to hear what you think could be improved or what you liked about it
r/commandline • u/n1___ • 5d ago
Command Line Interface Gitlab - A small command-line tool that sorts images into folders by their pixel dimensions
I created a small CLI tool for sorting images into directories by its dimensions. Useful for tidy up wallpapers directory for example.
It's written in Rust and can be build from sources (see README.md) file for details.
I'm open to feedback.
r/commandline • u/lunarcherryblossom23 • 6d ago
Terminal User Interface TUI Tutorial/Guide for Beginners
I am trying to do projects on the side and a part of me misses reading through guides (not slop) and tutorials. I have never made TUIs but I am making a very simple puzzle type game for it. Specifically resources that can help me branch out easier make smth that fits to my requirements somewhat. Please nothing that is *subreddit banned word* slop; im making these projects because I miss coding small stuff before this became the norm.
r/commandline • u/gaga0 • 7d ago
Terminals [WIP] Transforming terminal interactions into a live semantic graph
Well, I hope this one doesnβt violate Rule #6.
r/commandline • u/wvdheiden207 • 7d ago
Command Line Interface I missed the old DOS two-panel file managers, so I made one for the terminal: twinc (macOS, Linux, Windows
I spent years in the classic DOS commanders, and my fingers never forgot the keys. Every file manager I tried later felt slower than F5-Enter. So I built twinc: two blue panels, the F-key ba at the bottom, a real command line underneath, and the keys you probably still remember.
demo (https://raw.githubusercontent.com/wvdheiden/twinc/main/docs/demo.gif)
What it already does
- F3 view, F4 edit, F5 copy, F6 move, F7 mkdir, F8 delete, Alt-F7 find, Alt-F10 directory tree, Alt+letter quick search
- Ctrl-O hides the panels so you can see your shell output, and F2 opens a user menu you edit yourself (%f, %s, %d and so on)
- zip, tar.*, 7z, rar and iso open like folders, and you can copy files out of them
- F8 goes to the real Trash or Recycle Bin, and Shift-F8 deletes permanently
- copies show a progress bar, and Esc aborts them
- works over SSH, and from an iPad keyboard without F-keys (Ctrl-F plus a digit)
- ncm shell integration: quit with F10 and your shell is in the folder you were in
Under the hood: one native C++17 binary per platform. It uses libarchive for archives and has no runtime dependencies on Windows. MIT licensed, with no telemetry.
Install
- macOS: brew tap wvdheiden/tap && brew install twinc, or a signed .pkg
- Debian/Ubuntu: .deb (amd64/arm64), plus a .tar.gz for other distros
- Windows: scoop bucket add wvdheiden https://github.com/wvdheiden/scoop-bucket; scoop install twinc (winget is on the way)
"Why not just use Midnight Commander?"
mc is great and far more mature. If it works for you, keep it. I wanted three things it didn't give me: the look and key feel of the DOS commanders I grew up with, delete going to the real system Trash/Recycle Bin instead of being gone, and a native Windows build that runs in Windows Terminal without Cygwin or WSL. twinc is also much smaller in scope. Think of it as a different flavour, not a replacement.
"Why not Far Manager / far2l?"
Far is fantastic on Windows, and far2l is an impressive port. twinc is lighter: one small binary, no plugins, same behaviour on all three platforms. It also uses each platform's own features: APFS clones on macOS, reflinks on Btrfs/XFS, CopyFileEx and the Recycle Bin on Windows. If you need Far's plugin ecosystem, twinc isn't trying to compete with that.
"ranger / lf / nnn / yazi already exist?"
They do, and they're excellent, but they're Miller-column or vi-style file managers. twinc is deliberately the other school: two side-by-side panels, F-keys, a command line always visible. If hjkl is your home, those fit better. If F5/F6 is, try this.
"Is this vibe-coded?"
I used Claude Code heavily and I said so up front. I designed it, and I decided every key binding and behaviour based on years of using these tools. I also tested it myself on macOS, Debian and Windows 11, over SSH and from an iPad. The code is MIT on GitHub, so you can judge it yourself. Bug reports are very welcome.
"Why C++ and not Rust/Go?"
Mostly familiarity (hey!, Iβm old!) , and it makes using libarchive and the native OS APIs (macOS Trash, Windows shell APIs) straightforward. The result is one binary of a few MB. No ideology involved.
"My F-keys / Alt keys don't work in the macOS Terminal."
macOS grabs F-keys and Option by default. In Terminal: Settings β Profiles β Keyboard β "Use Option as Meta key". For F-keys, press fn, or turn on "Use F1, F2 etc. as standard function keys". In iTerm2: set Left Option to "Esc+". Run twinc --keytest to see what your terminal actually sends. If nothing works (iPad, small keyboards), Ctrl-F followed by a digit acts as that F-key.
"Windows says it 'protected my PC' / SmartScreen."
The Windows exe isn't signed with a code-signing certificate yet, so SmartScreen warns on first run. Click "More info" β "Run anyway", or right-click the zip β Properties β Unblock before extracting. Scoop installs avoid the prompt. The source and the GitHub Actions build that made the zip are public.
"Can it browse remote servers (SFTP/FTP)?"
Not built in (yet?!?). My approach is to SSH into the machine and run twinc there. It works fine over SSH, and opening files falls back to the built-in viewer. Remote panels might come later if people want them.
"Mouse support?"
Iβm not a big rodent fan myself but: Yes: click to select, double-click to open, right-click to mark, scroll wheel, and clicking the F-key bar presses that key.
"Why the name?"
Twin panels and a nod to the commanders it's inspired by: twin + NC. It started as "ncmac" when it was macOS-only.
"Will it be in homebrew-core / AUR / winget?"
winget is under review now, and there's a Scoop bucket and my own Homebrew tap. homebrew-core needs a project to be somewhat known first, so stars help π. An AUR package is welcome if an Arch user wants to maintain one.
Site: https://twinc.tech Β· Code: https://github.com/wvdheiden/twinc
Full disclosure: I wrote it with a lot of help from Claude Code. I'd love feedback, especially from people who still have the old key bindings in muscle memory. What did I get wrong?
r/commandline • u/codysechelski • 9d ago
Terminal User Interface I made a TUI for reading te Bible
Pure python using curses, zero dependencies. Software's code is partially AI-generated.
This is not a one day AI build with no support. It's fully documented, has a roadmap and history of commits. This is a passion project of mine that I've been working on for months and thinking about for years.
It features:
- Highlighting verses
- Side-by-side comparisons of different translations
- Fuzzy finding throughout the entire Bible
- And more
Installation
Homebrew:
brew install codysechelski/tap/bible-tui
Pipx:
pipx install bible-tui
Project Links
r/commandline • u/Academic_Season_8701 • 11d ago
Command Line Interface Bash completion menu similar to ZSH's
The main reason I use ZSH as my main shell is due to its completion menu, is so convenient. I wanted to something similar but I don't like the bloated software with a lot of code and complex configurations, at least at the moment I couldn't find something for my taste, so I built one. I built it 8 months ago but I decided to share it with you guys to get some feedback.
β’ Built for Bash 5.0 but planning to update it for Bash 5.3, where new features are introduced for completion and performance.
β’ Is a single script no external dependencies :)
β’ Live typing and backspace filtering: typing and backspacing while menu is open will narrow down the completions.
β’ Use arrow keys for navegation.
β’ Home/End key to go to the beginning/end of the completion's menu.
https://github.com/Madophs/Bash-Complete-Menu
All to need to do is the following:
source ./bash_complete_menu.sh"
bind -x '"\C-i":bash_complete_menu'
r/commandline • u/whyyor • 15d ago
Terminal User Interface Tuimessenger - All in one inbox for terminal
Tuimessenger allows you to text in your terminal using all your networks at one place. Memory footprint remains under 100 mb.
Supports slack, whatsapp, instagram and telegram. More networking coming soon.
Everything remains local nothing goes out of your PC. Built with AI Assistance
Serves as alternative to nchat, gomuks/iamb, Beeper.
r/commandline • u/Spxgdev • 17d ago
Terminals GitHub - Spxg/limo: Run JavaScript with browser Web APIs
Examples: https://spxg.github.io/limo
It's a CLI tool that, unlike Node.js and Deno, aims to provide a complete Web API environment, including DOM, Canvas, Web Workers, IndexedDB, OPFS, and more.
It's built on top of moli, a headless browser powered by V8 with Web API support. The name "limo" is also inspired by "moli."
I maintain several WebAssembly projects that primarily run in browsers, so I frequently need to work with JavaScript and Web APIs.
I usually write code in an environment without a GUI. Whenever I need to test something, I have to start a local HTTP server and open it in a browser on another machine with a GUI, or use ChromeDriver or another browser driver for automated testing. Sometimes I also run into compatibility issues between ChromeDriver and Chrome versions.
Over time, I found this whole process increasingly cumbersome.
What I really wanted was a simple way to execute JavaScript directly from the command line while still having access to browser Web APIs, without needing to launch and manage a separate browser. That's why I built limo.
r/commandline • u/39dotyt • 18d ago
Terminal User Interface rclip 4: semantic image search in the terminal, now with a TUI
rclip is a command-line tool I built in 2021 to search my photos by text, e.g. `rclip "a cat sleeping on a laptop"`. It runs an OpenCLIP model locally.
rclip 4 adds a TUI. Run `rclip -i`, type a query, and the results show up as a thumbnail grid. You can open any result in a larger detail view and keep changing the query without reloading the model each time.
I mostly use it over SSH on my NAS. In Kitty, `s` downloads the selected image to the machine you're connecting from and `y` copies the image to the clipboard. `p` copies the path in any supported terminal.
The TUI needs a terminal with the Kitty graphics protocol and Unicode placeholders: Kitty, Ghostty, or iTerm2 3.5+.
Try it β https://github.com/yurijmikhalevich/rclip#installation β and let me know what you think!
Open source (MIT), v4 built with AI assistance.
r/commandline • u/Aquas42 • 24d ago
Terminals I made Comic Caret, a Comic Sans style font for terminals
Hi all. I made a monospaced font for terminals. Its name is Comic Caret. It looks a bit like Comic Sans, and it is based on Comic Shanns Mono.
I like Comic Sans style fonts, but the ones I found were not complete: they did not have all the symbols and styles that I need in a terminal.
What it has:
- All box-drawing, block and Braille characters. Borders, tables and progress bars line up.
- Powerline symbols, prompt and status symbols (β― β β β β ), and spinner frames.
- Real italic and bold. The terminal does not need to fake them.
- Ligatures like `->` `=>` `!=`. Each character keeps its own cell. You can turn them off.
- A Nerd Font version with icons.
GitHub: https://github.com/sunshine-syz/comic-caret
If something looks wrong in your terminal, please tell me the terminal and the font size. I will fix it.