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

clippy-web

v1.0.4

Published

AI-powered floating mouse that guides users through your web app

Readme

Clippy

AI-powered floating mouse that guides users through your web app. Users press X to type a question or hold X to speak one — Clippy analyzes the page and walks them through each step with a guided cursor.

Powered by interfaze.ai.

Get Started

1. Get an API Key

Sign up at interfaze.ai and grab your API key.

2. Add the Script

Via CDN (recommended):

<script>
  window.ClippyWeb = { apiKey: "YOUR_INTERFAZE_API_KEY" };
</script>
<script
  defer
  src="https://unpkg.com/clippy-web@latest/dist/clippy.min.js"
></script>

Or use jsdelivr:

<script>
  window.ClippyWeb = { apiKey: "YOUR_INTERFAZE_API_KEY" };
</script>
<script
  defer
  src="https://cdn.jsdelivr.net/npm/clippy-web@latest/dist/clippy.min.js"
></script>

Via npm:

npm install clippy-web

Then include the script in your HTML and set the API key before it loads.

That's it. Clippy is now active on your page.

How It Works

  1. Press X to open a text input, or hold X to speak a question
  2. Clippy analyzes the page with interfaze.ai (using the DOM tree and optionally a screenshot) and builds a step-by-step plan
  3. A floating cursor guides the user to each element they need to interact with
  4. Click near the highlighted element to advance to the next step
  5. Press or hold X again anytime to ask a new question (interrupts the current guide)

Framework Examples

HTML

<!DOCTYPE html>
<html>
  <head>
    <script>
      window.ClippyWeb = { apiKey: "YOUR_INTERFAZE_API_KEY" };
    </script>
    <script
      defer
      src="https://unpkg.com/clippy-web@latest/dist/clippy.min.js"
    ></script>
  </head>
  <body>
    <!-- your app -->
  </body>
</html>

Next.js (App Router)

// app/layout.tsx
import Script from "next/script";

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en">
      <body>
        {children}
        <Script id="clippy-init" strategy="beforeInteractive">
          {`window.ClippyWeb = { apiKey: "${process.env.NEXT_PUBLIC_INTERFAZE_API_KEY}" };`}
        </Script>
        <Script
          src="https://unpkg.com/clippy-web@latest/dist/clippy.min.js"
          strategy="afterInteractive"
        />
      </body>
    </html>
  );
}

Next.js (Pages Router)

// pages/_app.tsx
import type { AppProps } from "next/app";
import Script from "next/script";

export default function MyApp({ Component, pageProps }: AppProps) {
  return (
    <>
      <Script id="clippy-init" strategy="beforeInteractive">
        {`window.ClippyWeb = { apiKey: "${process.env.NEXT_PUBLIC_INTERFAZE_API_KEY}" };`}
      </Script>
      <Script
        src="https://unpkg.com/clippy-web@latest/dist/clippy.min.js"
        strategy="afterInteractive"
      />
      <Component {...pageProps} />
    </>
  );
}

API

ClippyWeb.apiKey

Set your interfaze.ai API key. Must be set before the script loads.

window.ClippyWeb = { apiKey: "your-key" };

ClippyWeb.screenshots

Enable or disable sending screenshots to interfaze.ai. When false, only the DOM tree is sent, which is faster but may be less accurate. Defaults to true.

window.ClippyWeb = { apiKey: "your-key", screenshots: false };

ClippyWeb.init()

Manually initialize Clippy. Called automatically on script load — only needed if you want to delay initialization.

window.ClippyWeb = { apiKey: "your-key" };
// later...
ClippyWeb.init();

Running the Demo App

The repo includes a Next.js demo app with several test pages (auth, table, dashboard, checkout).

git clone https://github.com/JigsawStack/translation-widget.git
cd clippy-web
cp .env.example .env
# Add your NEXT_PUBLIC_INTERFAZE_API_KEY to .env
yarn install
yarn dev

Open https://localhost:3000 and press X to try it out.

License

MIT