Secure, private, local, multi-model, multi-engine, AI chat.
Using LLaMA.cpp, huggingface-cli and a shit-tonne of googling we have fine tuned the chat interface of LLaMA.cpp for a variety of models.
$ mash ai chat
Or to avoid the TUI chooser:
$ mash ai chat [--dolphin-mistral|--llama2|--llama-13b]
Transcribe YouTube videos fast with local AI.
Locally transcribe a remote YouTube video using yt-dlp
, ffmpeg
,
whisper.cpp
downloading the whisper model using huggingface-cli
.
$ mash ai youtube-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 ai youtube-transcribe youtu.be/xiq5euezOEQ 2>/dev/null
Redirecting stdout to a file means that file contains only the transcript:
$ mash ai youtube-transcribe youtu.be/xiq5euezOEQ -nt 2> transcription.txt
Make a stargazer video for any GitHub repo.
$ mash gh stargazer
# ^^ prompts you for repo and other required inputs
Wraps https://github.com/pomber/stargazer for your convenience.
Configure git
& GitHub to sign ur commits.
Signing your Git commits is important since there is no other way for the commit to be verified as yours. Git is a transparent system that is easy to spoof.
This script sets you up so from now on your commits are signed with bpb
,
and pings GitHub so that it can verify your commit signatures.
$ mash git setup-gpg
# ^^ tells you what it’s going to do and confirms before it does it
bpb
is a super simple signing utility written in rust. Typically signing
with GPG is a complex suite of steps and tools, which is why we prefer bpb
.
A simple demo for scriptisto using clang
, glib and pkg-config
.
$ mash demo scriptisto
Builds and run Stable Diffusion web UI with more advanced models.
$ mash ai ui-sd
Additional arguments are passed to the app launcher.
A browser interface based on Gradio library for Stable Diffusion.
- Builds to
~/.local/sd-webui
- Prompts the user to download several initial default model choices
- Uses HuggingFace-cli to download the models to standardize model delivery across the AI app ecosystem
- Symlinks the models to
~/.local/share/models
to share acrossmash ai ui
launchers
Some of the TUI selectable models require different arguments passed to the launcher, so you may get garbage output if you don’t restart the UI.
Build and run SD.Next, a popular fork of Stable Diffusion web UI.
$ mash ai ui-sd.next
Additional arguments are passed to the app launcher.
- Builds to
~/.local/SD.Next
- Reuses models from the other
mash ai-ui
launchers
Build and runs the ComfyUI: the most powerful and modular Stable Diffusion GUI and backend.
$ mash ai ui-comfy
Additional arguments are passed to the app launcher.
- Builds to
~/.local/ComfyUI
. - Reuses models from the other
mash ai-ui
launchers
Build and runs Stable Diffusion webUI-UX: a fork of Stable Diffusion web UI with a more user-friendly interface.
$ mash ai ui-sd-ux
Additional arguments are passed to the app launcher.
A bespoke, highly adaptable user interface for the Stable Diffusion, utilizing the powerful Gradio library. This cutting-edge browser interface offer an unparalleled level of customization and optimization for users, setting it apart from other web interfaces.
- Builds to
~/.local/sd-webui-ux
- Reuses models from the other
mash ai-ui
launchers
Build and runs FaceFusion: a next generation face swapper and enhancer.
$ mash ai ui-facefusion
Additional arguments are passed to the app launcher.
- Builds to
~/.local/FaceFusion
Build and runs Sherlock: hunt down social media accounts by username across social networks.
$ mash app sherlock <username>
Additional arguments are passed to the app launcher.
- Builds to
~/.local/sherlock
Create tea.yaml
for your GitHub repos.
$ mash tea register
Cronic is a shell script to help control the most annoying feature of cron: unwanted emailed output, or "cram" (cron spam).
$ crontab -l
0 12 * * * /path/to/mash sh cronic /path/to/your/script.sh