[READ-ONLY] Mirror of https://github.com/mrgnw/scripts.
Files
_launchd
stitch-rust
_devcleanup
.gitignore
+favicon
+launcher
aria-anna
avifs
ccpm
cf-r2-billing-debug.py
cf-r2-single-bucket.py
cf-r2-usage.py
cf-tunnel-dns
chappy2
compare-faststart
compress-screenrec
cvwatch
ddb.py
docker-pull
dp
duck-jar
duck»
duckdb-jetbrains
duckdb-ui
dynocsv
ffprobe_sum_times
flightsfrom
flightsfrom1
getreqd
gh-install
git-ignore-globally
git-latest-tag
gitfetchall
gitl
gitllm
gitpullall
globs
glot
gtlds.py
heic
heics
iccpm
ig.py
img2avif
ios_backup_app_list.sh
ios_backup_apps_encrytped.sh
jpg
jpgs
jxl
jxlmeta
LICENSE
loc
logp
m4merge
mux
mux.zsh
notes-attachment-report.py
pdf-compress-img
pdf-compress-img-bulk
pdf-shrink
pdfimgs
photolog
pippy
pngs
probe
readme.md
repo_files.md
ruff.toml
sping
stitch-frames
tailscale-up
tomp4
update-repos.py
vprev
vprevs
vrscene.py
wallget.py
watt
wifi-exit
wu
xcode-sims
xlcsv
xls
yt-dlp-in.zsh
readme.md

This is the wild west. No apologies, just don't set your expectations too high.

Scripts #

Isolated files that can be run directly once they are given execution permissions with chmod +x script_path and are added to the PATH.

Languages #

#! /usr/bin/env zsh
#! /usr/bin/env -S uv run --script
#! /usr/bin/env python3
#! /usr/bin/env swift

Binary files are compiled for apple silicon from the adjacent script

swift-tool # binary
swift-tool.swift # script

Key Scripts #

Daemon Management #

dm - Development Daemon Manager #

Quick access to overmind-based daemon management for development services.

Location: ~/dev/_daemons/ (manages services via Procfile)

Usage:

dm start -D          # Start all development services in background
dm status            # Check what's running
dm restart anani     # Restart a specific service
dm connect opencode  # View live logs for a service
dm kill              # Stop all services

Services managed:

  • opencode (PORT=13370) - Code server
  • appligator (PORT=13371) - Full-stack app (FastAPI + Svelte)
  • anani (PORT=13372) - SvelteKit app

Tech: Overmind + tmux + Procfile

Docs: See ~/dev/_daemons/README.md for full documentation


svc - System Service Manager #

Manages system-level services via PM2 (e.g., ttyd).

Location: ~/dev/_daemons/ecosystem.config.js

Usage:

svc start          # Start all services
svc start ttyd     # Start specific service
svc stop ttyd      # Stop service
svc restart ttyd   # Restart service
svc status         # Show status
svc logs ttyd      # Show logs

Tech: PM2 (Node.js process manager)


Service Management Philosophy #

Use dm (Overmind) for:

  • Development services you frequently restart
  • Services you need to interact with (live logs, debugging)
  • Projects with hot-reload (appligator, anani)
  • Services needing colored, real-time output

Use svc (PM2) for:

  • System services that should always run
  • Services needing log rotation
  • Services that should start on boot
  • Production-like services (ttyd, reverse proxies)

Both can coexist without conflict - use the right tool for each job.

xcode-sims #

Delete Xcode simulator runtimes and devices when not in use, re-download when needed.

scripts/xcode-sims off
scripts/xcode-sims on
scripts/xcode-sims on visionOS
scripts/xcode-sims status