Skip to content
axjabPublic

About

Small, self-contained command-line tools for everyday tasks. Browse, read, and run.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

635 Commits

Folders and files

Repository files navigation

scripts

Small commands. Everyday conveniences. Occasional experiments.

☀   ◌   ▰   ✦   ▰   ◌   ☾

A collection of things I wanted my terminal to do.
Some solve a daily annoyance. Some exist because it was fun to make them.

The favorites · Installation · The collection


A few favorites

☀ lumen — brightness without the monitor buttons

My proudest invention in this collection: one command to control brightness across a laptop panel and supported external monitors. Built around brightnessctl and ddcutil, with cached display discovery and rescanning when the detected connection state changes.

One brightness setting. All supported screens.
Read lumen →

● tty-notify — an alarm that finds my terminals

An attention signal for every accessible local terminal owned by the current user—including terminal tabs and SSH PTYs. A building block for my future alarm daemon.

Messages can carry a severity and a terminal bell. Optional duplicate suppression and rate limits keep repeated signals manageable. Delivery reaches the terminal; acknowledgment is still a separate problem.

Read tty-notify →

▰ hud / hud2 — a little status-bar daydream

Experiments in making personal status visible in the terminal.

See the hud2 sketch
water    ▕🬋🬋🬋🬋🬋🬋🬋🬋🬋
hunger   ▕🬋🬋🬋🬋🬋🬋🬋🬋🬋🬋🬋🬋🬋🬋
strength ▕🬋🬋🬋🬋🬋

Read hud · Read hud2

✦ Small pleasures

Script A reason to open it
emoji A small parade of symbols to see how a terminal renders them.
weather A glance outside, without leaving the terminal.
txtin Turn several lines of input into one line of text.
Three tiny demos

Selected output from the supplied examples; shell prompts and unrelated fields omitted.

emoji

😀😃😄  😅😆😂  🤣😊😇
🌈🌟✨  💖💙💚  ⚡

weather — sample output, not a live forecast

☀️  +3°C

txtin

Enter your text (press Ctrl+D to finish):
multi
line
input

multi line input

Take them home

Installation is still being prepared. This command is a harmless placeholder; it does not install anything.

echo 'TODO: install scripts'

The intended setup puts this repository’s bin/ directory on PATH, so commands can be invoked directly. Supported environments and dependency instructions will be documented with the finished installer.

By the numbers

In the collection
Files in bin/ 59
Executable files 58
Largest by bytes ntfy · 73,815,472 B
Total source lines 2,620,147

Interpreters: bash 35 · other 22 · python 1 · sh 1

Recently committed

Git dates will appear here when commit history is available.

Counts cover regular, non-hidden files directly in bin/; symlinks are excluded. Recency uses the latest commit touching each current path, in UTC—not checkout timestamps. Sizes and line counts reflect the current working tree.

Open the toolbox

Browse every command
Command
ai Executable
aichat Executable
as-user Executable
bindmnt Executable
cal Executable
claim Executable
clp Executable
code-server Executable
dawn Executable
deltat Executable
device-info Executable
dns Executable
dnscontrol Executable
dufs Executable
dux Executable
e Executable
emoji Executable
fm Executable
fswatch Executable
fswatch-publish Executable
get_current_dir Executable
getip Executable
hostcfg Executable
hud Executable
hud2 Executable
hx Executable
init-disk Executable
initial-check.sh Executable
lazygit Executable
lazyjournal Executable
link Executable
lumen Executable
nats Executable
nats-colorize.py Executable
nerdlog Executable
new-user Executable
ntfy Executable
open Not executable
open-store Executable
pik Executable
power-refresh Executable
shadps4 Executable
shoutrrr Executable
stream-events Executable
subscript Executable
switch-emulator Executable
task Executable
template Executable
timewatch Executable
tldr Executable
trash Executable
tty-notify Executable
tw Executable
txtin Executable
unison Executable
unison-fsmonitor Executable
unison-gui Executable
watchexec Executable
weather Executable

For me · maintaining this collection

Edit the maintainer notes or the README sources and regenerate this page.

Setup and regeneration

Run these commands from the repository root. The generator needs uv and Python 3.9+. Git supplies commit dates. Gum supplies the optional terminal animation. The Python generator uses only the standard library.

chmod +x do/readme
./do/readme
./do/readme --check

The first run builds README.md. The check exits 0 when it is current, 1 when missing or stale, and 2 for a generator error. In a terminal with Gum installed, the wrapper shows a spinner and then the command output. Without Gum, or when output is redirected, it prints a plain progress message. No artificial delay is added. Arguments pass through to the generator.

The wrapper resolves the repository from its own location, so it also works when called from elsewhere. To bypass the wrapper:

uv run --script do/readme.py

Update a section

  1. Edit the appropriate source document below.
  2. Run ./do/readme.
  3. Review the generated README and commit it with the edited source.
What to change Source, relative to the repository root
Title, introduction, decorative symbols docs/readme/intro.md
Favorites, descriptions, recorded demos docs/readme/highlights.md
Public installation instructions docs/readme/install.md
Section order, headings, collapsible blocks docs/readme/template.md
Setup and operator procedures docs/maintainer.md
Statistics and generated catalog do/readme.py

For a new favorite, copy an existing subsection in highlights.md and change its heading, description, and source link. Use bin/NAME for source links: they resolve from the generated README at the repository root. Wrap optional demos in a details block, following the existing examples.

To reorder sections, move their headings and {{slot}} markers together in template.md. Available slots are intro, highlights, install, stats, catalog, and maintainer. Adding an entirely new source document also requires adding its mapping to the generator's render function.

Packaging and publication

These procedures remain work in progress. The commands below deliberately do nothing beyond printing a reminder.

Task Placeholder command
Install collection echo 'TODO: install scripts'
Update collection echo 'TODO: update scripts'
Stage executables echo 'TODO: stage bin/ with pkg'
Build packages echo 'TODO: build packages'
Publish echo 'TODO: publish packages'

Keep the root clean

README.md is the only root document. Its source documents live under docs/. Repository maintenance commands live under do/; public commands live under bin/. Only bin/ belongs on PATH.

After applying this update, remove SETUP.md and the old preview/ directory: setup is included here, and generation now uses the actual bin/ directory. The generator no longer accepts --inventory.

Keep pkg and stage until the packaging workflow confirms whether it references them. Their contents and consumers have not been inspected. Do not delete package state as part of documentation cleanup.

How the numbers work

No script headers are required and no public script is executed. Counts cover regular, non-hidden files directly in bin/; symlinks are excluded. The largest file is measured in bytes; source lines include comments and blank lines. Interpreter detection uses the shebang.

Recently committed lists the latest commit touching each current path, in UTC. Without history, dates remain unavailable; shallow history can be incomplete. Working-tree edits affect sizes and lines but not commit dates. The --check option compares generated Markdown, not every source byte.

About

Small, self-contained command-line tools for everyday tasks. Browse, read, and run.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages