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

@orchata-ai/cli

v1.4.0

Published

Orchata CLI - API-first management for Spaces, Documents, and Queries

Readme

@orchata-ai/cli

Command-line interface for managing Orchata Spaces, Documents, and Queries.

Installation

npm install -g @orchata-ai/cli
# or
bun add -g @orchata-ai/cli

Quick Start

# Set up your cloud configuration
orchata init

# Authenticate with your API key
orchata login

# List your spaces
orchata spaces list

# Upload a document to a space
orchata documents upload ./docs/handbook.md --space space_123

# Query a space
orchata query "How do I authenticate?" --space space_123

Commands

orchata init

Configure the CLI to connect to the Orchata cloud API.

orchata init
orchata init --api-base https://api.orchata.ai --app-base https://app.orchata.ai

orchata login

Opens the signup page (if needed) and stores your API key.

orchata login
orchata login --api-key oai_...
orchata login --profile production

Options:

  • --api-key <key> — Provide API key non-interactively
  • --profile <name> — Use a named profile
  • --host <url> — Override API base URL
  • --no-open — Don't open the signup page in browser

orchata configure

Update saved settings like profile, API base, and app base.

orchata configure --api-base https://api.orchata.ai
orchata configure --profile staging --set-default

orchata spaces

Manage spaces.

orchata spaces list
orchata spaces create --name "Docs" --description "Product docs" --icon book
orchata spaces get space_123
orchata spaces update space_123 --name "Updated"
orchata spaces delete space_123

orchata documents

Manage documents in a space.

orchata documents list --space space_123
orchata documents upload ./file.md --space space_123
orchata documents upload --space space_123 --content "# Title"
orchata documents get document_123 --space space_123
orchata documents content document_123 --space space_123
orchata documents append document_123 --space space_123 --content "- New item"
orchata documents batch ./docs/ --space space_123

orchata query

Query one or more spaces.

orchata query "authentication flow" --space space_123
orchata query smart "what is orchata"
orchata query "onboarding" --space space_123 --top-k 5

Global Options

These options can be used with any command:

  • --profile <name> — Use a named profile
  • --api-base <url> — Override API base URL
  • --app-base <url> — Override app base URL
  • --api-key <key> — Override API key for this run
  • --json — Output raw JSON

Configuration

Config is stored in ~/.orchata/config.json with restricted permissions.

You can also set configuration via environment variables:

ORCHATA_API_BASE=https://api.orchata.ai
ORCHATA_API_KEY=oai_...
ORCHATA_PROFILE=cloud

License

MIT