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

@opally/cli

v0.3.0

Published

CLI for the Opally API — query guest conversations, emails, voice calls, leads, and analytics.

Readme

@opally/cli

CLI for the Opally API — query guest conversations, emails, voice calls, leads, and analytics from your terminal.

Install

npm install -g @opally/cli

Setup

opally login op_live_YOUR_KEY_HERE

Get your API key from the Opally dashboard under Integrations > Developer > API Access.

Running opally login without a key will open the dashboard in your browser.

Or use an environment variable:

export OPALLY_API_KEY=op_live_YOUR_KEY_HERE

Usage

# List recent emails
opally emails list --limit 5

# Get email details with AI draft
opally emails get <id>

# List chat conversations
opally chats list --from 2026-03-01

# Read chat messages
opally chats messages <id>

# Voice call logs
opally voice list

# Leads
opally leads list --source chat

# Analytics overview
opally analytics overview --from 2026-03-01 --to 2026-03-31

# Time-series analytics
opally analytics emails --interval week --status draft_created

Output is automatically JSON when piped or used by AI agents. Use --json to force JSON in a terminal, or -q/--quiet to suppress all non-data output.

Global Options

| Option | Description | |--------|-------------| | --api-key <key> | Override API key for this command | | --json | Force JSON output | | -q, --quiet | Suppress spinners and non-data output (implies --json) |

Commands

| Command | Description | |---------|-------------| | opally login [key] | Authenticate with the Opally API | | opally emails list | List email logs | | opally emails get <id> | Email details with AI draft | | opally chats list | List chat conversations | | opally chats get <id> | Chat conversation details | | opally chats messages <id> | Full message history | | opally voice list | List voice calls | | opally voice get <id> | Voice call details | | opally leads list | List guest leads | | opally leads get <id> | Lead details | | opally analytics overview | High-level activity summary | | opally analytics emails | Email metrics over time | | opally analytics chats | Chat metrics over time | | opally analytics voice | Voice metrics over time | | opally analytics leads | Lead metrics over time | | opally analytics agent-actions | Agent action metrics over time | | opally config set-url <url> | Set custom API base URL | | opally config show | Show current configuration | | opally doctor | Run environment diagnostics |

Documentation

Full API documentation: opally.gitbook.io/opally-api-docs

License

MIT