GPT3 livecoding in FoxDot
work in progress!
Requires a key from OpenAI.
Install requirements
pip install -r requirements.txt
Install FoxDot from source.
Download SuperCollider or install it from source and then add the FoxDot quark to it by running Quarks.install("FoxDot")
and recompiling the class library.
In the root folder, create a file called .env
which contains the following line:
OPENAI_KEY=xxxxxx
where xxxxxx
is replaced with your API key from OpenAI.
Boot SuperCollider server and start FoxDot by running:
FoxDot.start
In a terminal, run
python runfoxdot.py
This will launch the FoxDot editor.
In a second terminal, run
python main.py
And then click your mouse cursor onto the FoxDot editor, and wait for the main script to begin generating keystrokes to run FoxDot commands.