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

@clawdbot/zalouser

v2026.1.24

Published

Clawdbot Zalo Personal Account plugin via zca-cli

Downloads

870

Readme

@clawdbot/zalouser

Clawdbot extension for Zalo Personal Account messaging via zca-cli.

Warning: Using Zalo automation may result in account suspension or ban. Use at your own risk. This is an unofficial integration.

Features

  • Channel Plugin Integration: Appears in onboarding wizard with QR login
  • Gateway Integration: Real-time message listening via the gateway
  • Multi-Account Support: Manage multiple Zalo personal accounts
  • CLI Commands: Full command-line interface for messaging
  • Agent Tool: AI agent integration for automated messaging

Prerequisites

Install zca CLI and ensure it's in your PATH:

macOS / Linux:

curl -fsSL https://get.zca-cli.dev/install.sh | bash

# Or with custom install directory
ZCA_INSTALL_DIR=~/.local/bin curl -fsSL https://get.zca-cli.dev/install.sh | bash

# Install specific version
curl -fsSL https://get.zca-cli.dev/install.sh | bash -s v1.0.0

# Uninstall
curl -fsSL https://get.zca-cli.dev/install.sh | bash -s uninstall

Windows (PowerShell):

irm https://get.zca-cli.dev/install.ps1 | iex

# Or with custom install directory
$env:ZCA_INSTALL_DIR = "C:\Tools\zca"; irm https://get.zca-cli.dev/install.ps1 | iex

# Install specific version
iex "& { $(irm https://get.zca-cli.dev/install.ps1) } -Version v1.0.0"

# Uninstall
iex "& { $(irm https://get.zca-cli.dev/install.ps1) } -Uninstall"

Manual Download

Download binary directly:

macOS / Linux:

curl -fsSL https://get.zca-cli.dev/latest/zca-darwin-arm64 -o zca && chmod +x zca

Windows (PowerShell):

Invoke-WebRequest -Uri https://get.zca-cli.dev/latest/zca-windows-x64.exe -OutFile zca.exe

Available binaries:

  • zca-darwin-arm64 - macOS Apple Silicon
  • zca-darwin-x64 - macOS Intel
  • zca-linux-arm64 - Linux ARM64
  • zca-linux-x64 - Linux x86_64
  • zca-windows-x64.exe - Windows

See zca-cli for manual download (binaries for macOS/Linux/Windows) or building from source.

Quick Start

Option 1: Onboarding Wizard (Recommended)

clawdbot onboard
# Select "Zalo Personal" from channel list
# Follow QR code login flow

Option 2: Login (QR, on the Gateway machine)

clawdbot channels login --channel zalouser
# Scan QR code with Zalo app

Send a Message

clawdbot message send --channel zalouser --target <threadId> --message "Hello from Clawdbot!"

Configuration

After onboarding, your config will include:

channels:
  zalouser:
    enabled: true
    dmPolicy: pairing  # pairing | allowlist | open | disabled

For multi-account:

channels:
  zalouser:
    enabled: true
    defaultAccount: default
    accounts:
      default:
        enabled: true
        profile: default
      work:
        enabled: true
        profile: work

Commands

Authentication

clawdbot channels login --channel zalouser              # Login via QR
clawdbot channels login --channel zalouser --account work
clawdbot channels status --probe
clawdbot channels logout --channel zalouser

Directory (IDs, contacts, groups)

clawdbot directory self --channel zalouser
clawdbot directory peers list --channel zalouser --query "name"
clawdbot directory groups list --channel zalouser --query "work"
clawdbot directory groups members --channel zalouser --group-id <id>

Account Management

zca account list      # List all profiles
zca account current   # Show active profile
zca account switch <profile>
zca account remove <profile>
zca account label <profile> "Work Account"

Messaging

# Text
clawdbot message send --channel zalouser --target <threadId> --message "message"

# Media (URL)
clawdbot message send --channel zalouser --target <threadId> --message "caption" --media-url "https://example.com/img.jpg"

Listener

The listener runs inside the Gateway when the channel is enabled. For debugging, use clawdbot channels logs --channel zalouser or run zca listen directly.

Data Access

# Friends
zca friend list
zca friend list -j    # JSON output
zca friend find "name"
zca friend online

# Groups
zca group list
zca group info <groupId>
zca group members <groupId>

# Profile
zca me info
zca me id

Multi-Account Support

Use --profile or -p to work with multiple accounts:

clawdbot channels login --channel zalouser --account work
clawdbot message send --channel zalouser --account work --target <id> --message "Hello"
ZCA_PROFILE=work zca listen

Profile resolution order: --profile flag > ZCA_PROFILE env > default

Agent Tool

The extension registers a zalouser tool for AI agents:

{
  "action": "send",
  "threadId": "123456",
  "message": "Hello from AI!",
  "isGroup": false,
  "profile": "default"
}

Available actions: send, image, link, friends, groups, me, status

Troubleshooting

  • Login Issues: Run zca auth logout then zca auth login
  • API Errors: Try zca auth cache-refresh or re-login
  • File Uploads: Check size (max 100MB) and path accessibility

Credits

Built on zca-cli which uses zca-js.