Skip to content

@kehto/playground

Browser playground that hosts 13 demo napplets and demonstrates Kehto integration behavior.

Alpha status: The playground shows Kehto's current behavior for the draft NIP-5D protocol. It is not a stability guarantee for NAP contracts or helper APIs.

Run

bash
pnpm --filter "./apps/playground/napplets/*" build
pnpm --filter @kehto/playground dev
pnpm --filter @kehto/playground preview --port 4174

Manifest Facts

FieldValue
Sourceapps/playground/package.json, apps/playground/README.md
Version0.1.0
Privatetrue
Scriptsdev, build, preview

Dependencies

PackageRole
@kehto/runtimeRuntime engine under test.
@kehto/shellBrowser shell bridge.
@kehto/servicesReference services.
@kehto/nipUnique Nostr NIP utilities, including NIP-5D artifact resolution and optional cache reuse.
nostr-tools, leader-line, qrcodePlayground-only integration/display dependencies.

Primary Surfaces

AreaSurface
Gateway loading/napplet-gateway/<dTag>/<aggregateHash>/index.html
Demo sourceapps/playground/src/
Napplet sourceapps/playground/napplets/<name>/
VerificationPlaywright E2E target served by preview on port 4174

Scope Boundaries

  • Demonstrates and verifies Kehto integration behavior.
  • Is not a published package.
  • Does not define new protocol behavior; protocol truth belongs in source packages and policy docs.

API Reference

The playground is private and does not generate package API reference. Use its README and E2E specs as integration evidence.