r/commandline • • 1d ago

Guide It took me 5 years to write a Vim manual

124 Upvotes

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

Command Line Interface P2P HTTPS to localhost forwarder in one command (virunx)

0 Upvotes

I built a one-command tool that puts a local port behind a public HTTPS URL:

npx virunx -p 3000 -s test
=> https://test.run.vishota.com (-s is optional)

Requests arriving at that URL (HTTP(S), WebSockets, SSE) are forwarded to your localhost:3000. Two key points of this solution:
- peer-to-peer as the main way to connect + relay-proxy as an emergency fallback;
- one command to make it work: no auth, all the settings are CLI args.

Main page of the project: https://run.vishota.com/ (free until I stop hosting it)

Use cases I see here:
- opening a dev project from another device;
- showing a project to a friend;
- testing HTTPS-only behavior: Secure cookies, OAuth redirects, camera/geolocation, mixed content;
- putting up a demo for some conference or meeting.
You can use it for more production-related things, but keep in mind that the more relay traffic you burn, the lower your priority in traffic distribution is.
P2P-first architecture is my way to make it actually free at any scale: in p2p mode the server does mostly signaling, and that's pretty cheap on the relay server side.

Built it for myself first, then decided to publish.

What I haven't done yet:
- stress testing (can p2p still work while the proxy is overloaded?);
- disabling relay-side proxying entirely (relay mode: if it works, congratulations, if not — you should try something else; note: in some network configs p2p connection is not possible at all);
- moving the tunnel service to a separate domain to protect my main domain's reputation (the tunnel endpoint can be abused).

I've been already using it for some cases like using my old galaxy a55 behind NAT as a VPS, also I've built it in my other project, agentic coding kanban board (will post about it another time, i guess), as a remote access feature basis, virunx worked pretty well for these cases.

I won't bore you with the deeper technical details here — you can dig in via the links below.

npm: https://www.npmjs.com/package/virunx

Main page: https://run.vishota.com

Any feedback welcome!

Note: code of this utility has been written with an AI assistance


r/commandline • • 2d ago

Meta Why this subreddit detoriated so much?

33 Upvotes

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

Command Line Interface ketodisk: a Rust CLI that reclaims macOS APFS space without deleting files or zipping anything

0 Upvotes

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:

  1. Exact duplicate CoW cloning (clonefile) - and if the file is compressible, it compresses once so the clones share compressed extents.
  2. Transparent LZFSE compression (com.apple.decmpfs + UF_COMPRESSED) - Finder, Spotlight, and your apps keep reading files normally with zero zip archives.
  3. 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 • • 2d ago

Help Why does this Makefile always run ld?

8 Upvotes

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.o

Makefile:

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 • • 2d ago

Terminal User Interface smenu v1.6.0 is finally released

4 Upvotes

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

Changes: https://github.com/p-gen/smenu/releases/tag/v1.6.0


r/commandline • • 1d ago

Terminals A terminal-based Russian Roulette game – would love to hear your feedback

0 Upvotes

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 • • 2d ago

Command Line Interface Gitlab - A small command-line tool that sorts images into folders by their pixel dimensions

0 Upvotes

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 • • 3d ago

Terminal User Interface TUI Tutorial/Guide for Beginners

7 Upvotes

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

Terminals [WIP] Transforming terminal interactions into a live semantic graph

9 Upvotes

youtube link

Well, I hope this one doesn’t violate Rule #6.


r/commandline • • 3d ago

