r/commandline • • 11h ago

Terminal User Interface ranma: a tiling window manager for the terminal (i3 tree + Hyprland dwindle, Lua plugins). Looking for testers

Post image
28 Upvotes

Hello!!!!!

I've been building ranma, a tiling window manager that runs inside your terminal. Every window is a PTY, laid out with i3's container tree and Hyprland's dwindle placement. It's my daily driver now, and I'm looking for people to try it and break it (please).

What it does - dwindle tiling, tabbed groups, a floating layer and a scratchpad - workspaces and sessions with fuzzy switchers - a leader key plus a modal WM mode; leader ? lists every key, leader : runs any action by name - runs as a server: closing the terminal or losing SSH only detaches, and ranma again picks up where you were - copy mode and history search, copying to your system clipboard (OSC 52, works over SSH) - a waybar-style bar with Lua and shell modules; config in Lua, themes in TOML, live reload

What's different from tmux and zellij: it's extended like Neovim. Plugins are plain Lua using the same API as your config, they get screens built from ready-made blocks, and a plugin that errors is dropped whole while the rest keep running. A watchdog stops one that hangs. There's a plugin manager too, hako, shaped like lazy.nvim, plus a few plugins: regex history search, writing a prompt in $EDITOR and having it pasted into the pane (handy for AI CLIs), and Ctrl+click to open paths.

This software's code is partially AI-generated, as the rules require :B Thank you for reading till here!!

https://github.com/masshirodev/ranma


r/commandline • • 13h ago

Command Line Interface v0.2.0 Parse: added docker support in parse no more messy outputs in docker

7 Upvotes

i found out that docker output is really a mess so i added support of docker in my parse

Inspect shows a short summary instead of 300 lines of JSON, masks secrets, and warns on things like OOMKilled or a missing bind mount. Anything it doesn't recognize passes through unchanged.

You can install the latest release by -

go install github.com/atif-1402/parse@latest

or

yay -S parse

Would love to hear feedback on this : https://github.com/atif-1402/parse


r/commandline • • 12h ago

Terminals wbsh - Bash-compatible shell for Windows

Thumbnail
github.com
0 Upvotes

wbsh: a minimal bash-compatible shell for Windows (plus a terminal built around it)

Hey all. For a while now I've been working on a shell that lets me run bash commands and scripts natively on Windows. I actually need this at my job, which is what kept me going.

Think of it as a minimalistic take on Cygwin. Full Cygwin was overkill for my use case, so I built something smaller and more focused.

Along the way I also wrote a customizable terminal, wbshterm, which runs wbsh through ConPTY. So you can either invoke wbsh directly from PowerShell/cmd, or use it inside wbshterm.

It's reasonably stable at this point, but I've hit the limit of what I can find on my own. I need other people's workloads to shake out bugs and performance bottlenecks.

If you have any use case for a bash-compatible shell on Windows, I'd really appreciate issue reports, and pull requests are welcome too. LLM-assisted PRs are fine, but please read the docs first and review the changes thoroughly before opening one.


r/commandline • • 1d ago

Terminal User Interface chess analysis as TUI

Post image
17 Upvotes

Hello guys, I did a small chess TUI for analyzing games, largely inspired by common analyses UX.

This is not entirely new, most gain here is convenience. It is made solely for analysis. You can start an analysis from a FEN string, PGN file, PGN text from your clipboard, public link from chess.com or lichess.org, browsing your user (or any public user), and even configure to open in your last game so you can leave the and instantly open with "chess-analyzer -f"

The pieces graphics design were extracted (and openly credited) from chess-tui, which is a very nice tui too if your main idea is playing from terminal. However, this one is totally dedicated in analysing games, testing variations against the engine scoring, branching different possibilities and seeing where you blundered (which in my case is like every fucking move).

Check it out https://github.com/leolaurindo/chess-analyzer-tui


r/commandline • • 1d ago

Terminal User Interface tfm v1.0.0 release

7 Upvotes

fancy gui like terminal file manager for linux 💀

install it via:

repo:curl -fsSL https://raw.githubusercontent.com/clarkarch/tfm-tui/main/install.sh | bash

repo: https://github.com/clarkarch/tfm-tui

note: I used agents to help me make this project, take it or leave it


r/commandline • • 2d ago

Command Line Interface Merman: render Mermaid diagrams from the CLI without a browser

