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

claudeclap

v1.9.4

Published

El inicio de sesión definitivo para developers. Da dos palmadas y se abre Claude Code.

Readme

  ___ _                _      ___ _
 / __| |__ _ _  _ __| |___ / __| |__ _ _ __
| (__| / _` | || / _` / -_) (__| / _` | '_ \
 \___|_\__,_|\_,_\__,_\___|\\___|_\__,_| .__/
                                        |_|

Da dos palmadas. Claude Code arranca solo.

npm version npm downloads license platform


¿Qué es esto?

ClaudeClap es una mini app de escritorio que escucha el micrófono y detecta dos palmadas consecutivas. Al detectarlas, abre automáticamente Claude Code en una nueva ventana de PowerShell — sin tocar el teclado, sin buscar el terminal, sin excusas.

Como bonus opcional: reproduce la escena de Iron Man con Back in Black en YouTube.


Instalación

npm install -g claudeclap

Y listo. El instalador muestra el banner de bienvenida en tu terminal.


Uso

claudeclap
# o también:
claudeclap s
claudeclap start

Se abre una ventana flotante siempre encima de todo. Pulsa Activar, da dos palmadas y Claude Code aparece.


La interfaz

┌─────────────────────────────────────────┐
│ 👋 ClaudeClap                        ✕ │
├─────────────────────────────────────────┤
│                                         │
│  ● Escuchando palmadas...               │
│                                         │
│         [ Desactivar ]                  │
│                                         │
│  Abrir Claude Code  ────────── ✅       │
│  Abrir video en YT  ────────── ✅       │
│                                         │
├─────────────────────────────────────────┤
│   ____ _                 _              │
│  / ___| | __ _ _   _  __| | ___        │
│ | |   | |/ _` | | | |/ _` |/ _ \       │
│  CLAUDECLAP              v1.9.1         │
└─────────────────────────────────────────┘
  • Toggle Claude Code — activa/desactiva abrir Claude Code al palmear
  • Toggle YouTube — activa/desactiva reproducir el video
  • La ventana es flotante (alwaysOnTop) y no interfiere con tu flujo

Cómo funciona

Micrófono
   │
   ▼
getUserMedia → ScriptProcessorNode → RMS amplitude
                                           │
                              ┌────────────┘
                              │  RMS ≥ 0.25 → CLAP detectado
                              │  2 claps en 100–1500ms → TRIGGER
                              └────────────────────────────────▶
                                                               │
                              ┌────────────────────────────────┘
                              │
                              ├─ openClaude=true  → spawn cmd /c start _claudeclap.bat
                              │                         └─ powershell → claude --dangerously-skip-permissions
                              │                                └─ WriteConsoleInput(Enter, 3s) → bypasses trust prompt
                              │
                              └─ openVideo=true   → shell.openExternal(youtubeUrl)

Auto-bypass del trust prompt de Claude Code

Claude Code muestra un prompt de confianza al arrancar en un workspace nuevo. ClaudeClap lo resuelve inyectando un Enter directamente en el buffer de input de la consola usando la Windows API (WriteConsoleInput) a los 3 segundos — sin necesidad de focus en la ventana.


Configuración

Edita config.json (en el directorio de instalación global de npm):

{
  "youtube_url": "https://www.youtube.com/watch?v=qRrElw4TSB4",
  "workspace": "C:/Users/TuUsuario/ClaudeWorkspace",
  "app_path": ""
}

| Campo | Descripción | Default | |-------|-------------|---------| | youtube_url | Video a reproducir al palmear | Iron Man · Back in Black | | workspace | Directorio donde arranca Claude Code | ~/ClaudeWorkspace | | app_path | Ruta al ejecutable de Claude Code | Auto-detectado |

Auto-detección de Claude Code

ClaudeClap busca claude.exe en este orden:

  1. config.app_path (si está definido)
  2. %LOCALAPPDATA%\Programs\claude\claude.exe
  3. %LOCALAPPDATA%\Programs\Claude\claude.exe
  4. ~/.local/bin/claude
  5. /usr/local/bin/claude
  6. where claude (PATH del sistema)

Requisitos

| Requisito | Versión | |-----------|---------| | Windows | 10 / 11 | | Node.js | 18+ | | Claude Code | Cualquier versión | | Micrófono | Funcional |


Desarrollo local

git clone https://github.com/sergioramosv/ClaudeClap
cd ClaudeClap
npm install
npm start

Para probar como comando global:

npm link
claudeclap

Changelog

Ver CHANGELOG.md para el historial completo de versiones.


Hecho con 👏 por @sergioramosv