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

@flout/paf-flout

v0.1.0

Published

Batteries-included image for flout sandboxes (PaF + codex + gemini + opencode + claude pre-installed). Fork-only — not part of upstream flout.

Readme

@flout/paf-flout

Fork-only. Not part of upstream bgrgicak/flout. This package ships a batteries-included Docker image specific to the PaF (phone-a-friend) integration.

A monorepo package that holds the Dockerfile for the paf-flout:<hash> image and a small build helper. The Dockerfile is embedded as a TypeScript string constant — same shape as @flout/sandbox's EMBEDDED_DOCKERFILE — so the image tag is content-addressed (sha256 of the Dockerfile text). Any edit to the embedded Dockerfile produces a new tag automatically.

What's inside the image

| Layer | Contents | |---|---| | Base | node:22-slim | | System | bash, curl, git, sudo, tmux | | User | dev at UID 1000 (replaces node:22-slim's node user) | | Backend CLIs (stable layer) | @openai/codex, @google/gemini-cli, opencode-ai | | Claude | claude.ai/install.sh + /usr/local/bin/claude symlink | | PaF (volatile layer, last) | @freibergergarcia/[email protected] | | PaF plugin shim | phone-a-friend plugin install --opencode | | Auth dirs | pre-created at ~/.claude, ~/.codex, ~/.gemini, ~/.local/share/opencode, ~/.config/{opencode,phone-a-friend} | | Shell entry | phone-a-friend doctor runs on shell entry via .bashrc |

Layer ordering: PaF sits last so PaF version bumps don't invalidate the heavier backend install layers (codex/gemini/opencode/claude all stay cached).

Build

npm run build           # tsc compile of this package
npm run build-image     # docker build -t paf-flout:<sha256-prefix>

# also tag the build with convenience aliases:
npm run build-image -- paf-flout:r3 paf-flout:latest

Override the engine:

PAF_FLOUT_ENGINE_BINARY=podman npm run build-image

Use with flout

# get the content-addressed tag programmatically
PAF_FLOUT_IMAGE=$(node -e "import('./packages/paf-flout/dist/src/index.js').then(m => console.log(m.IMAGE_NAME))")

flout sandbox start --image $PAF_FLOUT_IMAGE --clean --name devbox -- \
  -p 127.0.0.1:4096:4096 \
  -e OPENCODE_SERVER_PASSWORD=$(openssl rand -hex 16)

flout sandbox shell devbox
# inside: opencode serve --hostname 0.0.0.0 --port 4096
# host browser → http://localhost:4096

Why this is a separate package (and fork-only)

  • Right layer. @flout/sandbox is the generic container lifecycle (knows nothing about specific tools). This package owns the image-specific knowledge (which CLIs to bundle, which versions, layer order).
  • Doesn't go upstream. Bero's flout is a generic agent-session tool. The PaF integration is one specific use case — it lives in the fork.
  • Content-addressed tagging. Edit the Dockerfile string → automatic new tag on next build, mirroring how @flout/sandbox invalidates its flout-sandbox:<hash> image.

Related

  • Eventual home: dedicated paf-flout repo with CI multi-arch builds and GHCR publishing — see the portability plan.
  • Predecessor: loose Dockerfile at ~/sandbox-experiments/paf-flout-track-a/Dockerfile (now superseded by this package).