Install once
Register the examples first with bashy --bashsharp examples/defaults/bashy-defaults.bsh apply from the source checkout (or run bashy-defaults apply after installing Bashy’s source pin). This registers media, cast, and record with their declared effects. Use the install line for this computer, then run media doctor. Doctor registers ffmpeg, ffprobe, agg and a SHA-256 verified pinned pdfcraft-cli; it needs network access the first time.
# macOS
brew install ffmpeg agg
# Windows (PowerShell; either agg line works)
winget install Gyan.FFmpeg --accept-source-agreements --accept-package-agreements
winget install asciinema.agg --accept-source-agreements --accept-package-agreements
# Debian/Ubuntu Linux
sudo apt install ffmpeg
cargo install --locked agg # or install agg's release binary
media doctor
If winget’s source fails, download the ZIP from FFmpeg’s Windows essentials builds and the Windows agg.exe from asciinema/agg releases. Extract both under a folder you own, and set MEDIA_FFMPEG, MEDIA_FFPROBE, and MEDIA_AGG to their full executable paths before media doctor. Doctor registers those paths; subsequent media commands use the registered names. The pinned PdfCraft archive is fetched and verified by doctor itself.
Make the PDF
- In the member’s own slide or document app, export every slide/page as PNG or JPEG. Use one size and sortable names such as
01-title.png,02-plan.png. This is the only app-specific step. - Compose the plain-file verbs:
media pdf 01-title.png 02-plan.png -o deck.pdf --title "Project plan" --author "Project owner"
media combine deck.pdf appendix.pdf -o complete.pdf
media slides complete.pdf slides/ # slides/01.png, 02.png, ... for a video
- Open
complete.pdfin any browser or PDF viewer, check page order and metadata, then share that file with the other members.mediaitself opens no browser and needs no camera or microphone. If this PDF later becomes a narrated video, therecordpage asks the member to allow camera/microphone once and press Start, Stop, then Use this; the PDF steps remain unchanged on every OS.
The reusable verbs are pdf (images to PDF), combine (PDFs to one PDF), and slides (PDF pages back to numbered PNGs). Change or repeat only the verb whose output needs work.