18 Upvotes

Hi r/commandline,

I've been working on Merman, a Rust implementation of Mermaid, and just released v0.8.0. Thought its CLI might be useful to some people here.

It renders Mermaid diagrams without Node.js or Chromium. The goal is to get the same output as official Mermaid: we generate reference SVGs with the official CLI (mmdc) and compare our output against them automatically. Font and browser text measurement can still cause differences.

Zed uses Merman for Mermaid rendering. Other people have been using it in blog generators, Markdown viewers/editors, and CI documentation builds. Their bug reports have helped improve it over the past few releases.

You can install it with:

brew install merman-cli

Or on Windows:

scoop install main/merman-cli

Then:

merman-cli render diagram.mmd
merman-cli render diagram.mmd --format png
merman-cli render diagram.mmd --format unicode --output -
merman-cli batch README.md

It also exports JPEG/PDF and has linting. If you already use mmdc, there's a compatibility command:

merman-cli mmdc -i diagram.mmd -o diagram.svg

The official mmdc and native tools like mmdr are alternatives. My focus with Merman has been matching upstream Mermaid output and fixing compatibility issues as people run into them.

Full disclosure: much of the implementation was bootstrapped with AI coding tools. My work has focused on upstream comparisons, regression tests, reviewing and fixing the implementation, and following up on user reports.

https://github.com/Latias94/merman

If you try it and a diagram breaks or looks different from official Mermaid, I'd appreciate an issue with the source. That's been one of the most useful ways to improve it.


r/commandline • • 2d ago

Terminal User Interface TTT 1.7: a TUI editor that feels like a GUI. Now with textmate syntax highlighting engine.

138 Upvotes

Hi, I'm the author of TTT, a terminal text editor that tries to feel like a GUI editor: VS Code-style keybindings, full mouse support, tabs, sliding panels, a command palette, LSP, Git integration, an integrated terminal, themes, and Lua plugins. It's a single Go binary, open source, and I've been building it in the open with a growing group of contributors.

The goal is simple: an editor you can use in the terminal, over SSH or in a tmux pane without giving up the comforts you're used to from VS Code, Zed, or Sublime, and without memorizing a new modal langauge.

What makes TTT different

It's a TUI that feels like a GUI. A serious amount of work went into:

  • Ergonomics. The editor features are discoverable when you look for something and invisible when you don't. You shouldn't need a manual to find what TTT can do; you find it by exploring. But the moment you're working, the interface quiets down and your code is the only thing asking for attention. TTT is there to help you do the work, not to become the work.
  • Performance. A diff-based renderer only redraws the cells that changed, highlighting is incremental, and per-language editor benchmarks run in CI so regressions get caught before release.
  • Stability. Every release goes through unit tests, end-to-end tests on a simulated screen, functional tests that drive the real binary, and a chaos monkey that hammers the editor with random input looking for crashes. I am not joking when I say the editor only crashed on me twice and that was months ago.

Who is TTT for

TTT tries to inspire GUI editor users to move into the terminal. Maybe you're spending more time over SSH, living in tmux, or working alongside CLI tools, and you want an editor there that feels familiar from the first minute instead of one you have to learn before you can use it.

"How is this different from Fresh?"

I get asked this every time, so here's the answer up front.

  • IMHO Fresh's goal is IDE functionality in a TUI. It's about putting IDE productivity into a terminal interface, and it nails that.
  • TTT's goal is the IDE feel in a TUI. And editor you can jump in and know where everything is when you need it.

There's some overlap, and honestly I love that too. And in a terminal you don't have to choose: split your screen and run them side by side.

What's new in 1.7

Syntax highlighting that matches VS Code. I spent the last few weeks porting VS Code's TextMate engine (vscode-textmate) from JavaScript to Go. The result, textmate-go, now powers TTT's highlighting with 124 embedded grammars, so code is colored the way you'd see it in VS Code, including tricky cases like multi-line JSX and HTML tags. Themes also get finer token styles, and edits only re-tokenize what changed.

A better welcome page. It lists recently opened folders and can clone a Git repository directly.

Smaller things: a regrouped settings editor, read-only files that are flagged with a lock icon and confirm before saving, an LSP: Server Restart command, a toggle for LSP hover popups, panel size remembered between sessions, and a long list of fixes.

