Skip to content

jpmoregain-eth/dragonclaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🐲 DragonClaw

AI tools for OpenClaw power users AI 工具,专为 OpenClaw 高级用户打造


Tools / 工具

Video Summarizer / 视频摘要器

English: Summarize videos from Bilibili, YouTube, and other platforms with automatic language detection and translation.

中文: 自动识别语言并翻译,为 Bilibili、YouTube 等平台的视频生成摘要。


Features / 功能特点

Feature 功能
Download from 1000+ sites 支持 1000+ 网站下载
Local transcription (Whisper) 本地语音识别 (Whisper)
Auto-detect language 自动检测语言
Auto-translate 自动翻译
100% local processing 100% 本地处理
No API keys needed 无需 API 密钥

Quick Start / 快速开始

Setup / 安装

cd ~/dragonclaw
bash setup.sh

Usage / 使用方法

# Auto-translate / 自动翻译
# Chinese video → English summary / 中文视频 → 英文摘要
dragonclaw video-summary https://bilibili.com/video/BV1xx411c7mD

# English video → Chinese summary / 英文视频 → 中文摘要
dragonclaw video-summary https://youtube.com/watch?v=xxx

# Force Chinese output / 强制中文输出
dragonclaw video-summary <url> --lang zh

# Force English output / 强制英文输出
dragonclaw video-summary <url> --lang en

# Keep downloaded video / 保留下载的视频
dragonclaw video-summary <url> --keep

How It Works / 工作原理

URL → yt-dlp → video → ffmpeg → audio → Whisper → transcript → Ollama → summary
      下载      视频      提取音频     语音识别      文字稿      本地大模型    摘要

Requirements / 系统要求

  • Python 3.8+
  • FFmpeg
  • Ollama (local LLM / 本地大语言模型)
  • ~2GB disk space for Whisper model / Whisper 模型需要约 2GB 磁盘空间

Privacy / 隐私保护

English:

  • ✅ All processing is local - no audio sent to cloud
  • ✅ No API keys needed
  • ✅ Works offline after initial setup

中文:

  • ✅ 全部本地处理,音频不会上传到云端
  • ✅ 无需 API 密钥
  • ✅ 初次设置后可离线使用

Installation / 安装步骤

1. Clone Repository / 克隆仓库

git clone https://github.com/jpmoregain-eth/dragonclaw.git
cd dragonclaw

2. Run Setup / 运行安装脚本

bash setup.sh

This will install: / 这将安装:

  • ffmpeg (system package / 系统包)
  • yt-dlp (Python package / Python 包)
  • openai-whisper (Python package / Python 包)
  • Whisper model (~150MB / 约150MB)

3. Make Available Globally / 全局可用 (Optional / 可选)

# Add to PATH / 添加到 PATH
echo 'export PATH="$HOME/dragonclaw:$PATH"' >> ~/.bashrc
source ~/.bashrc

# Or create symlink / 或创建符号链接
sudo ln -s ~/dragonclaw/dragonclaw.sh /usr/local/bin/dragonclaw

Roadmap / 路线图

  • DingTalk/Feishu bot integration / 钉钉/飞书机器人集成
  • i18n helper for skill developers / 技能开发者国际化助手
  • Chinese LLM auto-config / 国产大模型自动配置
  • Great Firewall connectivity checker / 防火墙连通性检测

License / 许可证

MIT License / MIT 许可证


Credits / 致谢

Built for the OpenClaw community / 为 OpenClaw 社区打造

🐲 DragonClaw - Making AI agents more accessible for Chinese users / 让中文用户更容易使用 AI 智能体

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors