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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@openverifiable/open-verifiable-id-cli

v0.0.5

Published

Unified CLI for Open Verifiable operations (Identity + Engine)

Readme

🚀 open-verifiable-id-cli - Unified Open Verifiable CLI

A unified command-line interface for Open Verifiable operations:

  • Engine Management: Initialize, start, stop, and manage the Open Verifiable Engine
  • Identity Operations: Create DIDs, issue/verify credentials, manage keys

Installation

Local Development

cd open-verifiable-id-cli
npm install
npm link  # Makes 'ove' available globally

Usage

ove --help
ove identity --help

Architecture

This CLI is maintained in the open-verifiable-id-cli repository and depends on:

  • @openverifiable/open-verifiable-id-sdk - For identity operations

The engine references this CLI directly via file path (no npm package needed). See ARCHITECTURE.md for details.

Commands

Initialize Engine

# Interactive setup with custom credentials
ove init

# Use defaults without prompts
ove init --skip-prompts

What it does:

  • Prompts for admin username/password
  • Resets database
  • Provisions Logto
  • Creates admin user
  • Configures SPA application
  • Saves configuration

Start Services

# Start all Docker services
ove start

# Start only infrastructure
ove start --infra

# Start infrastructure and show app start commands
ove start --all

Stop Services

ove stop

Check Status

ove status

Shows:

  • Initialization status
  • Admin credentials (password hidden)
  • Docker service status
  • Last reset time

View Configuration

# Show config (password hidden)
ove config

# Show config with password
ove config --show-password

View Logs

# View all logs
ove logs

# Follow logs (live)
ove logs -f

# View specific service
ove logs logto
ove logs postgres

Reset Engine

ove reset

Prompts for confirmation before resetting.

Social Connectors

ove connector

Shows link to interactive connector setup script.


Identity Commands

Create DID

# Create a DID (default: did:key)
ove identity did:create

# Create DID with specific method
ove identity did:create --method cheqd:testnet

# Create DID with alias
ove identity did:create --method key --alias my-did

Resolve DID

ove identity did:resolve did:key:z6Mk...

List DIDs

ove identity did:list

Issue Verifiable Credential

ove identity vc:issue \
  --issuer did:key:z6Mk... \
  --subject did:key:z6Mk... \
  --type EmployeeCredential \
  --attributes '{"role":"engineer","department":"engineering"}'

Verify Credential

# From JSON string
ove identity vc:verify '{"@context":["https://www.w3.org/2018/credentials/v1"],...}'

# From file
ove identity vc:verify credential.json --file

Generate Key Pair

# Generate Ed25519 key (default)
ove identity key:generate

# Generate Secp256k1 key
ove identity key:generate --type Secp256k1

# Save private key to file
ove identity key:generate --output private-key.pem

Configuration File

The CLI stores configuration in .ove-config.json at the engine root:

{
  "adminUsername": "admin",
  "adminPassword": "your-password",
  "initialized": true,
  "lastReset": "2025-11-23T18:00:00.000Z",
  "spaAppId": "ov-put-web-app"
}

Quick Start

# 1. Initialize the engine
ove init
# Enter admin credentials when prompted

# 2. Start services
ove start

# 3. View status
ove status

# 4. Start applications (in separate terminals)
cd apps/server-cloud && npm run dev
cd apps/put-web && npm run dev

# 5. Visit http://localhost:5173

Development

# Run in development mode
npm run dev -- init

# Build for production
npm run build

# Clean build artifacts
npm run clean

Features

  • ✅ Interactive credential setup
  • ✅ Configuration persistence
  • ✅ Service management
  • ✅ Status monitoring
  • ✅ Log viewing
  • ✅ Colored, friendly output
  • ✅ Password masking
  • ✅ Confirmation prompts
  • ✅ Error handling

Comparison with Manual Setup

| Task | Manual | With CLI | |------|--------|----------| | Initialize | Run script, set env vars | ove init | | Remember credentials | Check script output | ove config | | Start services | cd tools/dev-cluster && docker compose up -d | ove start | | Check status | docker compose ps | ove status | | View logs | cd tools/dev-cluster && docker compose logs | ove logs |

License

Apache-2.0