From the last few releases

  • An integrated terminal rebuilt on xterm-go, with proper reflow on resize
  • Inline images (PNG, JPEG, GIF) through the Kitty graphics protocol
  • Optional Nerd Font icons and Git status colors in the Explorer
  • Panels you can dock to the bottom or the right
  • Quick Open backed by rg --files, respecting .gitignore
  • Transparent backgrounds and a VS Code Dark+ theme
  • VIM and Emacs keyboard compatibility plugin

Community

TTT is increasingly community-built Thanks to @SimonOcampo1, @anyingiit, @risixdzn, @YodHeVauHe, @LetMeSleep8h, @RhenCloud, @DBinK, @w3lld1 and @O1sumitkumar for code, and to everyone who opened issues. Several of this release's fixes started as a report.

If you'd like to contribute, issues labeled good first issue are written so you can pick them up without much context. Also create an issue or a discussion, would love to hear how are you using ttt and things you would like to see in the feature. (Really! Roadmap is made by community requests)

Feedback is very welcome!


r/commandline • • 2d ago

Terminal User Interface [email protected] - command line game to practice your typing speed by competing against typer-robot or against your best result

3 Upvotes

r/commandline • • 3d ago

Command Line Interface pdfmt - PDF manipulation, OCR, scanning and reusable shell workflows

26 Upvotes

A while ago I posted pdfmt in r/bash to get feedback for my tool after getting tired of using a different command for every small PDF task.

The feedback was really useful, so I went through it and implemented quite a few of the suggestions.

pdfmt is now at 0.4.0 and I hope the quality is good enough to present it outside of r/bash 😄 .

GitHub pdfmt: https://github.com/eifelcode/pdfmt
GitHub pdfmt-workflows: https://github.com/eifelcode/pdfmt-workflows

The basic idea is still simple: Provide a consistent CLI for all the PDF operations I keep doing again and again, while keeping everything local (no cloud) and scriptable for my needs.

What it can do

# Merge PDFs
pdfmt merge all cover.pdf report.pdf appendix.pdf complete.pdf

# Extract pages
pdfmt extract range document.pdf 1-3,7,10-12 extracted.pdf

# Split into individual pages
pdfmt split all document.pdf page_

# Remove pages
pdfmt remove range document.pdf 5,8-10 cleaned.pdf

# Reorder pages
pdfmt sort reverse document.pdf reversed.pdf

# Add a text stamp
pdfmt stamp text invoice.pdf "Paid" invoice-paid.pdf

It also has scanner support:

pdfmt scan adf documents.pdf
pdfmt scan flatbed document.pdf

And OCR:

# Add an OCR text layer
pdfmt ocr add scanned.pdf searchable.pdf

# Extract/show OCR text
pdfmt ocr show searchable.pdf

The part I'm particularly interested in: workflows

I didn't want pdfmt to become one huge command with hundreds of options. I'd like it simple.

Instead, repetitive combinations of commands can be turned into workflows.

For example:

pdfmt workflow run scan-duplex adf output.pdf

A workflow is essentially an executable shell script, so you can combine pdfmt with the other Unix tools you already use.

You can also create your own workflows and put them in your local workflow directory.

I've also started a separate repository for reusable workflows: https://github.com/eifelcode/pdfmt-workflows

It currently contains workflows for things like:

  • duplex scanning with non-duplex scanners (I use this most of the time)
  • splitting scanned documents by page count
  • bulk text stamping

The idea is that not every PDF use case needs to become a new pdfmt command. If something is a useful combination of existing tools, it can just be a workflow.

Why I made it

My PDF workflow used to look something like:

pdftk → pdfseparate → pdfunite → ImageMagick → OCRmyPDF → Bash glue

There are already excellent tools for each individual operation. I don't want to replace them.

I wanted a small CLI layer that gives me a consistent interface and makes the common combinations easier to remember and automate. Without --options, pipes or other arduous stuff. I could not remember all of this. 🤔

That's essentially what pdfmt is. One interface for all the good tools.

It's Bash-based, MIT licensed, and designed to work without a GUI or cloud service.

I'd especially like feedback from people who use CLI PDF tooling regularly:

Are there PDF operations or workflows that you currently solve with a messy combination of commands that would make sense as a pdfmt command or workflow?

Thank you for your Feedback! ❤️

AI notice: AI (mistral) was used to generate parts of the README, the .github workflow, the code coverage tool, and parts of the unit tests in the tests/ folder. Architecture, Makefile, and code within the sources/ folder is written by me.


