Skip to content

Instantly share code, notes, and snippets.

View Lifto's full-sized avatar

Ellis Low Lifto

View GitHub Profile
@Lifto
Lifto / talk.sh
Created January 12, 2026 20:01
Brim AI with Fedora Docs RAG for post #4
#!/usr/bin/env bash
set -e
# Path to audio input
AUDIO=input.wav
# Step 1: Record from mic
echo "🎙️ Speak now..."
arecord -f S16_LE -r 16000 -d 5 -q "$AUDIO"
@Lifto
Lifto / convert.sh
Created January 12, 2026 18:35
Place in quick-docs repo and run it, creates an adjacent quick-docs-html directory with the .adoc files rendered to .html
OUT_DIR="$PWD/../quick-docs-html"
mkdir -p "$OUT_DIR"
podman run --rm \
-v "$PWD:/work:Z" \
-v "$OUT_DIR:/out:Z" \
-w /work \
docker.io/asciidoctor/docker-asciidoctor \
bash -lc '