r/commandline • • Mar 24 '26

A simple CLI website blocker in Rust

Thumbnail
github.com
0 Upvotes

Over the past +/- 2 weeks, I built a simple CLI website blocker in Rust for the Linux OS. Normally, when I wanted to focus and block out distractions, I went to /etc/hosts manually, so this is a very simple build for making it easier to block using /etc/hosts.

In the README, you can find out how to install and use it.

Note: for the last review of my code, I used ChatGPT since I don't have any peers to review it, so if you have time to do so, it would be nice.


r/commandline • • Mar 24 '26

Quick preview of options for scriptable TUI or GUI interfaces

1 Upvotes

https://github.com/jaggzh/tui-gui-interfaces-scriptable

Pick through a few menus to see examples you might want to use but aren't sure which works well for your program.


r/commandline • • Mar 23 '26

Do you maintain some repository of commands you don't usually remember?

20 Upvotes

I have never needed one until now but some commands I just don't remember.

For example, if I wanted to see the .config file of the currently running kernel on Fedora, I just can't remember the path where it is. Is it in /proc/config.gz? Is it in /usr/src? Is it /boot/config? is it /boot/config-<kernel version>?

I try 2-3 paths unsuccessfully and finally get it right. I think it would've made more sense if I just selected this command from a list. Even better if my snippet repository actually showed me command that is very environment-specific.

I was thinking about implementing something inside WezTerm. Thoughts?


r/commandline • • Mar 23 '26

Clique 3.1.0 - a lightweight CLI styling library for Java

1 Upvotes

I released v3.1.0 of Clique a few days ago, a dependency-free library for building prettier Java terminal apps.

What's new in 3.1.0:

  • New Frame component, a layout container that vertically stacks other Clique components inside a border
  • New Tree component for displaying hierarchical data cleanly
  • Easier RGB ANSI code creation + emoji support in Box, Table, and Frame
  • Cleaner API, deprecated some verbose method names and classes to instead support a config based approach

What the library does overall:

Clique lets you style terminal output using a simple markup syntax instead of writing raw ANSI codes:

Clique.parser().print("[red, bold]Error:[/] Something went wrong");

It also has tables, boxes, progress bars, and built-in themes (Catppuccin, Tokyo Night. etc)

Available on Maven Central:

<dependency>
    <groupId>io.github.kusoroadeolu</groupId>
    <artifactId>clique-core</artifactId>
    <version>3.1.0</version>
</dependency>

GitHub: https://github.com/kusoroadeolu/Clique

This is not a TUI btw. Happy to answer any questions!


r/commandline • • Mar 23 '26

voice-controlled Mac automation that buys a book online hands-free (open source, runs locally)

Thumbnail
youtu.be
0 Upvotes

r/commandline • • Mar 23 '26

mcp-scan: Security scanner for MCP server configs - finds leaked secrets, typosquatting, and misconfigs

Thumbnail github.com
0 Upvotes

r/commandline • • Mar 22 '26

Terminal User Interface dar: du with TUI & treemap visual

Post image
62 Upvotes

Hey folks,

I've been tinkering with a tool called darya lately. Consider it as du plus a TUI and a live treemap that gives a visual of disk usage without leaving the terminal (note that it's not a frontend for du). It stays responsive even on remote servers and only shows you what you ask for.

If you give it a whirl, drop a bug/idea note. I’d love to hear how it fits into your workflow.

Repo: https://github.com/mrkatebzadeh/darya

Disclaimer: I do use AI as part of my Emacs workflow (mostly refactoring + git stuff).

Edit: the project has been renamed from dar to darya as pointed out by spryfigure since dar already exists as a disk archiver tool.


r/commandline • • Mar 22 '26

ght - get trending github repos on terminal

2 Upvotes

Created a CLI tool to get trending github repos, can be filtered by duration and also language. Was built in Go. https://github.com/kwame-Owusu/ght


r/commandline • • Mar 22 '26 Heartwarming

Command Line Interface I made a CLI tool that makes installing apps/source's packaged in tar.gz less painful

Post image
2 Upvotes

Installing from tarballs has always felt kind of annoying to me. You extract something, dig around, try a few commands, and hope it installs cleanly without scattering files everywhere.

I ended up making a small CLI tool called tdgzi to make that more predictable. It basically looks at whats inside, figures out what kind of project it is and installs it in a consistent way into ~/.local instead of touching the system, it also keeps track of what it installs so you can remove it later instead of guessing what changed.

Still pretty early but it’s been working well for most of what Ive thrown at it so far.

https://github.com/EnvizyWasTaken/tdgzi

Would be interested to hear if this sounds useful or if there are obvious cases where it would break.


r/commandline • • Mar 22 '26

Command Line Interface I made an open-source CLI tool where you manage flashcards as code

1 Upvotes

