Jasper Assistant. Ready to help you do whatever you need, on your computer.
Jasper in action
- Clone the repo
git clone https://github.com/uukelele-scratch/jasper.git && cd jasper
- Install Requirements
pip install -r requirements.txt
- Create a
.env
file
echo "GEMINI_API_KEY=your_api_key_here" > src/.env
- Start the CLI
cd src && python cli.py
- Start the 3D GUI Interface
cd src && python main.py
- Find a model:
-
Download the model as FBX.
-
Create an account at Mixamo:
-
Upload your model using the "UPLOAD CHARACTER" button.
-
Search for any animations you want.
- We used the Locomotion pack, as well as some searching, thinking, and rummaging animations.
- Download them with the following settings: (if available)
- Format: FBX 7.4(.fbx)
- Skin: Without Skin
- If your download is a .zip file instead of .fbx, extract the zip to find FBX files inside.
-
Place all the fbx animation files you have downloaded into
src/models/fbx_animations
. -
Download and install Blender.
- Keep note of the installation path (default is
/usr/bin/blender
) - Put this into your
.env
:echo "BLENDER_PATH=/path/to/blender" >> src/.env && source .env
- Run the conversion script:
cd src/models && chmod +x convert-all.sh && ./convert-all.sh
- Give the code the correct files:
Open src/main.py
in your preferred text editor.
Find this:
animations_to_load = {
"idle": "models/animations/idle.glb",
"jump": "models/animations/jump.glb",
...
}
Replace or add to it your own models and their paths, as well as names for Jasper to reference while controlling the body. REQUIRED animation names are:
idle
thinking
executing
searching
You can leave these as default, or replace them with your own if desired.