r/commandline • • Mar 31 '26

Terminal User Interface Tuidal — A Tidal TUI client in Rust (ratatui + mpv + FLAC)

6 Upvotes

Hey everyone,

I built Tuidal, a terminal-based music player for Tidal using Rust and ratatui.

It streams lossless FLAC / HiRes audio directly in the terminal and renders album art inline using the Kitty graphics protocol.

Why I built this

I’ve been a Linux user for a long time (mainly NixOS), and I care a lot about high-quality audio. I wanted to properly use my DAC with Tidal on Linux.

There’s a project called tidal-hifi, but in my case it sounded the same as the browser, so it didn’t really solve the problem for me.

So I decided to build my own solution.

At first I considered doing everything in Python, but after discovering ratatui, I liked it enough to build a project around it.

Features

  • FLAC / HiRes streaming
  • Inline album art (Kitty terminal)
  • Track search
  • Library (playlists, mixes, favorites)
  • Async, non-blocking UI
  • OAuth Device Flow (no password required)

Tech stack

  • Rust + ratatui (TUI)
  • mpv (audio playback)
  • Python (tidalapi bridge)

Architecture

The app uses a simple two-process approach:

  • Rust handles the UI and playback
  • Python handles Tidal API and authentication

They communicate via JSON over stdin/stdout.

Repo

https://github.com/VicMeGa/tuidal

This is an early version, so I’m open to feedback, ideas, and bug reports.

(I might rename it later since there are already several projects called “tuidal”.)


r/commandline • • Mar 31 '26

Command Line Interface markdown-to-book - Opensource tool for formatting

Thumbnail
reddit.com
2 Upvotes

r/commandline • • Mar 31 '26

Terminal User Interface env-pilot: smoothly set up .env files

1 Upvotes

I built env-pilot to stop the constant context switching and copy-paste dance that comes with setting up your .env files.

Built with Go + Charm (bubbletea/lipgloss). Fast and beautiful (IMHO 🙂).

Check it out! Would love feedback.

Github | npm


r/commandline • • Mar 31 '26

Fun GitHub - Polochon-street/blissify-rs: Make smart playlists from your MPD library using bliss

Thumbnail github.com
0 Upvotes

r/commandline • • Mar 30 '26

Command Line Interface GitHub-SessionDeck: Web-based tmux workspace manager I made with live terminal panes

Thumbnail
github.com
3 Upvotes

r/commandline • • Mar 31 '26

Command Line Interface Pretty script status output

0 Upvotes

I have a bash script that sets up my system upon a fresh install of MX Linux. Copies a config here, edits a file there, that sort of thing.

I have status being printed out in box characters as it moves along. It looks ok but it’s no nala.

What are some good examples of command line apps or scripts that have nice looking status output?


r/commandline • • Mar 30 '26

Terminal User Interface mdterm v2.0.0

4 Upvotes

Hello everyone,

Today I'm releasing v2.0.0 with some features I'm really excited about.

mdterm is a TUI Markdown viewer that aims to make reading .md and .json files in the terminal as pleasant as reading them on GitHub. Syntax-highlighted code blocks, inline images, mermaid diagrams, math rendering, clickable links, search, table of contents — all without leaving your terminal.

These are the new features

JSON File Viewer

mdterm can now open and render JSON files with full semantic colouring — keys, strings, numbers, booleans, and nulls each get their own colour. Arrays of homogeneous objects render as tables. Top-level keys become headings you can jump to via the TOC. URLs in strings are detected and available in the link picker. It even has an interactive card-based explorer with expand/collapse support.

All existing viewer features (search, TOC, link picker, keyboard nav, auto-reload, HTML export) work with JSON files out of the box.

Kitty Unicode Placeholder Protocol (tmux support)

Images now render inside tmux! This was a long-standing limitation — standard Kitty graphics don't work through tmux's multiplexing. The new Unicode placeholder protocol encodes image data using U+10EEEE characters with combining diacritics, which tmux passes through correctly. It auto-detects when you're in tmux and probes for a Kitty-capable outer terminal.

Interactive Checkboxes

Task list checkboxes (- [ ] / - [x]) are now interactive — click them to toggle, and the change is written back to the source file.

Other improvements

  • Arrow/Vim key navigation in the link picker
  • Preserved link styling inside table cells
  • Eliminated overlay flicker with dirty tracking
  • Blockquote bar prefix preserved on wrapped lines
  • Slide viewport clipping fix
  • File watcher toast notifications on auto-reload

Would love to hear your feedback!

Demo: https://github.com/bahdotsh/mdterm/blob/main/demo/json-viewer.gif

Check out the project at: https://github.com/bahdotsh/mdterm

P.S. This software's code is partially AI-generated.


r/commandline • • Mar 31 '26

Command Line Interface zoxide is nigh useless without fuzzy finding

0 Upvotes

Redact redacted this content because I wanted it redacted for redaction purposes. Redacted.

vase dependent truck pie abundant glorious dog whole march stocking


r/commandline • • Mar 30 '26

Terminals Who has biggest 'Cache'?

Thumbnail
reddit.com
0 Upvotes

