You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ mash info <program># for funsies, open a random package
$ mash info --random
Note, fully qualified package names will not work, eg mash info git-scm.org.
mash outdated
List all installed pkgx packages that are outdated.
Usage
mash outdated
mash ensure
Ensure a command is available. If a system command is found it is used,
otherwise the command is run via pkgx. Optionally can output env-style.
Note
We are macOS Xcode Command Line Tools aware, so if the CLI tools are
installed and you ask for eg. git or python, we will use the Xcode CLT
version, but if they are not we know not to execute /usr/bin/git since it
isn’t going to work.
Usage
$ mash ensure git status
# runs system-installed git with arg `status` unless there is none, in which# case uses pkgx to invoke `git status`.
$ eval"$(mash ensure +git +cargo +npm)"# imports the above commands into your shell environment# same as the above
$ eval"$(mash ensure --env git cargo npm)"
mash transcribe
Transcribe YouTube videos fast with local AI.
Details
Locally transcribe a remote YouTube video using yt-dlp, ffmpeg,
whisper.cpp downloading the whisper model using huggingface-cli.
Usage
$ mash transcribe <YOUTUBE-URL># ^^ you probs need to quote that URL
Additional arguments are passed to whisper.cpp, eg. --no-timestamps or
-nt for no timestamps. Use pkgx whisper.cpp --help for more options.
whisper.cpp is very noisy, you can hide all the informational messages by
sending stderr to null:
mash transcribe youtu.be/xiq5euezOEQ 2>/dev/null
Redirecting stdout to a file means that file contains only the transcript: