Jack in the Box (JITB): Connecting Jackbox Games to the OpenAI API in Python3
JITB uses this OpenAi API with the gpt-4o-mini model to generate content and a Google Chrome browser, by way of Selenium, to interact with the Jackbox Games.
- Install Python 3.10 (or later)
- Download and install Google Chrome
- Download a release wheel from releases
pip install jitb-X.Y.Z-py3-none-any.whl- Setup your OpenAI API Key
- Start a supported Jackbox Game
- Get one human signed in (JITB will not function as the VIP)
jitb --helpjitb --user JITB --room <ROOM_CODE>(v1.1.0)jitb auto --user JITB --room <ROOM_CODE>(v2 or later)
- Start the game
jitb --help
OPTIONAL: Use the TMPDIR environment variable to control the debug log file location.