Command Line Interface I missed the old DOS two-panel file managers, so I made one for the terminal: twinc (macOS, Linux, Windows

Post image
0 Upvotes

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

Terminal User Interface I made a TUI for reading te Bible

0 Upvotes

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

Command Line Interface Bash completion menu similar to ZSH's

Post image
26 Upvotes

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 • • 12d ago

Terminal User Interface Tuimessenger - All in one inbox for terminal

180 Upvotes

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.

https://github.com/whyyor/tuimessenger


r/commandline • • 14d ago

Terminals GitHub - Spxg/limo: Run JavaScript with browser Web APIs

Thumbnail
github.com
2 Upvotes

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

Terminal User Interface rclip 4: semantic image search in the terminal, now with a TUI

43 Upvotes

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 • • 20d ago

Terminals I made Comic Caret, a Comic Sans style font for terminals

35 Upvotes

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.


r/commandline • • 21d ago

Terminals Zellij 0.46.0 just released: the terminal multiplexer can now also completely replace your terminal

93 Upvotes

Hey! We just released a new version of Zellij. The major feature of this version is the ability to also run Zellij as a full fledged GPU-accelerated terminal.

This version also includes an Attention Inbox to allow you to manage multiple programs requiring your attention across multiple sessions. This can be useful for coding agents, build scripts or long test runs. When paired with the desktop terminal it can also show you colored pills on your tray so that you can know which program needs you at a glance.

This version also includes session previews in both the session manager and the new inbox. A new settings screen to configure Zellij in real time through the TUI, a right-click menu for quick mouse actions (that you can also configure) and loads more.

As per sub-rules, I want to disclose that some Zellij contributors and maintainers (present company included) use coding agents to assist in development.

Check out the release announcement for a deeper dive: https://zellij.dev/news/terminal-inbox-session-previews/


r/commandline • • 20d ago

Command Line Interface Keystore: CLI-Based key manager for Java

Thumbnail
github.com
0 Upvotes

Some weeks ago I started working on a Java CLI-based keystore app. I know some mature ones already exist on the market, but I wanted it to be as simple to use as possible and include commands that suit my work.

GitHub Repository: https://github.com/mateasmario/keystore

Until this moment, some functionality includes:

  • adding, removing, getting and listing custom keys
  • copying a key without displaying it on the screen
  • listing all keys without displaying their value on the screen
  • generating keys based on certain criteria (length, include digits, uppercase, lowercase, symbols, etc.)
  • generating OTP values based on the current time (elapsed seconds after epoch time - 1970) and already stored keys

Managing keys requires a password that is set by the user (keyboard input) when the first key is added/generated to the keystore. That password is used to AES-Encrypt the keystore file in the user data directory (e.g. %localappdata% for Windows).

There is also the possibility of switching to the FILE mode, which is going to ask the user for a file path instead of typing a password. That file contains the key that can be used to decrypt (maybe you keep your secrets on a USB drive). You don't need to create the key manually. Even in FILE mode, the user's still going to be asked for a password the first time, which will be used to derive a key and store it in the specified file path.

Was curious on how I can improve it: how to improve both user experience and also add features that might be helpful to you, the developer community.


r/commandline • • 20d ago

Other Software Art project - terminal simulator?

2 Upvotes

Not sure if this is the right place to post this. I'm working on an art project and would like it to be basically a short film of a conversation happening within a terminal. Between the computer itself and the user.

I'm wondering if anyone knows of some sort of terminal simulator, one where i could control both the input and the output to create dialogue. The more retro looking the better

The piece is a commentary on AI so obviously I don't want any AI.

Thanks,

someone who knows very little about coding but wants to make art

EDIT: thank you for all your responses!!! i got WSL and have been spending some of my free hours learning how to navigate linux (i've always wanted to, so this is a plus!) i followed u/mullikine 's advice using cool retro term and the text file method, and so far it's doing what i want it to do!


r/commandline • • 20d ago

Terminal User Interface Update: one9s v0.1.10: per-datastore quotas, Networks tab + a full OpenNebula lab in Docker

5 Upvotes

Hey folks,

A while ago I posted here about one9s, a pure TUI that talks directly to OpenNebula's XML-RPC API (thanks for the feedback back then). Quick recap: open the binary, select your VM, press r to reboot, s to stop, or u to power on (no VPN, no Sunstone dropdowns). Admins get hosts, datastores, decoded hex ACLs, and host maintenance in one keypress.

New in v0.1.10 after a month of production use:

Per-resource quotas (requested by real multi-tenancy setups):

  • Edit per-datastore limits (SIZE + IMAGES), per-network LEASES and per-image RVMS, not just the global VM quota.
  • The edit form is sectioned: existing quotas stay in their block, and a "Create" block pairs the ID with its limits so you do not mix up which datastore you are limiting.
  • VM-only updates preserve your datastore/network quota entries (OpenNebula merges section-wise; the old form used to drop fields).

New Networks tab: virtual networks at a glance: bridge, driver (dummy/bridge/vxlan), lease usage used/total, owner. Filterable like every other tab.

QoL: jump keys 1 to 6 between tabs, quota detail view on enter, and one9s vault edit (decrypt -> $EDITOR -> re-encrypt, ansible-style) for password rotations.

The side project nobody asked for but I needed: to develop/test one9s without touching prod, I built opennebula-lab, a full OpenNebula 7.4 cluster in Docker (front-end with FireEdge + nested KVM node, real VMs, SSH, NAT). Run docker compose up and you have a disposable lab for testing or certification study.

https://github.com/SergioZ3R0/opennebula-lab

Links:

Stack: Go + Bubble Tea/Lipgloss, AES-256-GCM vault, Apache 2.0.

Demo (new, with the lab running behind it)

Any killer feature missing? Especially curious if anyone here runs per-datastore quotas in production, that is the workflow I most want to get right.


r/commandline • • 20d ago

Terminal User Interface I got tired of the mv a tmp && mv b a dance, so I wrote a C++ CLI that uses renameat2() for atomic file swapping.

Post image
0 Upvotes

r/commandline • • 21d ago

Terminal User Interface ldapbrowser v1.2.0: interactive LDAP/AD browser in pure bash+curl+fzf, now with additional features inside

Post image
4 Upvotes

I’m the author. ldapbrowser is a read-only LDAP/AD directory browser and it needs only bash, curl and fzf.

Very lightweight and zero-dependent.

New in v1.2.0:

- CA certificate chosen with an fzf file picker during setup
- log view/show/clean
- Multiple instances can run in parallel, each with its own temp directory
- TERM/HUP/EXIT signal handling
- Better dependency check and detailed help for the directory types in setup.

Tested against 10 directory implementations: AD, FreeIPA, OpenLDAP, 389 DS, OpenDJ, ApacheDS, Okta, OneLogin VLDAP, JumpCloud and FoxPass.
It is read-only by design. There are various LDAP viewers/browsers/utils out there like Apache Directory Studio (Java GUI), ldap-utils, etc. ldapbrowser compares to them as a very lightweight and zero-dependent utility that can run on any jumpserver.

The code is written and tested by hand. AI is only used to help draft the README and CHANGELOG.

github.com/mytechspacexyz/ldapbrowser


r/commandline • • 25d ago

Terminals Ghostty Terminal's libghostty reached 1.0, and is now ABI stable

Thumbnail mitchellh.com
145 Upvotes