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

pitchframe-studio

v0.1.0

Published

Capture a local or desktop app's UI (e.g. a Tauri app) into a PitchFrame App Kit, on your own machine.

Readme

PitchFrame Studio

Capture a local or desktop app's UI (for example a Tauri app like mydev.cat) into a PitchFrame App Kit, from your own machine. The server cannot reach an app running on your laptop, so this helper freezes the DOM locally and uploads only the self-contained kit JSON. Nothing of your app is exposed.

How it works

A Tauri (or Electron) app's UI is a web frontend in a system webview. Run that frontend so it has a URL on your machine, then point this helper at it:

  • Dev server: run the app's frontend dev server (Tauri apps are usually at http://localhost:1420), or
  • Built frontend: serve the built dist/ folder, e.g. npx serve dist -> http://localhost:3000.

Note: with --url the Tauri Rust backend is not running, so invoke() calls return nothing. You capture the frontend's look (seed some state first if you want it populated). To capture the REAL running app with live data, use --cdp (below).

Capturing the running app (.exe), with live data

A packaged executable renders its UI in its own webview, which is not an HTTP URL. To capture the actual running app (including data its backend loaded), attach over the remote-debugging protocol:

  • Windows (WebView2, Chromium-based): launch the app with debugging enabled, then capture.
    set WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--remote-debugging-port=9222
    <start your app .exe>
    npx pitchframe-studio --server https://pitchfra.me --product <id> --token <token> --cdp http://localhost:9222
    It freezes the app's current view. Navigate the app to another screen and re-run to add more.
  • Linux (WebKitGTK): the inspector protocol is not Chromium CDP, so --cdp does not apply; use the --url (dev server / served build) path instead.

Usage

  1. In PitchFrame, open your product -> App Capture -> "Capture a desktop / local app". Copy the command (it includes a short-lived token).

  2. On the machine where the app runs:

    npx pitchframe-studio --server https://pitchfra.me --product <id> --token <token> --url http://localhost:1420

    Extra screens: --screens http://localhost:1420/settings,http://localhost:1420/stats

    Options: --channel chrome|msedge (which installed browser to drive, default chrome), --headful (show the browser).

  3. Refresh App Capture: the captured screens appear like any other capture.

Requirements

  • Node 18+.
  • An installed Chrome or Edge (used via --channel). If you have neither, run npx playwright install chromium once and the helper will fall back to it.

Running from this repo (until published to npm)

cd tools/studio
npm install
node studio.mjs --server https://pitchfra.me --product <id> --token <token> --url http://localhost:1420

The freeze logic here mirrors server/pipeline/appkit.ts (FREEZE_FN + the asset inliner). Keep them in sync if you change one.