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

dyad-sh-cli

v0.1.0

Published

Command-line interface for Dyad - AI App Builder

Readme

@dyad-sh/cli

Command-line interface for Dyad - AI App Builder. Interact with Dyad from your terminal.

Installation

npm install -g @dyad-sh/cli

Or use with npx:

npx @dyad-sh/cli <command>

Prerequisites

The Dyad backend must be running and accessible. By default, the CLI connects to http://localhost:3000. You can override this with the DYAD_API_URL environment variable.

Usage

dyad <command> [options]

Commands

App Management

# List all applications
dyad apps list

# Get details of a specific app
dyad apps get <appId>

# Delete an application
dyad apps delete <appId>

Chat Management

# List all chats for an app
dyad chats list <appId>

# Get details of a specific chat
dyad chats get <chatId>

# Create a new chat for an app
dyad chats create <appId>

# Delete a chat
dyad chats delete <chatId>

Messaging

# List messages in a chat
dyad messages <chatId>

# Send a message to a chat
dyad send <chatId> "Your message here"

System

# Check backend health
dyad health

# Show help message
dyad help

Configuration

The CLI can be configured using environment variables:

  • DYAD_API_URL: Backend API URL (default: http://localhost:3000)
  • DYAD_API_KEY: API key for authentication (optional)

Example

export DYAD_API_URL=http://localhost:3000
export DYAD_API_KEY=your-api-key-here

dyad apps list

Examples

List all apps

$ dyad apps list

Found 2 app(s):

  [1] my-nextjs-app
      Path: /Users/me/dyad-apps/my-nextjs-app
      Created: 1/15/2024, 10:30:00 AM

  [2] react-dashboard
      Path: /Users/me/dyad-apps/react-dashboard
      Created: 1/16/2024, 2:15:00 PM

Get app details

$ dyad apps get 1

App Details:

  ID: 1
  Name: my-nextjs-app
  Path: /Users/me/dyad-apps/my-nextjs-app
  Created: 1/15/2024, 10:30:00 AM
  Updated: 1/15/2024, 3:45:00 PM
  Package Manager: npm

Create a new chat

$ dyad chats create 1
Chat created successfully: 5

Send a message

$ dyad send 5 "Add a new homepage component"
Message sent successfully: 42

Check health

$ dyad health
Backend Status: ok
Version: 0.22.0-beta.1
Uptime: 3600s

Development

Build the CLI:

npm run build

Watch mode:

npm run watch

Test locally:

node dist/cli.js apps list

Architecture

The CLI uses the @dyad-sh/core package which provides a unified HTTP client for interacting with the Dyad backend. This ensures consistency across all Dyad interfaces (Desktop, Web, CLI).

License

MIT