Files
2025_Symposium/justfile

26 lines
846 B
Makefile

tapes := "tapes"
record tape="intro.tape":
vhs {{tapes}}/{{tape}}
install-dependencies:
brew install jstkdng/programs/ueberzugpp
ask-chat-gpt question output:
@bin/run --ask-chat-gpt \
'{ "model": "gpt-4o-mini", "messages": [{"role": "system", "content": "You are such a helpful assistant." }, { "role": "user", "content": "{{question}}" }]}' \
--output {{output}}
# TODO: Remove
ask-gpt question:
@curl "https://api.openai.com/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${OPENAI_API_KEY}" \
-d '{ "model": "gpt-4o-mini", "messages": [{"role": "system", "content": "You are such a helpful assistant." }, { "role": "user", "content": "{{question}}" }]}'
convert-to-gif path output:
magick path output
copy-gpt-output file:
@bin/run --copy-gpt-output {{file}}