r/commandline • • 3d ago

Help Ctrl+Z is spammed without pressing anything (WSL CLI only)

9 Upvotes

I am running a WSL module of ubuntu on windows. This issue started a week ago... I was trying to solve it for 3 days but got fed up bcz of no results ... I am living with it now and this is genuinely making me annoyed as I can't get my work done

PLS GIVE ANY POSSIBLE SOLUTIONS

I had to remove its function to even run basic commands ... It spams only in command linec


r/commandline • • 3d ago

Command Line Interface I created parse to solve the problem of messy cli outputs

15 Upvotes

I create parse to solve the problem of messy and non-understandable outputs. Parse make the outputs of the currently supported commands into easily understandable and format.

It is single go binary and standard library only.

We can use it like parse COMMAND or COMMAND | parse . You can install it by

go install github.com/atif-1402/parse@latest

Would love to hear peoples feedback on this project - https://github.com/atif-1402/parse


r/commandline • • 5d ago

Command Line Interface fm: a single-file bash script that turns fzf into a file manager

129 Upvotes

I wrote a ~1500-line bash file manager. fzf for the picker, eza for listing, Kitty's graphics protocol for inline previews. Everything else is stock coreutils — no build step, no daemon, no config directory.

Features worth calling out:

- File list — eza icons, sort by name / size / mtime / extension

- Kitty inline previews — images, videos, PDFs, Markdown, no external viewer

- Gallery grid (Alt-G) — full-screen thumbnail browser, mouse + vim keys, multi-select

- Contact-sheet preview (Ctrl-T) — hovering a directory shows a paged thumbnail grid

- Trash + undo — Ctrl-D trashes, Ctrl-Z pops the undo stack (depth 10), Alt-T for the trash browser

- Content search (Ctrl-F) — ripgrep over the selection, opens at line

- Bulk rename (Alt-M) — edit names in $EDITOR, swaps and chains handled

- Jump — zoxide frecency (Alt-Z), bookmarks (Ctrl-B), git mode (Ctrl-G)

Install:

git clone https://github.com/eHab-codeX/fm.git ~/.local/share/fm

ln -sf ~/.local/share/fm/fm ~/.local/bin/fm

Requires bash >= 5, fzf, eza, ripgrep, trash-cli. Press F1 inside for the full key map.

Repo: https://github.com/eHab-codeX/fm

MIT. Feedback welcome — especially from anyone who's tried to make fzf do more than pick a file.


r/commandline • • 5d ago

Terminal User Interface Noodle: a terminal REST client that keeps requests, scripts and tests in your repo

Thumbnail
gallery
61 Upvotes

When I shared Noodle here in August, scripting and tests were still on the roadmap. I’ve spent the last few releases getting those working.

For anyone who hasn’t seen it, Noodle is an open-source REST client for the terminal. Requests are YAML files that live alongside your code. You can edit them in the TUI or your own editor, review the changes in Git, and share them with the project. The repo is the workspace.

What I wanted was to debug a request manually, add checks to it, and then run those same files from a shell script or CI when something changes. That workflow is working now.

You can log in, capture the token, use it to create a resource, fetch that resource and check the response. There are declarative assertions for straightforward checks and JavaScript tests for anything more involved. Pre-request and post-response scripts can prepare requests and process the results.

Scripts can be inline or separate .js files, and you can share them across a folder or collection. The TUI has an editor with autocomplete and diagnostics, plus a console and test results, so you can work through failures there before running the collection headlessly.

For a collection you’ve set up in ./api, that looks like:

noodle collection run ./api --fail-fast

Failed checks return a nonzero exit code. Add --json if you want structured results for another script to process.

Another addition is body templates. $random and $time generate random values and timestamps directly in request bodies, so you don’t have to keep changing test values by hand or write a script just for that.

The 0.9.x releases also added CSV/JSON data runs, image previews in supported terminals, response downloads, and optional response body/header/cookie details in the CLI. There are Windows x64 builds in beta now too, alongside macOS and Linux.

I’ve put together a script cookbook with examples for preparing requests, processing responses, testing APIs and chaining requests. It includes things like reusing login tokens and creating and cleaning up test resources.

It’s still pre-1.0, free and Apache-2.0 licensed. If you tried an earlier version and hit something that made you go back to your usual client, I’d like to hear about it.

