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

@asmostans/daeva

v0.2.6

Published

Daeva — local GPU pod orchestrator for AI workloads

Readme

Daeva

Local GPU pod orchestrator for AI workloads. One process to register, schedule, and manage containerized AI services (pods) on a single host with shared GPU resources.

Features

  • Pod registry — register and discover GPU-backed AI services
  • Job queue — submit async jobs, route them to capable pods, track results
  • Exclusivity groups — automatic stop/switch when pods contend for the same GPU
  • Pod packages — portable pod-package.json format for distributing pod definitions
  • Package install — materialize packages from local paths, Git repos, archives, or registries
  • MCP server — expose orchestrator capabilities to AI coding assistants via daeva-mcp
  • Built-in pods — bundled compatibility manifests for ComfyUI, Whisper, and OCR/Vision

Install

npm install -g @asmostans/daeva

Or from source:

git clone https://github.com/openclaw/daeva.git
cd daeva
npm install
npm run build

Platform installers

Platform-specific install scripts handle Node.js, Podman, and service setup:

# Linux (apt/dnf/pacman)
curl -fsSL https://asmo.bot/install-linux.sh | bash

# macOS (Homebrew)
curl -fsSL https://asmo.bot/install-macos.sh | bash

# Windows (PowerShell, winget/choco)
irm https://asmo.bot/install-windows.ps1 | iex

All scripts support --dry-run, --skip-podman, --skip-service, and more. Run with --help for details.

Quickstart

Start the server:

daeva
# Listening on http://127.0.0.1:8787

Submit a job:

curl -X POST http://127.0.0.1:8787/jobs \
  -H 'Content-Type: application/json' \
  -d '{"type": "transcribe-audio", "files": [{"source": "path", "path": "/tmp/demo.wav"}]}'

Check status:

curl http://127.0.0.1:8787/status

List pods:

curl http://127.0.0.1:8787/pods

Install a pod package:

curl -X POST http://127.0.0.1:8787/pods/create \
  -H 'Content-Type: application/json' \
  -d '{"alias": "comfyapi"}'

Then point Comfy clients at Daeva's proxy instead of raw port 8188:

export DAEVA_BASE=http://127.0.0.1:8787
curl "$DAEVA_BASE/proxy/comfyapi/system_stats"

MCP server

Daeva ships a stdio-based MCP server binary for integration with AI coding assistants:

daeva-mcp --base-url http://127.0.0.1:8787

Add to your MCP client config:

{
  "command": "daeva-mcp",
  "args": ["--base-url", "http://127.0.0.1:8787"]
}

Configuration

| Env var | CLI flag | Default | Description | |------------|----------------|---------------|----------------------| | PORT | --port | 8787 | HTTP listen port | | HOST | --host | 0.0.0.0 | HTTP listen address | | DATA_DIR | --data-dir | .data | Data/storage path |

REST API

Core endpoints

| Method | Path | Description | |--------|---------------------------|--------------------------------------| | GET | /health | Liveness probe | | GET | /pods | List pods and runtime state | | POST | /pods/register | Register a new pod manifest | | POST | /pods/create | Install a pod package by alias | | GET | /pods/aliases | List registry aliases | | GET | /pods/installed | List installed packages | | POST | /pods/:podId/activate | Start or activate a pod explicitly | | POST | /pods/:podId/stop | Stop a pod explicitly | | POST | /pods/swap | Swap to a target pod server-side | | POST | /jobs | Submit an async job | | GET | /jobs | List jobs | | GET | /jobs/:id | Get job state | | GET | /jobs/:id/result | Get job result |

Observability

| Method | Path | Description | |--------|---------------------------|--------------------------------------| | GET | /status | Combined status snapshot | | GET | /status/runtime | Pod runtime + container inspection | | GET | /status/packages | Installed packages + registry state | | GET | /status/scheduler | Queue depth + exclusivity groups | | GET | /status/jobs/recent | Recent job history |

Pod packages

Daeva uses a portable pod-package.json format. Minimal example:

{
  "schemaVersion": "1",
  "packageType": "pod-package",
  "name": "daeva-whisper",
  "version": "0.1.0",
  "pod": {
    "id": "whisper",
    "nickname": "Whisper",
    "description": "Speech-to-text pod",
    "manifestVersion": "1",
    "capabilities": ["speech-to-text"],
    "runtime": {
      "kind": "http-service",
      "baseUrl": "http://127.0.0.1:8001",
      "submitPath": "/transcribe",
      "method": "POST"
    }
  }
}

See examples/whisper-pod-package/ for a complete example with Dockerfile, deploy scripts, and directory scaffolding.

Package sources

Packages can be installed from:

  • local-file — local directory with a pod-package.json
  • github-repo — GitHub owner/repo with optional ref and subpath
  • git-repo — arbitrary Git URL
  • uploaded-archive.tar.gz or .zip uploaded directly
  • registry-index — delegated lookup from a registry catalog

During install, Daeva now runs package install hooks, creates declared host directories, and persists resolved host-path template variables (for example MODELS_DIR, INPUT_DIR, HOST_DIR_1) alongside installed package metadata.

Built-in pods

| Pod ID | Capabilities | Description | |-------------|-----------------------------|---------------------------------| | comfyapi | image-generation, vision | ComfyUI compatibility manifest, prefer the packaged comfyapi alias | | whisper | speech-to-text | Whisper transcription | | ocr-vision| ocr, vision | OCR and visual analysis |

Project layout

src/server.ts              Fastify app and routes
src/cli.ts                 CLI entry point (daeva binary)
src/mcp-cli.ts             MCP server entry point (daeva-mcp binary)
src/job-manager.ts         Queue + job lifecycle
src/router.ts              Job-to-pod routing
src/pod-controller.ts      Runtime state + exclusivity switching
src/registry.ts            Pod registry + alias resolution
src/adapters.ts            Execution adapter abstraction
src/schemas.ts             Zod schemas for manifests + validation
src/manifests/builtin.ts   Bundled pod definitions
examples/                  Pod package examples
scripts/                   Platform install scripts

Development

npm install
npm run dev          # dev server with tsx
npm test             # vitest
npm run typecheck    # tsc --noEmit
npm run build        # compile to dist/

License

MIT