npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

openclaw-liveavatar

v1.0.1

Published

Real-time video avatar chat interface for OpenClaw - talk face-to-face with your AI agent

Readme

OpenClaw LiveAvatar

Give your OpenClaw agent a face and voice! Talk face-to-face with a real-time AI avatar powered by LiveAvatar.

OpenClaw LiveAvatar Demo

Features

  • Voice-to-Voice Conversation: Speak naturally and hear your agent respond
  • Real-time Avatar: Lip-synced video avatar with natural expressions
  • OpenClaw Integration: Connects to your local OpenClaw Gateway
  • Smart TTS Summarization: Long responses are summarized for natural speech
  • Echo Cancellation: Won't respond to itself
  • Multiple Avatar Choices: Select from custom or public avatars
  • Chat Transcript: View the full conversation history

Installation

Option 1: ClawHub Skill (Recommended)

If you have OpenClaw installed:

clawhub install liveavatar

Then run the /liveavatar command in any OpenClaw chat.

Option 2: NPX (Quick Start)

# Set your API key
export LIVEAVATAR_API_KEY=your_key_here

# Start OpenClaw Gateway (in another terminal)
openclaw gateway

# Run LiveAvatar
npx openclaw-liveavatar

Option 3: Global Install

npm install -g openclaw-liveavatar

# Then run anytime with:
openclaw-liveavatar

Option 4: Development Setup

git clone https://github.com/eNNNo/openclaw-liveavatar.git
cd openclaw-liveavatar
npm install
cp .env.example .env.local
# Edit .env.local with your API key
npm run dev

Prerequisites

Setup

1. Get Your API Key (Free)

  1. Go to app.liveavatar.com
  2. Create a free account
  3. Copy your API key from the dashboard

2. Set Your API Key

Option A: Environment variable

export LIVEAVATAR_API_KEY=your_api_key_here

Option B: OpenClaw config (~/.openclaw/openclaw.json)

{
  "skills": {
    "entries": {
      "liveavatar": {
        "env": {
          "LIVEAVATAR_API_KEY": "your_api_key_here"
        }
      }
    }
  }
}

3. Start OpenClaw Gateway

openclaw gateway

4. Launch LiveAvatar

npx openclaw-liveavatar
# Or: /liveavatar (if installed as skill)

The interface will open at http://localhost:3001

Demo Mode: If OpenClaw Gateway isn't running, the app will start in Demo Mode where you can interact with the avatar and learn about the integration.

How It Works

┌─────────────────┐     ┌──────────────────┐     ┌─────────────────┐
│   You Speak     │────▶│   LiveAvatar     │────▶│  OpenClaw       │
│   (Microphone)  │     │   (Transcribe)   │     │  Gateway        │
└─────────────────┘     └──────────────────┘     └────────┬────────┘
                                                          │
┌─────────────────┐     ┌──────────────────┐              │
│   Avatar Speaks │◀────│   LiveAvatar     │◀─────────────┘
│   (Lip-sync)    │     │   (TTS + Video)  │     Agent Response
└─────────────────┘     └──────────────────┘
  1. You speak into your microphone
  2. LiveAvatar transcribes your speech to text
  3. OpenClaw Gateway receives the text and sends it to your agent
  4. Your agent responds with text
  5. LiveAvatar synthesizes the response as speech
  6. The avatar speaks with synchronized lip movements

Configuration

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | LIVEAVATAR_API_KEY | Your LiveAvatar API key (required) | - | | OPENCLAW_GATEWAY_URL | WebSocket URL for OpenClaw Gateway | ws://127.0.0.1:18789 | | OPENCLAW_GATEWAY_TOKEN | Token for remote Gateway access | - |

OpenClaw Skill Installation

This can also be installed as an OpenClaw skill:

clawhub install liveavatar

Or invoke directly:

/liveavatar

Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

# Start production server
npm start

Architecture

openclaw-liveavatar/
├── app/                    # Next.js app directory
│   ├── api/               # API routes
│   │   ├── config.ts      # Configuration
│   │   ├── start-session/ # Session token generation
│   │   └── get-avatars/   # Avatar listing
│   ├── layout.tsx         # Root layout
│   └── page.tsx           # Main page
├── src/
│   ├── components/        # React components
│   │   ├── OpenClawDemo.tsx      # Setup/landing UI
│   │   └── LiveAvatarSession.tsx # Session UI
│   ├── gateway/           # OpenClaw Gateway client
│   │   ├── client.ts      # WebSocket client
│   │   └── types.ts       # Protocol types
│   └── liveavatar/        # LiveAvatar SDK hooks
│       ├── context.tsx    # React context with Gateway bridge
│       ├── useSession.ts  # Session management
│       ├── useVoiceChat.ts # Voice chat controls
│       └── ...
├── skills/                # OpenClaw skill definition
│   └── liveavatar/
│       └── SKILL.md
└── openclaw.plugin.json   # Channel plugin manifest

Troubleshooting

"OpenClaw Disconnected"

Make sure your OpenClaw Gateway is running:

openclaw gateway

"No avatars available"

Verify your LIVEAVATAR_API_KEY is set correctly in .env.local

Avatar not responding to speech

  1. Check microphone permissions in your browser
  2. Ensure the mic is not muted (green button = active)
  3. Verify Gateway shows "Connected" status
  4. Try a different microphone from the dropdown

Connection quality issues

LiveAvatar uses WebRTC. For best results:

  • Use a stable internet connection
  • Close other video/audio applications
  • Use Chrome or Edge for best WebRTC support

Credits

License

MIT