Skip to content

Instantly share code, notes, and snippets.

View nibzard's full-sized avatar
🏠
Working from home

Nikola Balic nibzard

🏠
Working from home
View GitHub Profile
@prateek
prateek / README.md
Last active January 20, 2026 05:17
Using Ralph: AFK Codex loop + PRD/progress workflow

Using Ralph (AFK loop)

This gist contains:

  • ralph-loop.sh: runs Codex in an autonomous loop that repeatedly:
    1. picks the highest-priority task from PRD.md + progress.txt
    2. implements only that task
    3. runs tests/typechecks
    4. updates PRD.md and appends to progress.txt
    5. commits
  1. stops when a “promise” file is created
@nibzard
nibzard / scribe.sh
Last active January 23, 2024 22:07
#!/bin/zsh
# Description: This script automates the process of transcribing the audio to text, and optionally
# generating a YouTube description from the transcription. Transcription is done using Whisper.cpp.
# It takes a video file as input and processes it to output a transcription text file. If a second optional
# argument is provided (a filename containing a prompt), it further processes the transcription to generate
# a YouTube description based on the provided prompt.
#
# Usage:
# ./scribe.sh <video_file_name> [prompt_file_name]