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

@thewulf7/openclaw-avatarcam

v1.0.0

Published

Generate video messages with a lip-syncing VRM avatar for OpenClaw

Readme

openclaw-avatarcam

Generate video messages with a lip-syncing VRM avatar for OpenClaw.

Installation

npm install -g openclaw-avatarcam

System Dependencies

| Platform | Command | |----------|---------| | macOS | brew install ffmpeg | | Linux | sudo apt-get install -y xvfb xauth ffmpeg | | Windows | Install ffmpeg and add to PATH | | Docker | See Docker Setup |

Note: macOS and Windows don't need xvfb — they have native display support.

Usage

# Basic usage with color background
avatarcam --audio voice.mp3 --output video.mp4 --background "#00FF00"

# With image background
avatarcam --audio voice.mp3 --output video.mp4 --background ./bg.png

# With custom avatar
avatarcam --audio voice.mp3 --output video.mp4 --avatar ./my-avatar.vrm

Options

| Option | Required | Description | |--------|----------|-------------| | --audio <path> | Yes | Input audio file (mp3, wav, etc.) | | --output <path> | Yes | Output video file (.mp4) | | --avatar <path> | No | VRM avatar model (default: built-in) | | --background <val> | No | Color hex or image path (default: #00FF00) |

Output Format

  • Resolution: 384x384 (square, optimized for Telegram video notes)
  • Frame rate: 30fps constant
  • Max duration: 60 seconds
  • Codec: H.264 + AAC
  • Container: MP4

OpenClaw Integration

This package includes an OpenClaw skill in skill/SKILL.md.

To install the skill:

# Copy to your OpenClaw skills folder
cp -r $(npm root -g)/openclaw-avatarcam/skill ~/.openclaw/skills/video-message

Or configure manually in openclaw.json:

{
  "skills": {
    "entries": {
      "video-message": {
        "avatar": "default.vrm",
        "background": "#00FF00"
      }
    }
  }
}

Docker Setup

Add to OPENCLAW_DOCKER_APT_PACKAGES:

build-essential procps curl file git ca-certificates xvfb xauth libgbm1 libxss1 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libasound2 libnss3 ffmpeg

Custom Avatars

Place .vrm files in the models directory or specify with --avatar:

avatarcam --audio voice.mp3 --output video.mp4 --avatar ~/my-avatars/custom.vrm

Technical Details

  1. Electron renders VRM avatar with lip sync at 1280x720
  2. WebM captured via canvas.captureStream(30)
  3. FFmpeg processes: crop → fps normalize → scale → encode
  4. Output: 384x384 MP4 ready for Telegram sendVideoNote

Headless Rendering

The CLI auto-detects headless environments:

  • Uses xvfb-run when $DISPLAY is not set (Linux only)
  • macOS uses native Quartz display
  • GPU stall warnings are safe to ignore

License

MIT © Evgeny Utkin