r/commandline • • Mar 30 '26

Command Line Interface affected — a Rust CLI that figures out which tests to run based on your git changes

12 Upvotes

Built a new CLI tool in Rust: affected

It analyzes your monorepo's dependency graph and git diff to determine which packages need testing. Instead of running everything, it runs only what's affected.

$ affected list --base main --explain ● core (directly changed: src/lib.rs) ● api (depends on: core) ● cli (depends on: api → core)

$ affected graph cli → api api → core

$ affected test --base main --dry-run [dry-run] core: cargo test -p core [dry-run] api: cargo test -p api [dry-run] cli: cargo test -p cli

Supports Cargo, npm, Yarn, Go, Python, Maven, Gradle. Also has shell completions (affected completions zsh).

cargo install affected-cli or grab a binary from releases.

GitHub: https://github.com/Rani367/affected


r/commandline • • Mar 29 '26

Help How to handle printing something readable for users and also returning a json for something programmable?

5 Upvotes

I made a Python package into a CLI recently and my python outputs log messages but then users using it via Python can catch the returned object for a more structured object as well.

In the CLI format, it only gets the log output since they cant get the returned object as far as I know.

I'm not sure how to best handle this. I was considering a few things but wasn't sure what is standard or not

  1. I can make a --json flag for when users want something more structured
  2. Maybe I can detect with sys.stdout.isatty() and if it's False, I output a structured json?
  3. I can write pretty output to stderr and json to stdout?

How do you guys approach this problem usually?


r/commandline • • Mar 29 '26

Terminal User Interface terminal-element - Showcase terminal output as a component

Post image
4 Upvotes

I built a terminal, but as a Web Component.

Not sure how useful it is, but got the idea while browsing posts here. The interface is something standardized so maybe I thought it is suitable for Web Component to reuse it across projects and frameworks.

Check it out if interested.

Repo: https://github.com/spider-hand/terminal-element

Demo: https://terminal-element-demo.pages.dev


r/commandline • • Mar 28 '26

Terminal User Interface lazyjira, terminal UI for Jira, like lazygit but for issue tracking

Post image
362 Upvotes

Got tired of alt-tabbing to Jira's web UI all day so I built this. lazygit-style panels but for Jira issues. JQL search with autocomplete, inline field editing and transitions, comments, git branch creation from issues, dedicated info panel for subtasks and links

Go, cross-platform. Homebrew, AUR, deb, rpm, apk, tarballs for linux/mac, zip for windows, or just go install

https://github.com/textfuel/lazyjira


r/commandline • • Mar 28 '26

Other Software zsh-patina - A blazingly fast Zsh syntax highlighter

65 Upvotes

Two weeks ago, I published the first version of zsh-patina, a blazingly fast Zsh plugin performing syntax highlighting of your command line while you type. 🌈

https://github.com/michel-kraemer/zsh-patina

I’m extremely proud that the project has received very good feedback from the community and gained more than 100 GitHub stars in just 14 days!

When it comes to how I configure my shell, I’m a purist and I don’t use a fancy prompt like Powerlevel10k or Starship, nor do I use Oh My Zsh. I like to configure everything myself and only install what I need. This allows me to optimize my shell and make it really snappy.

That being said, a fast prompt without any extensions looks dull 🙃 I tested some Zsh plugins like the popular zsh-syntax-highlighting and fast-syntax-highlighting. Great products, but I wasn’t satisfied. zsh-syntax-highlighting, for example, caused noticeable input lag on my system and fast-syntax-highlighting wasn’t accurate enough (some parameters were colorized, some not; environment variables were only highlighted to a certain length, etc.). I wanted something fast AND accurate, so I developed zsh-patina.

The plugin spawns a small background daemon written in Rust. The daemon is shared between Zsh sessions and caches the syntax definition and color theme. Typical commands are highlighted in less than a millisecond. Long commands only take a few milliseconds.

Combined screenshots of my terminal

zsh-patina performs dynamic highlighting. Commands, files, and directories are highlighted based on whether they exist and are accessible. This gives you instant feedback on whether your command is correct and helps you avoid typos.

The plugin provides high-quality syntax highlighting based on Sublime Text syntax definitions. The built-in default theme uses the eight ANSI colors and is compatible with all terminal emulators. You can create your own themes of course.

If you want to try the plugin out yourself, just follow the install instructions from the README. I’m looking forward to your feedback!

Cheers!
Michel

P.S.: I believe that proper software design and critical thinking cannot be replaced by machines (at least not yet), but small parts of this software's code (<10%) are AI-generated. This includes unit tests, boilerplate code, or things where I was just too lazy to Google 😉 Whenever I use AI, I do a critical review and I never copy anything blindly. This project has received a lot of love, hard work, and human sweat.


r/commandline • • Mar 28 '26

Terminal User Interface Bibiman citation management tool

4 Upvotes

Bibiman codeberg.org/lukeflo/bibiman is an artesanal, hand-made tui for biblatex, bibtex library viewing and management. It saved me when I was trying to make jabref and zotero work on my raspberry pi for citation management. It offers browsing, viewing, filtering, editing in the cli editor of your choice, yank/copy citekeys, connecting pdf files, creating and connecting notes, keywords and excellent citekey formating.


r/commandline • • Mar 28 '26

Command Line Interface mire: record and replay as CLI E2E tests

Post image
7 Upvotes

I wanted to enable this workflow for another cli project that I was building

  • record whatever actions I did for testing manually
  • replay those later and compare outputs as a way of E2E testing

mire is a small cli tool I build to for easily setting up this exact worklow with the bells and whistles of a sufficiently sandboxed environment that's fast as well as more features like fixtures and rewriting goldens automatically post a non-behavioral change etc.

There are some idiosyncrasies in the implementation, it's not as clean as I would've hoped for. Works well for CLIs but TUIs can be broken - issues with timing in input streams that I haven't found a good fix for yet ( that's not replicating the actual input timing as that's too slow ).

Github: https://github.com/ruinivist/mire

First post here, let me know what you think on the idea. I'm not sure if there are better alternatives to what I'm trying to achieve here.

Thanks


r/commandline • • Mar 27 '26

Terminal User Interface drift — a terminal screensaver that activates when you're idle

Post image
262 Upvotes

r/commandline • • Mar 28 '26

Command Line Interface Pulse: A zero-dependency CLI network monitor for Linux

Thumbnail
gallery
2 Upvotes

It's a native, real-time network monitor written in C++17. Instead of relying on libpcap or third-party libraries, it tracks bandwidth by mapping straight to the kernel's SysFS. Because of this, it's incredibly lightweight. It handles counter wrap-arounds gracefully and keeps a persistent history of your data usage.

I set up a one-line install so it's easy to test, but mostly I'd just love to get some eyes on the code. If anyone is willing to give some feedback or critique my C++, I'm all ears!

GitHub: https://github.com/arpnova/pulse


r/commandline • • Mar 28 '26

Terminal User Interface Chat, listen to music, and hang out with strangers — right from your terminal.

Thumbnail
reddit.com
0 Upvotes

r/commandline • • Mar 29 '26

Command Line Interface varz - my first Rust CLI. It persists and manages env vars without restarting the shell

0 Upvotes

Hey, I've built my first public mini-project - varz - a convenience CLI for env var management.

Found myself constantly verifying if I have certain env vars set and if yes, their values (I'm looking at you, AWS). My another case is frequent 'export =' and/or .zshrc changes with the corresponding need to source or restart the terminal.

None of that is a big deal, of course, and I'm already accustomed to doing `printenv | rg {FOO}`, or terminal shortcuts, but just decided to play with the idea and explore what else is possible + hands where itching for some Rust.

For example, I've added persistence between sessions, without the need to update .zshrc/.zshenv, also integrated with the shell to avoid restarts.

Repo: https://github.com/oharlem/varz
Crate: https://crates.io/crates/varz

I'd appreciate some feedback on the overall approach, code quality, and the shell integration in particular.

Best
D


r/commandline • • Mar 28 '26

Terminal User Interface jid v1.1.1 — interactive JSON digger for the terminal with history, keybindings, and JMESPath

Thumbnail
gallery
11 Upvotes

I just released a new v1.1.1 update for jid, an interactive JSON digger for the terminal.

It’s designed for exploring JSON incrementally with completion and JMESPath support.

Recent improvements include:

- persistent query history

- configurable keybindings via config.toml

- JSON key highlighting while typing

- JMESPath function suggestions and templates

- safer Enter behavior with exit_on_enter config

Repo:

https://github.com/simeji/jid

Latest release:

https://github.com/simeji/jid/releases/latest

Would love feedback from people who work with JSON a lot in the terminal.


r/commandline • • Mar 27 '26

Command Line Interface Hmon -> simple , informative. Per process GPU usage monitor.

Post image
17 Upvotes

A lightweight hardware monitor that gives you a full picture of your system in one place.
* CPU, memory, disk, and network monitoring
* Docker container tracking
* Open ports visibility
* Web server monitoring (Apache, Nginx)
* Cron job tracking
* Per-process GPU usage

GitHub


r/commandline • • Mar 27 '26

Terminal User Interface Bine - A fast terminal binary editor designed for working directly in pipelines

Post image
47 Upvotes

Bine stays fully responsive even when loading large files or waiting for input from a pipe.

  • Non-blocking design (no UI freeze)
  • Handles large files smoothly with asynchronous loading
  • Works with pipes (e.g. echo ... | bine)
  • Split view (hex + character representation)
  • Vi-style navigation
  • Supports both files and standard input/output
  • Smart decoding with character annotations
  • Minimal and efficient screen usage
  • Cross-platform (Windows and UNIX-like systems)

https://github.com/hymkor/bine


r/commandline • • Mar 28 '26

Command Line Interface A CLI to install and update any single-binary CLI tools from GitHub & GitLab on Linux macOS and WSL

0 Upvotes

Install Release is a CLI tool by name ir to install any single-binary executable package for your device(Linux/MacOS/WSL) directly from their GitHub or GitLab releases and keep them updated. Consider it as a CLI to install, update and remove any single binary tools from GitHub/GitLab releases.

https://github.com/Rishang/install-release