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
@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]