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

smartchats-ai

v0.3.4

Published

SmartChats — one-stop CLI for the open-source voice AI agent. Launch the local docker stack (`smartchats launch`), verify it (`smartchats doctor`), sign in / login to the cloud SaaS, and import + export user data. Single entry point for end users and cont

Readme

smartchats — CLI

One-stop CLI for the open-source SmartChats voice AI agent. Launch the local stack, verify it, sign in to cloud, import/export data — single entry point.

Install

npm install -g smartchats-ai

After install, both smartchats and smartchats-ai are on your PATH (same binary, two aliases).

Or run without installing:

npx smartchats-ai <command>

Quick start

smartchats launch           # interactive: prompts for API keys, builds image, runs container
smartchats launch --test    # automated: launches detached, waits for ready, runs doctor
smartchats doctor           # diagnostic: checks docker, image, container, port 3000, LLM keys
smartchats --help           # everything else

After launch, open http://localhost:3000.

Commands

| Command | What it does | |---|---| | smartchats launch | Build the AIO docker image (first run only — a few minutes) and run it. Prompts for OpenAI / Anthropic / Google / Serper API keys, writes them to .env, persists SurrealDB data under ~/.smartchats/aio/ (or $XDG_DATA_HOME/smartchats/aio/). | | smartchats launch --test | Launch detached, wait until the stack responds on port 3000, run doctor, exit with doctor's exit code. Good for CI smoke checks. | | smartchats doctor | Diagnostic table: Docker present? Image built? Container running? Port responsive? Is the page actually SmartChats? Any LLM key configured? Returns non-zero if any critical check fails. | | smartchats login | Sign in to the SmartChats cloud SaaS (browser OAuth). Credentials cached at ~/.smartchats-mcp/credentials.json — shared with the MCP server. | | smartchats logout | Clear cached cloud credentials. | | smartchats whoami | Show current cloud user. | | smartchats data export <file> | Save user data to a JSON bundle (--target=cloud or --target=local). | | smartchats data import <file> | Load a JSON bundle into a deployment. |

Configuration

| Knob | Default | Purpose | |---|---|---| | SMARTCHATS_HOME | (auto-detected via dir walk) | Explicit path to a smartchats repo clone. Set this when running the CLI from outside the repo. | | SMARTCHATS_CONFIG_FILE | $XDG_CONFIG_HOME/smartchats/config.json or ~/.smartchats/config.json | CLI preferences (last-used mode, port, etc.). | | SMARTCHATS_CREDENTIALS_FILE | ~/.smartchats-mcp/credentials.json | Cloud OAuth credentials cache. | | XDG_DATA_HOME | ~/.smartchats | Base path for AIO container data (<XDG_DATA_HOME>/aio/). |

The CLI never asks for credentials twice — it reads from your environment first, then .env, then prompts.

How it works on a fresh machine

On first run, smartchats launch auto-clones the smartchats repo into ~/.smartchats/cli/source/ (or $XDG_DATA_HOME/smartchats/cli/source/), which has the Dockerfile.aio needed to build the AIO image. Subsequent runs reuse the clone.

To use your own clone instead, pass --repo-path /path/to/clone or set $SMARTCHATS_HOME.

Status

Phase 1 — published as smartchats-ai on npm. Auto-clones the source repo on first run; future phases will ship pre-built Docker images so no clone is needed at all.

  • Ship pre-built Docker images on Docker Hub so first-run skips the local build
  • Add --mode byo-db for bringing your own SurrealDB instance
  • Add --mode dev to subsume hot-reload development flows