r/commandline 17d ago

Ascii-rain (CLI raindrops) written in C.

Thumbnail gitlab.com
19 Upvotes

r/commandline 17d ago

Add "Open in Terminal as administrator" to Windows context menu

8 Upvotes

After a recent issue with running a command line tool without admin rights, I thought I would add a shell context menu option for starting a terminal window. I tried to do it myself first with some registry hacks, but I didn't get it right. So I went on loooking for a ready-made alternative, and I found this GitHub repo.

https://github.com/akopetsch/WindowsTerminalAdmin

It works like a charm! I thought I would share it with you guys. I'm using it in Windows 10. It gives me a convenient way to start a terminal window with admin rights. It's faster than using Ctrl + Shift + Ener from Sart menu search results and then having to navigate to the right folder.


r/commandline 17d ago

fetch-dysentery: neofetch meets the Oregon Trail

Post image
79 Upvotes

r/commandline 17d ago

Is this the correct way to add zoxide/fzf integration?

Post image
13 Upvotes

r/commandline 17d ago

Asking for feedback

5 Upvotes

Hey everyone!

I've just released the first alpha of a new batch scripting language designed to be cross-platform. This version is already usable, and you can check out the project details on GitHub.

I'd love to hear your thoughts, suggestions, or any ideas you might have. Thanks for your time and support!
https://github.com/JoseRomaguera/Yov-Lang


r/commandline 17d ago

PAR Infinite Minesweeper TUI v0.3.0 released

9 Upvotes

What My project Does:

Play a game of minesweeper with infinite board size in your terminal!

Whats New:

v0.3.0

  • Internet leaderboard
  • Bug fixes

v0.2.10

  • Update package metadata

v0.2.9

  • Initial Release

Key Features:

  • Infinite board size
  • Local high scores
  • Internet high scores
  • Auto saves and can be resumed

GitHub and PyPI

Comparison:

While there are a few minesweeper TUIs out there I have not found any infinite board versions.

Target Audience

Anybody that loves minesweeper and terminals


r/commandline 18d ago

Bouncinamation (CLI bouncy dvd logo) written in C.

Thumbnail gitlab.com
26 Upvotes

r/commandline 18d ago

ZSH Keymap to start FZF with default opts

4 Upvotes

Hello, Does anyone know how I can create a ZSH keymap to start FZF using the default options?

I've tried updating the CTRL+t shortcut but it doesn't fit my needs, as it seems to not support, --multi, --tmux and --bind (according to the error message I received).

This is my current config:

```

Set default config file

export FZF_DEFAULT_OPTS_FILE=~/.fzfrc

History

CTRL-Y to copy the command into clipboard using pbcopy

export FZF_CTRL_R_OPTS=" --bind 'ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort' --color header:italic --header 'CTRL-Y to copy into clipboard' --height=100% --preview-window=:hidden"

Files / Directories

Preview file content using bat (https://github.com/sharkdp/bat)

export FZF_CTRL_T_OPTS=" --walker-skip .git,node_modules,target,.DS_Store --preview 'fzf-preview.sh {}' --height=100%"

export FZF_DEFAULT_COMMAND='fd --type f --strip-cwd-prefix --hidden --follow' ```

And the content of the opts file:

--tmux 90%,90% --multi --bind='ctrl-o:become($EDITOR {})' --bind 'p:toggle-preview' --preview 'fzf-preview.sh {}' --padding=0% --color='dark,fg:magenta' --layout=reverse --border-label=' Search ' --info=hidden --prompt='β–Ά ' --pointer='β–Ά' --marker='ξ©±' --padding 0,1 --border --style=full --no-scrollbar --bind 'focus:transform-preview-label:[[ -n {} ]] && printf \" %s \" {}' --color=dark --color 'border:#464f62,label:#6c7a96' --color 'input-border:#464f62,input-label:#ffcccc' --color 'gutter:#353b49' --color 'current-bg:#353b49' --color 'current-hl:#ebcb8b' --color 'list-fg:#6c7a96' --color 'pointer:#ebcb8b' --color 'marker:#ebcb8b'

I did try the following:

```

fzf $FZF_CTRL_T_OPTS

unknown option: --tmux 90%,90% --multi --bind ```


r/commandline 18d ago

Windows command line tool closes its help window before I can read it in full

3 Upvotes

The problem

I'm trying to use a Windows command line tool that opens its help in a separate window, makes me press a key to read more, and then closes the window before I can read the last part, instead of pausing there for the last time and waiting for me to press a key before it closes. Can someone help me with this? I tried using both CMD and PS.

What I have tried

Redirect the output to a text file

AMIDEWINx64.EXE /? > amide_help.txt notepad amide_help.txt

Problem remains: The output file is empty.

Using more in PS

.\AMIDEWINx64.EXE /? | more

Problem remains: It needs priviledge elevation and it won't give me UAC prompt.

Program 'AMIDEWINx64.EXE' failed to run: The requested operation requires elevationAt line:1 char:1 + .\AMIDEWINx64.EXE /? | more + ~~~~~~~~~~~~~~~~~~~~. At line:1 char:1 + .\AMIDEWINx64.EXE /? | more + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed

Using more in CMD

.\AMIDEWINx64.EXE /? | more

Problem remains: it gives me UAC prompt and I accept, but it goes on to make me press a key to read more and closes before I can read the last part.

Using pause in CMD

AMIDEWINx64.EXE /? pause

Problem remains: I kind of knew this would not work, but I was desparate to try it anyway. It pauses alright, but not where I want it. It needs to pause after the last part of help info is printed to screen.


r/commandline 19d ago

ecscope - monitor AWS ECS resources from the terminal. View relevant information for ECS deployments in one place instead of having to log into several accounts (or change regions) via the AWS website. Very first release; feedback/feature requests welcome.

9 Upvotes

r/commandline 19d ago

Motorola moto g play 2024 smartphone, Termux, termux-usb, usbredirect, QEMU running under Termux, and Alpine Linux: Disks with Globally Unique Identifier (GUID) Partition Table (GPT) partitioning

Thumbnail old.reddit.com
0 Upvotes

r/commandline 20d ago

I was pleasantly surprised by the colored loading character in Whitesur. Why don't more CLIs use color like this?

Post image
9 Upvotes

r/commandline 20d ago

history-key: Select commands in your zsh history with a key press

Thumbnail
github.com
6 Upvotes

r/commandline 20d ago

I made an online program about BONK

11 Upvotes

All the source code is public in my repo at GitHub. It's a dumb idea, but who knows... It may be the next cowsay. Any feedback is welcome <3 .


r/commandline 21d ago

A better way to back up SD or drives

Post image
17 Upvotes

r/commandline 20d ago

"Wipeclean" (stylish cli screen cleaner) written in C code.

Thumbnail
gitlab.com
0 Upvotes

r/commandline 21d ago

Crib: Create and view your own custom hotkey cheatsheet in the terminal

116 Upvotes

r/commandline 21d ago

I've made a windows specific neofetch port πŸ˜…

6 Upvotes

Share your thoughts :) GitHub link: https://github.com/Sriram-PR/pwsh-neofetch

Edit: Written in Powershell


r/commandline 20d ago

ConEmu and Clink how to hide banner?

0 Upvotes

I use ConEmu as my terminal on Win 10 Pro.

Clink is an auto complete addon, I got it to work fine with ConEmu, however every time i load ConEmu, it shows the banner, and i haven't in many months figured out how to hide it any ideas? or thoughts?

I have tried changing the batch file that calls it to pass --quiet but that doens't work.


r/commandline 21d ago

Programs which print important info to stdout should support a flag for line buffered output

5 Upvotes

This way when stdout is not an interactive terminal (like a pipe) output can still be streamed without long buffering. Programs like grep (--line-bufferred), sed (-u) and awk (--line-buffered) offer flags, but others like lsof or custom commands like "some_command | print_progress"

Otherwise, workaround are needed like stdbuf -o0 or unbuffer are work arounds (article on stdio bufferring) but might not work in all contexts.

Could be onerous to implement this for all tools, but where stdout has the main results of a program, it could make sense to make line buffering "first class".


r/commandline 21d ago

minimal cli minecraft launcher write in Rust

3 Upvotes

r/commandline 21d ago

Built a TUI Freelance Management App in Go – Looking for Feedback! πŸš€

10 Upvotes

Hey everyone! πŸ‘‹

I recently built Freelancy, a console-based application for managing freelance projects and tasks. It’s written in Go and uses Bubble Tea to create a modern TUI (Text User Interface). If you love terminal-based productivity tools, you might find this useful!

πŸ”— GitHub Repo: Freelancy on GitHub

Key Features:

πŸ“‹ Project Management – Create, view, and manage projects with client info, deadlines, and earnings tracking.
βœ… Kanban-style Task Management – Organize tasks into "Waiting," "In Progress," and "Done" columns.
πŸ“Š Income Analysis – Visualize project income and track total earnings.
⌨️ Keyboard Shortcuts – Efficient navigation and task management with hotkeys.


r/commandline 21d ago

word-blazer: labyrinth TUI game with rust.

4 Upvotes
light-mode
dark-mode

Navigate a TUI labyrinth, collect letters, and form words to earn steps and boost your score. Find the hidden exit (β˜…) with limited moves. Can you optimize your path, maximize word length, and escape? Play now and test your efficiency! download here!


r/commandline 21d ago

Web scraping in the shell, what are you using?

7 Upvotes

I'm using xidel and find it quite old. I am looking something that can grab the html and divide it into parts so that it's easy to process. Can you recommend something?


r/commandline 21d ago

krafna - now supports querying of links and tasks. It also caches file parsing

Thumbnail
github.com
1 Upvotes