MCPcopy Index your code
hub / github.com/amanvirparhar/weebo

github.com/amanvirparhar/weebo @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
12 symbols 39 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Weebo

A real-time speech-to-speech chatbot powered by Whisper Small, Llama 3.2, and Kokoro-82M.

Works on Apple Silicon.

Learn more here.

Features

  • Continuous speech recognition using Whisper MLX
  • Natural language responses via Llama
  • Real-time text-to-speech synthesis with Kokoro-82M
  • Support for different voices
  • Streaming response generation

Setup

Download required models:

  • kokoro-v0_19.onnx (TTS model): wget https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files/kokoro-v0_19.onnx
  • Pull the llama3.2 model using Ollama: ollama pull llama3.2
  • for Mac: brew install espeak-ng
  • for Mac: export ESPEAK_DATA_PATH=/opt/homebrew/share/espeak-ng-data

Usage

Run the chatbot:

uv run --python 3.12 --with-requirements requirements.txt main.py

The program will start listening for voice input. Speak naturally and wait for a brief pause - the bot will respond with synthesized speech. Press Ctrl+C to stop.

Alternatively, create an environment and install the requirements:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python main.py

Core symbols most depended-on inside this repo

phonemize
called by 2
main.py
_init_espeak
called by 1
main.py
_init_models
called by 1
main.py
_create_vocab
called by 1
main.py
record_and_transcribe
called by 1
main.py
create_and_play_response
called by 1
main.py
main
called by 1
main.py
_signal_handler
called by 0
main.py

Shape

Method 10
Class 1
Function 1

Languages

Python100%

Modules by API surface

main.py12 symbols

For agents

$ claude mcp add weebo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact