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

ppq-private-mode

v0.2.0

Published

End-to-end encrypted AI proxy for PPQ.AI private models. Works standalone or as an OpenClaw plugin.

Readme

What are "TEE" AI models?

TEE (Trusted Execution Environment) AI models allow users to run AI queries in the cloud and on remote servers without those servers having access to the content of the users' queries. This delivers one of the best AI capability to privacy tradeoffs in the industry currently.

ppq-private-mode: Use PPQ's Private (TEE) AI models via our API and with OpenClaw

The trick in using private models is that you need to encrypt the content of your request before sending them onto PPQ and its AI provider. With our proxy repo, you encrypt the queries on your machine before they leave -- neither PPQ.AI nor anyone else can read them.

The repo supports both standalone use cases with your own custom code as well as usage inside of openclaw.

OpenClaw usage

For openclaw usage, simply paste in this command to your openclaw chat interface:

Please install this skill to enable private models via PPQ: https://github.com/PayPerQ/ppq-private-mode-proxy/blob/main/skills/private-mode/SKILL.md

In some cases, openclaw's safety guardrails block installation via direct links. In that case, try to paste in the text of the skill file. If issues still persist, create an issue in this repo here to help the community troubleshoot.

Standalone usage

You can run the proxy directly without OpenClaw and point any OpenAI-compatible client at it.

Prerequisites: Node.js 18+ and a PPQ.AI API key from ppq.ai/api-docs.

Start the proxy:

PPQ_API_KEY=sk-your-key npx ppq-private-mode

The proxy starts on port 8787 and prints a ready message once attestation succeeds.

Send a request (standard OpenAI chat completions format):

curl http://127.0.0.1:8787/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"private/kimi-k2-6","messages":[{"role":"user","content":"Hello"}]}'

Or point any OpenAI SDK at it:

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "http://127.0.0.1:8787/v1",
  apiKey: "unused",
});

const response = await client.chat.completions.create({
  model: "private/kimi-k2-6",
  messages: [{ role: "user", content: "Hello" }],
});

Environment variables:

| Variable | Required | Default | Description | |---|---|---|---| | PPQ_API_KEY | Yes | — | Your PPQ.AI API key | | PORT | No | 8787 | Local proxy port | | PPQ_API_BASE | No | https://api.ppq.ai | PPQ API base URL | | DEBUG | No | false | Set to true for verbose logging |

How This proxy repo works

The code in this runs a local proxy on your machine (port 8787) that:

  1. Verifies the enclave -- performs hardware attestation to confirm it's talking to a genuine secure enclave, not an impersonator
  2. Encrypts your request -- uses HPKE (RFC 9180) to encrypt the entire request body before it leaves your machine
  3. Sends the encrypted blob -- PPQ.AI routes the encrypted data to the secure enclave. PPQ.AI only sees ciphertext.
  4. Enclave processes privately -- the enclave decrypts your query, runs the AI model, and re-encrypts the response
  5. Your proxy decrypts -- the response is decrypted locally on your machine

PPQ.AI handles billing via HTTP headers (your API key), so they never need to see the actual content of your queries.

About

PPQ.AI provides pay-per-query AI inference with no subscriptions. Private models run inside secure enclaves with hardware-enforced memory encryption. Learn more at https://ppq.ai