Recipes
Short, real commands for common jobs. Every tool has more options than shown
here: run dogubako <category> <tool> --help, or look the tool up in the
catalog.
Images
Section titled “Images”# Convert iPhone photos to WebP (HEIC needs ImageMagick)dogubako image convert *.heic --format webp --quality 80 -o webp/
# Shrink a folder of photos for the web: longest edge 1600 px, re-encodeddogubako image compress photos/*.jpg --max-dimension 1600 -o web/
# Remove GPS and camera metadata before sharingdogubako image strip-metadata holiday.jpg
# Blur every face in a photo (needs the seeta-face model)dogubako models download seeta-facedogubako image face-blur group.jpg
# Read the text in a screenshot (needs Tesseract)dogubako image ocr screenshot.png
# Make a full favicon pack from a logodogubako image favicon logo.png -o favicon/# Compress a screen recording to a sensible size (needs FFmpeg)dogubako video compress talk.mov
# Cut the first 30 seconds into a new clipdogubako video trim talk.mov --start 0 --end 30
# Turn a short clip into a GIFdogubako video to-gif clip.mp4
# Pull the audio track out of a videodogubako video extract-audio interview.mp4Audio and speech
Section titled “Audio and speech”# Normalize a podcast episode to broadcast loudness (EBU R128)dogubako audio normalize episode.wav
# Remove long silences from a recordingdogubako audio remove-silence lecture.m4a
# Transcribe offline to subtitles and plain text (needs whisper.cpp and a model)dogubako models download whisper-basedogubako speech transcribe interview.m4a --formats srt,txt
# Shift subtitles that are two seconds late (negative numbers need the = form)dogubako speech subtitle-shift --file movie.srt --offset=-2# Merge (needs qpdf), then compress (needs qpdf and Ghostscript)dogubako pdf merge chapter-*.pdf -o book.pdfdogubako pdf compress book.pdf
# Make a scanned PDF searchable (needs Tesseract, Poppler and qpdf)dogubako pdf ocr scan.pdf
# Pull out pages 3 to 5dogubako pdf extract-pages report.pdf --pages 3-5
# Get the text out of a PDFdogubako pdf extract-text contract.pdf # prints the text and saves contract.txt# Several checksums of a download at oncedogubako files hash big.iso --algorithms sha256,blake3
# Check a download against its published SHA256SUMS listdogubako files checksum-verify ubuntu.iso --checksums "$(cat SHA256SUMS)"
# Look inside an archive without extracting itdogubako files archive-list backup.zip
# Find duplicate files in a folder (reads host folders: the CLI trusts you like your shell)dogubako files duplicates --path ~/PicturesText and developer tools
Section titled “Text and developer tools”# Pretty-print JSON from the clipboard or another commandpbpaste | dogubako dev json
# Convert YAML to JSONdogubako dev convert --from yaml --to json < config.yaml
# Hashes of a stringdogubako dev hash hello
# Ten UUIDsdogubako dev uuid --count 10
# Decode a JWT without trusting itdogubako dev jwt "$TOKEN"
# Change casedogubako text case "Hello World" --case snake# Summary statistics for every column of a CSVdogubako data stats sales.csv
# CSV to JSONdogubako data csv-to-json sales.csv # writes sales.json
# Clean up a messy export: trim cells, blank out placeholders like N/A, drop empty rows and columnsdogubako data clean export.csvNetwork
Section titled “Network”dogubako network dns-lookup example.comdogubako network tls-inspect example.comdogubako network http-headers https://example.comdogubako network cidr 10.0.0.0/22System
Section titled “System”dogubako system overviewdogubako system battery