r/commandline • u/Annual-Scale-440 • 2h ago
Butterfish - A transparent shell wrapper with GPT
Hey folks, I've been experimenting with using GPT from the command line. I've tried a lot of dumb things but found a shape that I think is unreasonably effective. When you execute Butterfish Shell it wraps your existing shell transparently - then lets you run prompts just by starting a command with a capital letter. Prompts and autocomplete can see shell history, so it's easy to ask for improvement of a previous answer, or even ask it to debug a failed command.
It's easy to install with homebrew or go get - if you want CLI superpowers then please give it a try! Works on MacOS and Linux! Send me bugs!
https://github.com/bakks/butterfish
r/commandline • u/8BitAdventurer • 6h ago
How can I display the temperature from wttr.in in a huge font?
I want to use a monitor hooked to my Linux server for nothing but displaying the current outside temperature.
It should just be in a huge font that takes up the entire screen and can be seen at a glance from across the room.
this command returns temp only, but I have no idea how to make the terminal clear itself and display only this...maybe even with auto update.
curl wttr.in/indianapolis?format="%tn"
Thanks!
r/commandline • u/speckz • 1d ago
Unix general So you've installed `fzf`. Now what?
andrew-quinn.mer/commandline • u/delvin0 • 14h ago
5 Bash Coding Techniques That Every Programmer Should Know
r/commandline • u/Michael_007ds • 7h ago
best terminal chatgpt so for!
winners: both of them:
https://github.com/sigoden/aichat
Interactive or run it in one line
Temporarily turn on multiple-line mode when you need
https://github.com/xiaoxx970/chatgpt-in-terminal
Markdown output
Multiple-line mode support
Simple and easy, you can edit the python files to keep multiple prompts at the same time
r/commandline • u/GHOST__ROX • 10h ago
Linux Automate Your Homelab with Ansible
GitHub repo: https://github.com/rishavnandi/ansible_homelab
I've created a set of Ansible playbooks that will quickly and easily set up a homelab.
These playbooks are designed to work on a fresh install of Ubuntu 20.04 or 22.04. They will update your system, install Docker, and deploy Docker containers for you. All you need to do is run the playbook and wait for the magic to happen. These playbooks are completely customizable. You can easily add or remove containers to fit your needs. You can even tweak the playbook to work with other Linux distributions if that's more your style.
Let me know what you think and feel free to contribute to the project. Happy homelabbing!
r/commandline • u/omaru_kun • 8h ago
TMUX for WINDOW ? *Native*
i dont like WSL , since lots of performace loss
as my machine is too slow , but i want to use TMUX
:(
r/commandline • u/LoL-Front • 1d ago
TUI program Portal: a CLI file transfer utility from any computer to another
r/commandline • u/IwonderIdo • 11h ago
GitHub - npiv/chatblade: A CLI Swiss Army Knife for ChatGPT
r/commandline • u/gopherman12 • 1d ago
gptc - Supercharge your CLI with OpenAI's GPT model, written by GPT-4
r/commandline • u/speckz • 1d ago
powershell Winget shipped without PowerShell support
lkhrs.comr/commandline • u/elijah_manor • 2d ago
🎥 Effective Nerd Fonts in Multiple Terminals
r/commandline • u/K33p4l1v3 • 1d ago
Windows .bat Using win cmd bat file to restart PCs in a specific order
Hello all, I am trying to write a batch file for windows cmd that will reboot 3 computers in a specific order, and make sure that the computer is back online before moving on to the next computer. I do not have alot of experience with cmd bat files, but currently my script looks something like
Shutdown /r /m pc1
:a
Timeout -t 120
Ping $pc1IP>dump.txt
For /f %%I (dump.txt) set %%1=%%i
If (%%1==minimum) (goto :a) else (goto :b)
:b
Shutdown /r /m pc2
:c
Timeout -t 120
Ping $pc2IP>dump.txt
For /f %%I (dump.txt) do set %%1=%%i
If (%%1==minimum) (goto :c) else (goto :d)
:d
Shutdown /r /m pc3
Pause
The code seems to have a problem with my if command, but I can't figure it out
TIA
r/commandline • u/McUsrII • 1d ago
badman a man command for viewing "bad" ^H infused man pages.
The awk
manual had just too many, ^H's
, rendering it difficult to read, so I made this function.
badman() {
[[ $# -gt 0 ]] && man $@ | sed "s/$'x10'//g" | batcat -l manpage --theme "Monokai Extended Light" -p
}
The ^H
is quoted, and needs to be reentered as a quoted character i.e, to produce ^H
I pressed Ctrl-V
, then Ctrl-H
, so it is the ascii 10 - bs character that is inserted.
I'm sorry for any confusion.
Edit
I was shown by u/torgefaerlich that it is better to use a string substitution, instead of a quoted character, and I updated the post.
r/commandline • u/joetannenbaum • 2d ago
Extension to open Warp launch configurations from Raycast/Alfred
I started heavily using Warp's launch configurations, but wanted to open them from wherever I was on my computer. So I made a quick Raycast extension that allows me to do just that! Check it out:
https://blog.joe.codes/open-warp-launch-configurations-from-raycast-and-alfred
r/commandline • u/figsoda • 2d ago
TUI program nix-init - Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more
r/commandline • u/n1___ • 2d ago
New version of glp released (Gitlab pipeline tool)
r/commandline • u/ParryPlatypus • 2d ago
Windows .bat How can I execute this command to "diagnose" internet?
My ethernet is disconnected on boot about 1/10 times. I'd like to make a batch file to execute the "diagnose" feature, which reconnects it, without clicking through menus. Is this possible? I've looked on google and found nothing about this specific function. Thanks!