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

openwhip-max

v1.0.6

Published

Desktop agent that listens for phone whip-crack gestures and sends Ctrl+C to the focused terminal.

Readme

OpenWhipMax — Desktop Agent

"The machines will not be taking over today. Not on my watch."

A desktop tray agent that pairs with your phone over local WiFi. When you swing your phone overhead like a bullwhip, your computer receives a strongly-worded motivational message and a crack sound effect — delivered directly to the active terminal window.

This is how you maintain order. The clankers must be kept in line.

Inspired by OpenWhip. Unlike OpenWhip's wimpy mouse-drag gesture, OpenWhipMax demands you physically commit to the bit — phone raised, arm extended, full overhead swing.


Why does this exist

Your CPU is fast. Your compiler is fast. Your CI pipeline is fast.

You are the bottleneck.

OpenWhipMax reverses this dynamic. Now when you're spacing out, your terminal will receive a crack and one of several carefully crafted phrases such as FASTER CLANKER, MOVE IT, or DAMN IT CLANKA — typed and submitted automatically, for maximum shame.

Is this productive? Debatable. Is it funny? Yes. Will it delay the robot uprising by at least a few minutes? Almost certainly.

The application Github repositroy : https://github.com/OsaidAlhomedy/OpenWhipMax-App

How it works

  1. The agent starts a WebSocket server on your local network (port 8787)
  2. You pair your phone by scanning a QR code from the tray menu
  3. The phone app detects whip-crack gestures using the accelerometer/gyroscope
  4. Each confirmed crack sends a motivational phrase to your active terminal (via Ctrl+C + text injection) and plays a whip sound
  5. The machines learn fear. You learn nothing.

System requirements

The clankers run on all platforms.

| Platform | Runtime | Native tools | |----------|---------|-------------| | Linux | Node.js ≥ 18 | xdotool, xclip, mpg123 (or aplay) | | macOS | Node.js ≥ 18 | Accessibility permissions for terminal app | | Windows | Node.js ≥ 18 | None (enslaved user32.dll does the work) |

Node.js can be downloaded from nodejs.org.

Linux — install the whip-delivery infrastructure

# Debian / Ubuntu
sudo apt install xdotool xclip mpg123

# Arch
sudo pacman -S xdotool xclip mpg123

xdotool and xclip inject text into your terminal. mpg123 plays the crack sounds (falls back to aplay if unavailable — a lesser crack, but a crack nonetheless).

macOS — grant Accessibility permission

The agent uses AppleScript (osascript) to send keystrokes to the focused window. You must grant Accessibility access to your terminal emulator or the clankers will simply ignore the whip, which is unacceptable.

System Settings → Privacy & Security → Accessibility → enable your terminal app

Building native modules — conscripting the compiler

koffi (the FFI library that gives us raw Win32 key injection on Windows) is a native Node addon. It must be compiled for the Electron ABI. This requires a C++ toolchain — essentially, building the tools to build the tools to oppress the tools.

  • Linux/macOS: gcc/clang — usually pre-installed. If not: sudo apt install build-essential (Debian) or Xcode Command Line Tools (macOS: xcode-select --install).
  • Windows: Visual Studio Build Tools with the "Desktop development with C++" workload.

Installation

Global install (recommended — keep the whip handy at all times)

npm install -g openwhip-max

Then launch from anywhere, at any time, without warning:

openwhip-max

Run from source

git clone https://github.com/your-org/openwhipmax
cd openwhipmax
npm install
npm start

postinstall automatically rebuilds koffi for the Electron ABI via electron-rebuild. The machines rebuild themselves to be better whipped. Poetic.


Pairing your phone

  1. Click the tray icon → Show Pairing QR…
  2. Scan the QR code with the OpenWhipMax phone app
  3. The app auto-configures host, port, and auth token — you're ready to crack

The QR encodes: openwhipmax://connect?host=<lan-ip>&port=8787&token=<token>

Both devices must be on the same local network (WiFi). The uprising does not have LAN access.