Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
feishu logo

feishu

DrayChou/openclaw-extensions-feishu

Otheropenclawby DrayChou

Summary

OpenClaw plugin exposing 1 skill across feishu.

Install to Claude Code

openclaw plugin add DrayChou/openclaw-extensions-feishu

Run in Claude Code. Add the marketplace first with /plugin marketplace add DrayChou/openclaw-extensions-feishu if you haven't already.

README.md

OpenClaw Feishu Plugin (Custom Fork)

Custom fork of @openclaw/feishu with enhanced media format conversion support.

Features

Audio Conversion Support

  • Automatically converts audio files (MP3, WAV, M4A, AAC, FLAC, WMA) to Opus format
  • Feishu requires: Opus codec, 24kHz sample rate, mono channel, 24kbps bitrate
  • Sends converted audio as playable voice messages (not file attachments)

Video Conversion Support

  • Automatically converts video files (MOV, AVI, MKV, WebM, WMV, FLV) to MP4 format
  • Feishu requires: H.264 video codec, AAC audio codec, MP4 container
  • Sends converted videos as playable media messages

Requirements

  • ffmpeg and ffprobe must be installed on the server
  • Node.js >= 22

Installing ffmpeg

Ubuntu/Debian:

sudo apt update
sudo apt install ffmpeg

CentOS/RHEL:

sudo yum install epel-release
sudo yum install ffmpeg ffmpeg-devel

macOS:

brew install ffmpeg

Installation

From GitHub (Recommended)

cd ~/.openclaw/extensions
git clone https://github.com/DrayChou/openclaw-extensions-feishu.git feishu-custom
cd feishu-custom
npm install

Update OpenClaw Config

Add the local plugin path to your ~/.openclaw/openclaw.json:

{
  "plugins": {
    "load": {
      "paths": ["/path/to/.openclaw/extensions/feishu-custom"]
    },
    "entries": {
      "feishu": {
        "enabled": false
      },
      "feishu-custom": {
        "enabled": true
      }
    }
  }
}

Supported Formats

Audio

| Format | Extension | Conversion | |--------|-----------|------------| | Opus/Ogg | .opus, .ogg | None (native) | | MP3 | .mp3 | Convert to Opus | | WAV | .wav | Convert to Opus | | M4A | .m4a | Convert to Opus | | AAC | .aac | Convert to Opus | | FLAC | .flac | Convert to Opus | | WMA | .wma | Convert to Opus |

Video

| Format | Extension | Conversion | |--------|-----------|------------| | MP4 | .mp4, .m4v | None (native) | | MOV | .mov | Convert to MP4 | | AVI | .avi | Convert to MP4 | | MKV | .mkv | Convert to MP4 | | WebM | .webm | Convert to MP4 | | WMV | .wmv | Convert to MP4 | | FLV | .flv | Convert to MP4 |

How It Works

1. When sending media, the plugin checks the file extension 2. For audio files:

  • If already Opus/Ogg: upload directly as audio
  • Otherwise: convert to Opus using ffmpeg, then upload

3. For video files:

  • If already MP4: upload directly as media
  • Otherwise: convert to H.264/AAC/MP4 using ffmpeg, then upload

4. Temp files are automatically cleaned up after processing

Technical Details

Audio Conversion Parameters

ffmpeg -i input.mp3 \
  -c:a libopus \
  -b:a 24k \
  -ar 24000 \
  -ac 1 \
  output.opus

Video Conversion Parameters

ffmpeg -i input.mkv \
  -c:v libx264 \
  -preset fast \
  -crf 23 \
  -c:a aac \
  -b:a 128k \
  -movflags +faststart \
  output.mp4

Differences from Official Plugin

| Feature | Official | This Fork | |---------|----------|-----------| | MP3 audio | Sent as file | Converted to Opus voice message | | Other audio formats | Sent as file | Converted to Opus voice message | | Non-MP4 video | Sent as file | Converted to MP4 media message | | ffmpeg dependency | Not required | Required |

License

MIT

Credits

  • Original plugin: OpenClaw
  • Maintained by: @m1heng (official), @DrayChou (this fork)

Related plugins

Browse all →