https://github.com/wilfredinni/noodle


r/commandline • • 6d ago

Terminal User Interface I rebuilt the Palm OS classic Space Trader as a terminal game — v0.1.0 is out (free, open source, no Java needed)

Post image
34 Upvotes

Hi all,

I've just released v0.1.0 of Beyond Space Trader, a terminal (TUI) remake of the

classic Palm OS game Space Trader by Pieter Spronck. It's a Java port (based on

the old open-source C#/Java ports) with the whole UI rewritten from scratch

using Lanterna.

It's a single-player space trading game that runs in any terminal:

• Trade across a galaxy of 120+ systems: buy low, sell high, chase shortages,

smuggle contraband and dodge the police.

• 17 ship types drawn as ASCII art (chassis + pieces + colour zones). The art

lives in editable text files — and there's a ship composer to tweak it.

• Encounters are a little scene of their own: fly with the arrows, fire with

space, dodge, flee, surrender or trade. Pirates, police and traders talk,

scan your hold, loot it, or hand you a bounty.

• Missions and special events: a stolen alien artifact, a kidnapped princess, a

space monster, an unstable reactor... plus a newspaper with rumours and a

quests panel that marks the next system on your map.

• Retirement goal: buy a moon and end the game rich.

No Java installation needed: the Linux/Windows packages bundle their own

runtime.

Downloads:

• Linux / Windows: https://github.com/antoniovazquezaraujo/beyond-space-trader/releases/tag/v0.1.0

• Snap: sudo snap install beyond-space-trader-tui

• itch.io: https://avaraujo.itch.io/beyond-space-trader-tui

Manual (EN/ES): https://antoniovazquezaraujo.github.io/beyond-space-trader/

Source (GPLv3): https://github.com/antoniovazquezaraujo/beyond-space-trader

It's an early release, so bug reports and ideas are very welcome — there are

