A zero-knowledge, ephemeral clipboard for humans and agents.
Encrypt something, get a link that self-destructs, hand it off. The server only ever holds ciphertext.
p00f is a live app at p00f.me. Paste text, code, a file, an image, or a secret; it is encrypted on your device; you get a short-lived link; you hand it over; it disappears. Every poof burns on a timer or after a set number of reveals. The infrastructure only ever sees ciphertext.
It is also fully open source, and for a zero-knowledge tool that is the whole point: you should not have to take our word for it. The code that does the encrypting is right here, so you can read exactly what happens to your data.
Go to p00f.me, drop in what you want to share, choose how long it lives and how many times it can be opened, and share the link. That is the entire flow.
A lone URL can be shared as a masked link, and text, code, images, video, and audio render right on the reveal page.
A zero-knowledge promise is only as good as your ability to check it. "Trust us, we cannot read your data" is not worth much when the source is closed. p00f's is open, so you (or your security team) can verify the claims instead of believing them:
- The encryption happens caller-side with the Web Crypto API. The whole engine is
src/shared/(crypto.ts,link.ts,protocol.ts,core.ts). - The decryption key is generated locally and lives in the URL fragment (
#...), which browsers never send over the network. - The Worker and Durable Object in
src/worker/store and serve ciphertext, and never receive the key.
Don't trust, verify. We would still rather you just use p00f.me; the source is here so the zero-knowledge claim is auditable, not because you need to host anything.
Pasting an API key, token, or password straight into an agent chat is a bad habit. That text tends to get logged, retained in history, synced to a provider, and sometimes used for training. p00f is the basic, boring fix:
# poof the secret, get a link (npx @p00f/cli, or `poof` if installed globally)
$ printf '%s' "$OPENAI_API_KEY" | npx @p00f/cli --ttl 1h --reads 1
https://p00f.me/c/q8Zr2nF1#3sP_Kb...the-key-stays-in-the-fragment
# hand that link to your agent. it reveals the secret exactly once, then it burns.The agent reveals it with the same poof CLI (npx @p00f/cli get <link>), so decryption happens on the agent's side and the hosted API only ever relays ciphertext. Because a default poof needs no human captcha to reveal (ADR-0015), a headless agent can open it; for a sensitive secret the creator can require a PIN, cap it to a single reveal, or turn on a human captcha that keeps it browser-only.
A poof is not a vault. It is a courier that forgets. If a recipient (human or agent) is allowed to see the plaintext, assume they can copy it. p00f controls how long and how often a poof can be revealed, not what happens after. The trust model is spelled out honestly in
SECURITY.md.
A poof link looks like https://p00f.me/c/<id>#<key>. The <id> addresses the ciphertext on the server; the part after # is the secret half (the key), and it never leaves your client.
sequenceDiagram
autonumber
participant C as Creator
participant S as p00f server
participant O as R2 bucket
participant R as Recipient
Note over C: browser, CLI, or agent
C->>C: generate a random key and encrypt locally
C->>S: upload ciphertext only
S->>S: store in a per-poof Durable Object
opt content over 1 MiB
S->>O: spill ciphertext to R2, keep only a random key
end
Note over S: TTL alarm plus atomic reveal budget
S-->>C: clip id
C->>C: build the link with the key in the fragment
Note over C,R: the key fragment never touches the server
C->>R: hand over the link
R->>S: fetch ciphertext
opt stored in R2
S->>O: read the ciphertext blob
end
S->>S: spend one reveal and burn when the budget is empty
S-->>R: ciphertext
R->>R: decrypt locally with the key from the fragment
Note over S,O: on burn, the DO row and any R2 blob are deleted
The recipient sees the plaintext. The infrastructure never does. Here is the same split, by what each side ever holds:
YOUR DEVICE / YOUR AGENT p00f SERVERS (Worker + DO)
what stays here, always what they ever hold
....................... ....................
the plaintext content ciphertext (an opaque blob)
the decryption key a random 128-bit clip id
the exact size, filename, and kind a coarse size bucket
the URL #fragment (it carries the key) reveals remaining
whether a PIN / captcha is required
a TTL, to run the burn
the key lives in the link's #fragment and is never sent to the
server, so p00f physically cannot decrypt what it stores.
On the server side, each poof is a per-poof Durable Object that holds the encrypted metadata and the burn bookkeeping. Content up to 1 MiB stays inline in that Durable Object; anything larger has its ciphertext spilled to R2, with the Durable Object keeping only a random key to it. Either way the stored bytes are the same client-side ciphertext, so R2 sees only an opaque blob, and any R2 object follows the poof's lifecycle: written on upload, fetched and relayed on reveal, and deleted when the poof burns (its TTL, its reveal budget, or a manual delete). That burn-time delete is best-effort, so an R2 lifecycle rule backs it up by deleting any object after 65 days, longer than the maximum lifetime of any poof. Even a missed delete leaves only key-less ciphertext, which the rule then sweeps on its own.
Revealed content renders inside a sandboxed, opaque-origin iframe, so a hostile payload in a poof cannot reach back out and steal the key from the page (ADR-0012).
The web app is the easy path. For scripts and agents there is @p00f/cli, a thin shell over the same @p00f/core engine. It defaults to the hosted app at p00f.me, so it works with no configuration.
# run it ad hoc with npx, or install it (`npm i -g @p00f/cli`) to get a `poof` command
npx @p00f/cli secrets.env
cat debug.log | npx @p00f/cli --ttl 1h --reads 3
# reveal, inspect without spending a reveal, and burn early
npx @p00f/cli get https://p00f.me/c/ID#KEY
npx @p00f/cli info https://p00f.me/c/ID#KEY # non-consuming
npx @p00f/cli burn https://p00f.me/c/ID#KEY --token OWNER_TOKENstdout is the link only, so LINK=$(npx @p00f/cli report.md) composes cleanly. Run it in a terminal and it also copies the link to your clipboard; that is skipped automatically when stdout is piped or captured (so the LINK=$(...) form is untouched), forced with --copy, and turned off with --no-copy. The owner token needed to burn early goes to stderr, or use --json. Flags include --ttl, --reads, --pin, --require-turnstile, --reveal-anchored, --no-countdown, --copy / --no-copy, and --out FILE. Set POOF_BASE to point it at another deployment.
Agents that want the library directly can npm install @p00f/core and call it; the hosted API only ever relays ciphertext, so a functional read needs the caller-side engine (see ADR-0010).
- Burns after a TTL: a quick preset or any custom value, from 1 minute up to 30 days.
- Or after N reveals: a preset or any custom count up to 100, or unlimited (within the TTL). The counter is atomic in the Durable Object, so concurrent reveals cannot overspend it.
- Start the timer on first reveal (optional, default off): the TTL clock starts when the poof is first revealed instead of at creation, for a true self-destruct. The link waits (up to the 30-day cap) until first revealed, then burns the TTL later. The deadline is disclosed only in the reveal response, never to a link-holder who has not yet revealed (ADR-0017).
- PIN or password (4 to 128 characters), folded into the key derivation. A wrong-PIN lockout (5 attempts) lives in the Durable Object.
- Reveal captcha (optional, default off): require a human to pass a challenge before revealing. This is what makes a poof browser-only; leave it off for agent-revealable poofs.
- Countdown: the reveal page shows a live fuse and best-effort auto-clears when the deadline passes. This is honest UX, not confidentiality (an already-revealed poof may have been copied).
- Content cap: up to 25 MiB per poof.
Does: keep plaintext and keys off p00f's servers; enforce a TTL and a reveal budget; lock out PIN guessing per poof; isolate revealed content from the page that holds the key.
Does not: stop a recipient who is allowed to see a secret from copying, screenshotting, or re-sharing it; guarantee deletion on a device that already revealed and cached it; act as long-term storage or a password manager. p00f is a courier that forgets, and it is honest about the rest in SECURITY.md.
p00f runs entirely on Cloudflare: Workers serve the app and the API, a per-poof Durable Object holds each clip and runs its burn timer, and larger payloads spill to R2. Encryption is all client-side, so none of that infrastructure can read your content.
npm install
npm run dev # builds the client and starts wrangler dev
npm test # vitest under @cloudflare/vitest-pool-workersThe web app (src/client/) and CLI (src/cli/) are thin shells over the shared engine in src/shared/; the Worker and Durable Object live in src/worker/. See docs/adr/ for the decisions behind the design. The hero banner above is generated from docs/hero/banner.html.
Alpha, and live at p00f.me. The zero-knowledge engine is published as @p00f/core. Issues and contributions are welcome under the MIT License.