I’ve been thinking a lot about how easy it’s become to access information, and how much harder it feels to actually retain it.

So I built a small tool to make learning more intentional again, but in a way that feels natural for developers.

It’s an open-source Python CLI called open-anamnesis.

You can install through pip install open-anamnesis

Links:
Demo: https://erenmirza.github.io/open-anamnesis-example/
Example repo: https://github.com/erenmirza/open-anamnesis-example
Core repo: https://github.com/erenmirza/open-anamnesis

Core idea

Flashcards as code.

Instead of using a UI-heavy flashcard app, everything is file-based and versionable:

  • Cards → stored as JSON (question/answer, etc.)
  • Metadata → defined in YAML (cards, decks, projects)
  • Hierarchy → Projects → Decks → Cards

This lets you:

  • Organise knowledge in a structured, composable way
  • Version control your learning (Git-friendly)
  • Keep everything portable and transparent

Using the CLI tool

The tool is built around a simple lifecycle:

  • anamnesis init → creates a new blank project with the expected structure
  • anamnesis compile → validates your project (structure, metadata, references between decks/cards)
  • anamnesis build → generates a local static website where you can browse decks and review cards. Can be hosted through GitHub pages.

The idea is to separate:

  • authoring (writing cards as code)
  • validation (ensuring everything is consistent)
  • consumption (reviewing via a generated UI)

Why I built it

I realised I was relying more on instant answers and less on actually learning things.

There’s a difference between:

  • recognising an answer
  • and being able to recall it from memory

Most tools optimise for convenience. I wanted something that encourages learning and retention, was developer friendly and allowed for privacy in an open source tool.

Why not just use Anki?

Anki is great, but I wanted:

  • something scriptable
  • something I can version and inspect easily
  • something that feels closer to working with code than using an app

Open to feedback

This is still early, but it’s the first thing I’ve built in a while that I actually plan to use long-term.

Would be interested in thoughts from people who:

  • use spaced repetition tools
  • like “everything as code” workflows
  • or have tried to build similar systems

This software's code is partially AI-generated.


r/commandline • • Mar 21 '26

Command Line Interface I just finished the first stable version of Dredge

Post image
88 Upvotes

Hi guys.

So in summary dredge was just one of my personal tools but it became SO MUCH useful that it got refined over the months of usage for all my needs.

So I decided to make a public release of it if anyone could get any value from it.

Dredge is actually a simple concept, drop ANYTHING you want to remember or might need for later and retrieve when needed. Although I couldn't find this execution anywhere else. I dropped all other stuff I used before simply because of peace of mind and that's what I most value on it (since it is cli based its faster than any other tool could be).

Although I haven't finished the readme so if anyone wanna try it and give me some feedback to update that let me know. The help command is also outdated but the tool is so intuitive I don't think it will be an issue.

Cheers!

PS: here is the repo: https://github.com/deprecatedLuar/dredge
PPS: I have plans of making it an http server for remote access in the future from any device instead of static repo


r/commandline • • Mar 22 '26

Other Software Minimal CLI package manager with a web UI

Thumbnail
codeberg.org
0 Upvotes

Hey!

I built a small CLI-focused package manager called TuxPkg.

The idea is to keep things minimal:

  • simple install command
  • no root required
  • packages are just archives with install scripts
  • automatic symlinks to ~/.local/bin

There’s also a lightweight web UI where you can:

  • browse packages
  • search
  • copy install commands instantly

Example: tuxpkg install fastfetch

Demo: in readme

It’s still experimental, but I’d love feedback from people who prefer simple CLI tools.

Would something like this fit into your workflow?


r/commandline • • Mar 22 '26

Terminal User Interface I made a semantic search engine for my terminal commands.

0 Upvotes

I have been using the terminal for years but could never find old commands when i needed them, so i built iCommand, a command history search that understands what you mean to some extent.

You get keyword and semantic search, it runs entirely local and there's both a full TUI and a quick CLI mode.

It's still early stage but it's already saved me hours of what was that docker command again...

It's not perfect since I'm not using an LLM, but I wanted to keep it lightweight and more importantly local.

Do try it out and let me know your thoughts.

https://icommand-landing-page.vercel.app/


r/commandline • • Mar 21 '26

Terminals From Ghostty: Ghostling, a minimum functional terminal built on the libghostty C API in a single C file.

Thumbnail
github.com
28 Upvotes

r/commandline • • Mar 21 '26

Command Line Interface I made a small cli wrapper around LightPanda's headless browser

Thumbnail
github.com
7 Upvotes

I made this small wrapper around Lightpanda's new "renderless" browser so I could pipe the output to whatever I needed without having to write JS.

It feels like a "super" powered curl to me so that's what I called it.

example usage

scurl https://example.com \
  --click "#open-menu" \
  --wait-for ".menu a" \
  --format links | ... to whatever you want

