Skip to content
@napplet

napplet.run

apps that travel

napplet

Sandboxed, single-purpose apps that delegate everything privileged to their host — everywhere.

Website · Docs · Specs (NIP-5D + NAPs) · Reference runtime → Kehto


A napplet owns its UI and nothing else. Everything privileged — signing, storage, network, identity, media… — it asks its host for, over a small message protocol. It holds no keys and bundles no client.

That makes a napplet portable by construction. The same pattern projects onto any runtime that can sandbox code and pass messages:

Projection Binding Status
Web iframe + postMessage → window.napplet.* · NIP-5D Live
Native OS process + IPC / FFI Possible
WASM host imports Possible

Web first — not web only. Web napplets prove the protocol on the web by choice; the napplet / NAP model itself is transport-agnostic.

It's an app store, not an app: one host runs many napplets, and one napplet runs in any conformant host — compose clients instead of rebuilding them. napplet is the protocol and SDK, not a product; runtimes like Kehto are pluggable.

In this org

Repo What
naps The protocol — NIP-5D (web binding) + the NAP interface specs and projection registry
web @napplet/* SDK — framework-agnostic, ESM, zero runtime deps
boilerplate npx @napplet/boilerplate — start a napplet in seconds

Build a (web) napplet

npx @napplet/boilerplate my-napplet
cd my-napplet && pnpm install
pnpm dev                 # develop against a host shell
pnpm test:conformance    # prove it speaks the protocol before you ship
import '@napplet/shim';                  // installs window.napplet
import { relay, identity } from '@napplet/sdk';

const me = await identity.getPublicKey();
const notes = await relay.query({ kinds: [1], authors: [me], limit: 20 });

No signer in the sandbox. No relay pool in the app. The host does it; the napplet just asks — same contract, whatever the runtime.


napplet.run · docs · web binding rides Nostr · MIT

Popular repositories Loading

  1. web web Public

    TypeScript 9 3

  2. naps naps Public

    A protocol for unstoppable, sandboxed, malleable applications that run anywhere and are distributed over decentralized protocols.

    7 5

  3. boilerplate boilerplate Public template

    TypeScript 1

  4. evil evil Public

    a home for evil napplets

    HTML 1

  5. .github .github Public

    napplet org profile

  6. cvm cvm Public

    TypeScript

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…