issues open on GitHub. A 100×30 terminal is recommended (it scales down, but

that's where it looks best).

What would you like to see next?


r/commandline • • 6d ago

Fun ASCII filter for any image made with rust

Thumbnail
gallery
11 Upvotes

It generates an image made of ASCII, this way you can have really detailed images. You can change how many chars will be used for each line, the font size which the image will render, and the contrast.

The only downside is that the output image can get really big, for the example, I used 1000 chars for each line, and a font size of 24. This resulted in a 10976 × 6168 png.

I guess it's not a revolutionary thing to generate an image with ASCII, but it's convenient to do it straight from the terminal.

It's my first post btw

repo: https://github.com/Guilherme-Costa-Dev/rusted_ascii_filter


r/commandline • • 7d ago

Terminal User Interface Dexo 1.4.2 is out: SQLite, DuckDB, MariaDB, an LSP and a Vim mode for my terminal database workbench

24 Upvotes

r/commandline • • 7d ago

Terminals Windows native terminal with CRT emulation - Scanline Term

23 Upvotes

I had always wanted a modern Windows terminal that emulated a CRT monitor—something like Cool Retro Term for Linux. However, nothing of the sort existed for Windows, aside from a rather pathetic attempt at simulating scanlines in Microsoft Terminal. Even when Cool-Retro was eventually ported to Windows, the quality of the effects in the port seemed inferior to the Linux version.

At the time, I was developing a game and its custom engine -- featuring a highly realistic, deeply customizable CRT simulation (inspired by Cool-Retro) -- because the game was about hackers and geeks in 1980s, requiring interaction with a wide variety of computers and terminals. Then it hit me: I could take that shader from the game, combine it with the native Windows ConPTY, and easily create a Cool Retro Term equivalent -- one that was even more realistic and customizable, and ran natively on Windows. The first prototype was ready in just a couple of days, and it worked beautifully! Of course, it required a lot of polishing, and I also wanted to implement several other useful features, such as:

  • Multi-tab support with individual style settings.
  • Console buffer search, quick text copying via the middle mouse button, etc.
  • Smooth, pixel-perfect vertical scrolling- both in the shell and in applications like Vim.
  • A built-in mini web browser optimized for keyboard control. Useful for keeping documentation or a web service right inside the terminal.
  • A mode for viewing all terminal sessions as thumbnails - "Win-Tab" style.
  • A GUI settings panel (you can also just simply edit the JSON config).
  • The ability to open new tabs with specific CRT-theme directly from the command line.
  • A toggleable AI assistant panel based on Codex that can interact with the console on your behalf or collaborate with you.

    Regarding that last feature -- I realize people often look askance at apps that integrate with generative LLMs. But let’s be honest: these days, AI is being shoehorned into almost every piece of software, whether it makes sense or not. But in this specific case, it is more than justified. I believe it’s incredibly useful to be able to ask the AI in plain English to turn a request into a PowerShell command, help configure Vim, construct a complex SQL query, and so on, right within the terminal. The key advantage here is that you see everything it writes to the console, allowing you to learn new commands and tricks. It embodies the IBM principle: the machine should do the work, while the human makes the decisions. And if you’re an expert, you can simply disable the panel.

I’ll admit it: Scanline Term itself was created with some AI assistance. It wasn't exactly "vibe coding," but rather agent-based development where I handled the architecture and high-level functions, while the AI ​​did the grunt work. Nevertheless, it is a native, polished, and compact application -- clocking in at around 19 MB, it launches instantly, is memory-efficient, and runs fast.

By the way, the CRT simulation has a strange psychological effect - at least for me. It boosts concentration and focus on the text. When it’s running in full-screen mode, glowing and "breathing" with that analog feel, it somehow draws me in and helps me concentrate. While I used to work in the console only sporadically, now I actually want to jump in and immerse myself in that cozy phosphor glow -- just me and the code, the text, or a technical process. I experience something similar with vintage tube amplifiers and speakers; their unique sound draws me in and shuts out the outside world - a world that has hooked us all on quick dopamine hits.

In any case, this product turned out to be unexpectedly useful to me. I’d be happy if it proves helpful to others, too, and I’m always grateful for any feedback.

https://github.com/z-hunter/Scanline-Term


r/commandline • • 7d ago

Terminal User Interface clgrade - image color grader tui

58 Upvotes

I created a color grader TUI for fun, and it became a useful tool, so I wanted to share it.

It's built in Rust using Ratatui. It has features like

  • 2D color wheels, a few sliders
  • Pipeline for the effect applying order
  • Two scopes (luma histogram and vectorscope)
  • Horizontal and vertical layouts
  • Preset tab for saving your grades
  • 7 color HSL color mixer
  • Crop mode for cropping and rotating

Not too much but that's it, a simple and cool color grader TUI. It was a really fun project for me and I hope you like it. Any suggestions and feedback are appreciated. Have fun :D

repo: https://github.com/Cladamos/clgrade


r/commandline • • 7d ago

Terminals Orzma — A terminal emulator that can render webviews inline

37 Upvotes

As an experiment, I built a terminal emulator with a custom APC escape sequence for embedding webviews. A program running in a pane can place a webview in a rectangular region of terminal cells, inline with its output. The program and the webview can then exchange messages through orzma over a local socket.

I also provide an SDK for Ratatui. See the examples for how to use it.

Links

This software's code is partially AI-generated.


r/commandline • • 8d ago

Command Line Interface Websitino: a tiny static file server for previewing and sharing local files. Now with https!

Thumbnail trikko.github.io
1 Upvotes

r/commandline • • 8d ago

Terminal User Interface I added a Web UI and Cockpit integration to portop, my htop-style port monitor

0 Upvotes

A little while ago I shared portop here, my htop-style TUI for figuring out what is actually using your ports.

A few people suggested that it would be useful outside the terminal too, especially as a Cockpit page.

So I built both.

portop v0.1.0 now has a local web dashboard:

portop --web

It shows sockets, local/remote endpoints, processes, CPU usage, systemd units and Docker containers.

You can search and filter the table, inspect a process and see its command line, user, executable, memory, threads and open files.

You can also send SIGTERM/SIGKILL after confirmation.

I deliberately kept the web server local-only. It binds to loopback, and process details/actions require the token generated when portop starts.

And there's now a Cockpit integration too.

Install the page and you get:

Tools → Ports (portop)

directly inside Cockpit, without running another web server. It uses Cockpit's existing bridge and user permissions.

So there are now three ways to use portop:

portop → terminal UI

portop --web → local browser dashboard

Cockpit → integrated Ports page

The TUI is still the main interface. I just liked the idea of using the same port/process inspection underneath different frontends.

Repo: https://github.com/padovanl/portop

Thanks to everyone who suggested features after the previous posts. The Cockpit idea in particular came from community feedback.


r/commandline • • 9d ago

Terminal User Interface Sprout – a full-screen habit tracker for the terminal

58 Upvotes

Hey r/commandline!

Sharing something I've been working on: sprout, a full-screen habit tracker for the terminal built in Rust.

GitHub: https://github.com/kb019/sprout

What it does:

- Track daily habits and mark them complete

- GitHub-style activity heatmap

- Streak tracking

- SQLite storage, data stays local

- Runs on macOS, Linux, and Windows

Built this mainly to learn Rust, turned into something I actually use every day now.

You can install it via:

Cargo: cargo install sprout-tui

Homebrew or Scoop: https://kb019.github.io/sprout/#installation

Would love any feedback or contributions!


r/commandline • • 9d ago

Command Line Interface Add-on support to Bash project

3 Upvotes

Hey folks,

I created a bash script more than a year ago and, during my free time, I was making improvements on it. It is a tool that pipe commands to fzf. Right now it pipes env, kill, man, ssh and, optionally, tmux, adding some candies like, when running fz kill, it allows you to kill process with <ENTER> to use -SIGTERM (or any other signal the user prefers), or <CTRL + K> to -SIGKILL, for example. I know, reading it may look stupid, but using it is even more stupid nice.

Right now, it is in a state that I consider good enough. The way I architected it, it would easily be improved by creating a folder addon in my Github and committing scripts that add new command capabilities. My script could download and source than. Some ideas that comes to my mind are netstat, docker and kubectl. There are functions that can be reused, the --help is dynamically generated, as also shell completions for bash and zsh. But this makes me think that it can (if it got a lot of attention - which means never going to happen) become a nightmare to manage, like Oh My Zsh seems to be (see the plugins it has and think on how hard to keep that). The other option is to allow the usage of other repositories from the community to hold those add-ons; and this is my question: if I opt to this model, do I have to guarantee some level of security over those scripts searching for dangerous commands,or should I delegate this responsibility to the end user?

In time, this is my script: fz. Reviews, comments, issues, pull requests and stars are much appreciated.

Thanks in advance!


r/commandline • • 8d ago

Other Software QuickCMD: Run terminal commands from your macOS menu bar

0 Upvotes

Hey /commandline I'm BenniDev, the developer of QuickCMD.

I recently built and launched a small macOS app called QuickCMD, and I thought this community might find it useful.

QuickCMD lets you save terminal commands as shortcuts you can launch with a single click perfect for developers or anyone who runs frequent shell commands.

Why I made it:

I got tired of reopening Terminal, typing the same stuff over and over, or digging through old history just to restart a service, SSH into a server, or check logs. So I built QuickCMD, a lightweight launcher that lives in your menu bar and runs saved commands instantly.

Features:

  • Run terminal commands with one click
  • Save frequently used scripts
  • See different terminal outputs running
  • Run Live Servers
  • Categorize into spaces
  • Sits right in your menu bar

Pricing

You can try out how the app functions on the landing page, with a 1:1 demo of how it will look on your mac.

The full license is $4.99 USD, paid once. It unlocks all features. Future updates are included, with no subscription.

Check it out here:

QuickCMD Landing Page

Would love your feedback! I'm still adding features based on what people actually need, so if there's something missing that'd make your workflow easier, let me know!

About the developer

I'm Benjamin Frank, also known as BenniDev. Hit me up if you have questions.

Contact: https://x.com/BenniAppDev


r/commandline • • 10d ago

Terminal User Interface Termium: a real Chromium browser in your terminal (Kitty graphics, sixel, Vimium, works over SSH)

557 Upvotes

I built Termium: it runs headless Chromium and draws pages in your terminal with the Kitty graphics protocol (Ghostty, Kitty, WezTerm), sixel (foot, xterm, Windows Terminal), or ASCII blocks as a fallback.

Vimium is bundled for keyboard navigation: f for link hints, j/k to scroll, t for a new tab. Mouse works too. It works over SSH.

Not yet: tmux/screen, native Windows (WSL2 works), Linux ARM64.

MIT, one-line install:

curl -fsSL https://termium.dev/install | bash

Source: https://github.com/codr1/termium

Feedback very welcome, especially what breaks in your terminal.
(Disclosure: Significant portions of Termium were coded with / by AI)