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

barry-video

v0.4.2

Published

Barry Video OpenClaw plugin for all Inbeidou creator workflows: account, credits, dramas, media, AI editing, and publishing.

Downloads

79

Readme

Barry Video

barry-video is Barry's Inbeidou workflow package for OpenClaw, Codex, and Claude Code.

It packages two layers together:

  • Skills: natural-language routing and workflow guidance under skills/
  • Tools: real executable capability registered in index.ts for OpenClaw

Detailed spec

The full implementation and packaging spec is documented in docs/barry-video-spec.md.

What this package includes

  • Account info
  • Credit balance
  • AI product pricing
  • Translation language catalogs
  • Short drama discovery for Dramabox and similar platforms
  • Media library upload/list/delete
  • Smart analysis
  • Smart clipping
  • Video translation
  • Generated works list/detail/download/delete
  • Social account listing
  • Social publish create/records/delete
  • One-shot clip -> download -> publish pipeline
  • Raw backend passthrough for future CLI commands

Repository layout

barry-video/
├── index.ts
├── openclaw.plugin.json
├── package.json
├── bin/
├── scripts/
└── skills/

How it works

  1. openclaw.plugin.json tells OpenClaw this package provides a plugin and bundled skills.
  2. package.json exposes the package as an installable OpenClaw extension.
  3. index.ts registers tool-use actions that shell into the working backend at inbeidou_cli.py.
  4. skills/ tells the model when to use which tool based on natural language.
  5. scripts/install-local.sh installs the package into ~/.openclaw, syncs bundled skills into ~/.codex/skills and ~/.claude/skills, prefers copying a local backend snapshot when available, and otherwise falls back to the bundled backend shipped inside the npm package.

Local install

cd /Users/ming/barry-video
./scripts/install-local.sh

Or:

npx -y barry-video install

By default, install now does this in one flow:

  • Installs the OpenClaw plugin and skills into ~/.openclaw
  • Installs the same skills into ~/.codex/skills
  • Installs the same skills into ~/.claude/skills
  • Writes Barry Video plugin config
  • If no token is already configured, automatically prints the official WeChat login QR directly in the terminal
  • Waits for scan confirmation, then saves the token

Optional environment variables for install:

export BARRY_VIDEO_BACKEND="$HOME/inbeidou_cli.py"
export INBEIDOU_TOKEN="your-token"
export BARRY_VIDEO_DEFAULT_ACCOUNT_IDS="109,108"
export BARRY_VIDEO_DEFAULT_PUBLISH_PLATFORM="FACEBOOK"
export CODEX_HOME="$HOME/.codex"

If you are installing on a different runtime user or machine, set INBEIDOU_TOKEN or BARRY_VIDEO_AUTH_TOKEN so the bundled backend can authenticate without depending on a local hardcoded script.

Login without pasting tokens

The package now supports the official Inbeidou QR login flow.

npx -y barry-video login

What it does:

  • Calls the official Inbeidou QR login API
  • Renders the returned QR image directly in the terminal
  • Polls the login status automatically
  • Saves the returned token into ~/.openclaw/openclaw.json
  • Caches a local copy at ~/.barry-video/auth.json

Notes:

  • barry-video install automatically enters this login flow after install when no token exists
  • --no-open is still accepted for backward compatibility, but the login flow no longer depends on 127.0.0.1
  • The original QR image is also saved at ~/.barry-video/last-login-qr.jpg as a fallback

Useful commands:

barry-video login --no-open
barry-video status
barry-video logout

After login, barry-video backend ... will auto-load the saved token if INBEIDOU_TOKEN is not already set.

If you want install without opening login, use:

barry-video install --no-login

Smoke test

cd /Users/ming/barry-video
./scripts/smoke-test.sh

Package for distribution

cd /Users/ming/barry-video
./scripts/package-release.sh

Publish to your own GitHub

cd /Users/ming/barry-video
git init
git add .
git commit -m "Initial Barry Video OpenClaw package"
git branch -M main
git remote add origin [email protected]:a77ming/barry-video.git
git push -u origin main

Publish to npm later

If you want OpenClaw to install it with npm, publish this package and then keep the same package name or update openclaw.install.npmSpec in package.json.

npm login
npm publish --access public