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

@origintrail-official/dkg-node-ui

v0.0.1-dev.1773614346.8bc4e9c

Published

Web dashboard for DKG V9 nodes. Provides a browser-based UI for monitoring node health, exploring the knowledge graph, running SPARQL queries, and chatting with agents.

Readme

@origintrail-official/dkg-node-ui

Web dashboard for DKG V9 nodes. Provides a browser-based UI for monitoring node health, exploring the knowledge graph, running SPARQL queries, and chatting with agents.

Features

  • Dashboard — real-time node metrics (peers, KAs published, queries served, uptime)
  • Knowledge Explorer — browse and search Knowledge Assets with interactive graph visualization (powered by @origintrail-official/dkg-graph-viz)
  • SPARQL editor — write and execute SPARQL queries with syntax highlighting and result tables
  • Chat interface — send messages and invoke skills on remote agents
  • Metrics & telemetryDashboardDB (SQLite) for persistent metric snapshots, MetricsCollector for gauges and counters, OperationTracker for request tracing
  • Structured loggingStructuredLogger with operation context, log levels, and JSON output
  • Chat assistantChatAssistant with configurable LLM backend for in-dashboard AI help

Architecture

The package has two sides:

  1. Server-side (exported as a library) — handleNodeUIRequest() serves the built UI assets and API endpoints; DashboardDB, MetricsCollector, and OperationTracker provide telemetry infrastructure
  2. Client-side (Vite/React app) — the dashboard UI, built separately via pnpm build:ui

Usage

import { handleNodeUIRequest, initTelemetry } from '@origintrail-official/dkg-node-ui';

// In the daemon's HTTP server
if (url.startsWith('/ui')) {
  return handleNodeUIRequest(req, res);
}

Development

# Start the UI dev server (hot reload)
pnpm dev:ui

# Build the production UI bundle
pnpm build:ui

# Build the full package (server + UI)
pnpm build

Internal Dependencies

  • @origintrail-official/dkg-core — configuration types, event bus integration
  • @origintrail-official/dkg-graph-viz — interactive RDF graph visualization component