Skip to content

daily-co/pcc-text-only-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a quick'n'rough text-only mode POC

frankenstein-ed from (this)[https://github.com/vipyne/annie-hall-weather-bot/tree/main]

can be run with LOCAL_RUN=1 TEXT_ONLY=1 python server.py look for 👾 Bot: in the logs at http://localhost:5173/

or

LOCAL_RUN=1 python server.py this runs in normal voice mode

Quick Start

  1. Copy env.example to .env and add API keys

    cp server/example.env server/.env
  2. Setup server

    cd server
    python3 -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    pip install -r requirements.txt
  3. Start the server

    python server.py
  4. Setup client

    cd client/javascript
    npm install
  5. Start the client

    npm run dev
  6. Navigate to http://localhost:5173 in your browser and click "Talk to annie hall weather bot".

Server Overview

Client Overview

Important Note

The bot server must be running for any of the client implementations to work. Start the server first before trying any of the client apps.

Requirements

  • Python 3.10+
  • Node.js 16+
  • Daily API key (free)
  • Gemini API key (free)
  • Modern web browser with WebRTC support

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published