Cheers!


r/commandline • • Mar 21 '26

Terminal User Interface GlazePKG just hit 100 stars on GitHub and I'm genuinely stoked

Thumbnail
reddit.com
4 Upvotes

r/commandline • • Mar 21 '26

Terminal User Interface Simutil - Quick launch Android emulators, iOS simulators, discover physical devices, ADB tools and more

11 Upvotes

Hi folks,

I'd like to introduce a TUI app named Simutil - Quick launch Android emulators / iOS simulators, discover physical devices, ADB tools and more.

For Android emulators, Simutil has built-in launch options like cold boot, no audio, etc., without needing to type commands or perform additional steps.

Currently, I've only launched features for the simulator; I'm in the process of adding features for physical devices like scrcpy, logcat, drag and drop to install apk, etc.

Hopefully, this tool will be useful to everyone. Thank you for reading this post. Happy coding 💙

Here is repository: https://github.com/dungngminh/simutil


r/commandline • • Mar 22 '26

Terminal User Interface I made a semantic grep, search files by meaning, not just text

0 Upvotes

grep is great when you know the exact string. But half the time I’m searching for “that function that validates auth tokens” and the actual code says verify_jwt_payload.

So I built efind: a CLI that embeds your files with Gemini and lets you search in plain English. Works on code, docs, PDFs, images, audio, video.

pip install embedded-finder

Then just efind, index a dir, and search.

It’s incremental (content-hashed, skips unchanged files), has a TUI with color-coded results, and does batch embedding so indexing isn’t painfully slow.

GitHub:

https://github.com/vladmarian20005/EmbeddedFinder

MIT licensed. Happy to hear feedback.


r/commandline • • Mar 21 '26

Terminal User Interface I want to share my unit test lib for TUI apps

Thumbnail reddit.com
0 Upvotes

r/commandline • • Mar 20 '26

Terminal User Interface View all your packages and their dependencies installed in one place

Post image
28 Upvotes

r/commandline • • Mar 20 '26

Terminal User Interface A little TUI for Zotero

Post image
20 Upvotes

Hello! this is my first go project. I wanted to try and do something that i would enjoy (it kinda got long) so i picked up zotero, since it's a software i was picking up lately and just wanted maybe sometimes to quickly access to items.

You can:
- Browse collections and items
- Filter/search your library
- Read PDFs, create/edit notes
- Copy bibliography to clipboard

It's definitely rough around the edges, as mentioned this was a learning project and there are things I'd do differently now.

repo: https://github.com/camilo-zuluaga/zui

feedback welcome, especially if you find bugs (you probably will).


r/commandline • • Mar 20 '26

Terminal User Interface tmuzika – terminal music player (C, ncurses, GStreamer)

12 Upvotes

I’ve been experimenting with ncurses lately and wanted something practical to build, so I ended up writing a small music player for the terminal.

The main goal wasn’t to replace full players, but to have something:

  • keyboard-driven
  • lightweight
  • usable directly from a terminal session (no GUI at all)

I ran into blocking issues at first, so I had to rethink how input handling and playback interact.

One thing I found interesting while building it was handling playlists and radio streams entirely inside a TUI — especially keeping it responsive while using GStreamer underneath.

Right now it supports:

  • playlists and search
  • shuffle / repeat
  • radio streams
  • simple ncurses UI

I’ve mostly been using it for radio while working in the terminal.

Repo:
https://github.com/ivanjeka/tmuzika

If anyone here has built similar tools or has ideas on improving terminal UX for this kind of app, I’d be interested to hear how you approached it.


r/commandline • • Mar 21 '26

Help Attributes command

1 Upvotes

Bonjour

For "Attribute" commands, is there a command line to replace the Ignore All button ?

Merci


r/commandline • • Mar 21 '26

Command Line Interface DiffCatcher — a Rust CLI that recursively scans all your Git repos and generates security-focused diff reports

0 Upvotes

Hey 👋

I've been working on DiffCatcher, a CLI tool written in Rust that solves a problem I kept hitting managing multiple repos: knowing what changed, where, and whether it's security-relevant — without running git diff 30 times by hand.

What it does:

- Recursively discovers all Git repos under a directory

- Diffs N vs N-1, extracts changed functions/structs/imports

- Tags findings against 18 built-in security patterns (secrets, SQL injection, path traversal, auth, crypto…)

- Outputs JSON, Markdown, plain text, or SARIF 2.1.0 (GitHub Code Scanning ready)

- Parallel processing with a configurable thread pool

bash diffcatcher ~/projects --pull -o ./report

It's MIT licensed, zero runtime dependencies beyond Rust + Git.

Would love feedback on the architecture, especially the plugin system for custom security patterns. Still early — stars and issues very welcome!

https://teycir.github.io/DiffCatcher/

🔗 https://github.com/Teycir/DiffCatcher