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

@zernio/cli

v0.3.0

Published

CLI for Zernio - Schedule posts, manage inbox, broadcasts, sequences, and automations across 14 platforms

Downloads

536

Readme

Zernio CLI

Schedule posts, manage inbox, broadcasts, sequences, and automations across 14 platforms from the terminal.

Built for developers and AI agents. Outputs JSON by default.

Install

npm install -g @zernio/cli

Quick Start

# 1. Log in via browser (recommended)
zernio auth:login

# Or set your API key manually (get one at https://zernio.com/dashboard/api-keys)
zernio auth:set --key "sk_your-api-key"

# 2. List your accounts
zernio accounts:list --pretty

# 3. Schedule a post
zernio posts:create --text "Hello from the CLI!" --accounts <accountId> --scheduledAt "2025-06-01T10:00:00Z"

Authentication

Browser login (recommended)

zernio auth:login

Opens your browser to authorize the CLI. An API key is created automatically and saved to ~/.zernio/config.json. Running it again from the same device replaces the existing key.

Options:

  • --device-name <name> - Custom device name for the API key label (defaults to your hostname)

Manual API key

zernio auth:set --key "sk_your-api-key"

Verify

zernio auth:check

Commands

| Command | Description | |---------|-------------| | zernio auth:login | Log in via browser | | zernio auth:set --key <key> | Save API key manually | | zernio auth:check | Verify API key | | zernio profiles:list | List profiles | | zernio profiles:create --name <name> | Create profile | | zernio profiles:get <id> | Get profile | | zernio profiles:update <id> | Update profile | | zernio profiles:delete <id> | Delete profile | | zernio accounts:list | List social accounts | | zernio accounts:get <id> | Get account details | | zernio accounts:health | Check account health | | zernio posts:create | Create/schedule a post | | zernio posts:list | List posts | | zernio posts:get <id> | Get post details | | zernio posts:delete <id> | Delete a post | | zernio posts:retry <id> | Retry failed post | | zernio analytics:posts | Post analytics | | zernio analytics:daily | Daily metrics | | zernio analytics:best-time | Best posting times | | zernio media:upload <file> | Upload media file | | Inbox | | | zernio inbox:conversations | List DM conversations | | zernio inbox:conversation <id> | Get conversation details | | zernio inbox:messages <id> | Get messages in conversation | | zernio inbox:send <id> | Send a DM | | zernio inbox:comments | List post comments | | zernio inbox:post-comments <id> | Get comments on a post | | zernio inbox:reply <postId> | Reply to a comment | | zernio inbox:reviews | List reviews | | zernio inbox:review-reply <id> | Reply to a review | | Contacts | | | zernio contacts:list | List contacts | | zernio contacts:create | Create a contact | | zernio contacts:get <id> | Get contact details | | zernio contacts:update <id> | Update a contact | | zernio contacts:delete <id> | Delete a contact | | zernio contacts:channels <id> | List contact channels | | zernio contacts:set-field <id> <slug> | Set custom field | | zernio contacts:clear-field <id> <slug> | Clear custom field | | zernio contacts:bulk-create | Bulk create from JSON | | Broadcasts | | | zernio broadcasts:list | List broadcasts | | zernio broadcasts:create | Create broadcast draft | | zernio broadcasts:get <id> | Get broadcast with stats | | zernio broadcasts:update <id> | Update broadcast | | zernio broadcasts:delete <id> | Delete broadcast | | zernio broadcasts:send <id> | Send immediately | | zernio broadcasts:schedule <id> | Schedule for later | | zernio broadcasts:cancel <id> | Cancel broadcast | | zernio broadcasts:recipients <id> | List recipients | | zernio broadcasts:add-recipients <id> | Add recipients | | Sequences | | | zernio sequences:list | List sequences | | zernio sequences:create | Create sequence | | zernio sequences:get <id> | Get sequence with steps | | zernio sequences:update <id> | Update sequence | | zernio sequences:delete <id> | Delete sequence | | zernio sequences:activate <id> | Activate sequence | | zernio sequences:pause <id> | Pause sequence | | zernio sequences:enroll <id> | Enroll contacts | | zernio sequences:unenroll <id> <contactId> | Unenroll contact | | zernio sequences:enrollments <id> | List enrollments | | Automations | | | zernio automations:list | List comment-to-DM automations | | zernio automations:create | Create automation | | zernio automations:get <id> | Get automation with logs | | zernio automations:update <id> | Update automation | | zernio automations:delete <id> | Delete automation | | zernio automations:logs <id> | List trigger logs |

Configuration

Config is stored at ~/.zernio/config.json. Environment variables take precedence:

| Env Var | Description | |---------|-------------| | ZERNIO_API_KEY | API key (required) | | ZERNIO_API_URL | Custom API base URL |

Legacy env vars LATE_API_KEY / LATE_API_URL and config at ~/.late/config.json are still supported as fallbacks.

AI Agent Integration

This CLI ships with a SKILL.md file for AI agent discovery (Claude Code, OpenClaw, etc.). AI agents can use the CLI to schedule posts, manage inbox conversations, send broadcasts, run drip sequences, and set up comment-to-DM automations programmatically.

Supported Platforms

Instagram, TikTok, X (Twitter), LinkedIn, Facebook, Threads, YouTube, Bluesky, Pinterest, Reddit, Snapchat, Telegram, Google Business Profile.

License

MIT