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

ghost-assistant

v2.0.2

Published

Free AI interview helper: an always-on-top overlay that is hidden from screen shares. Bring your own free Groq key. macOS and Windows.

Readme

👻 Ghost Assistant

npm version license: MIT platforms

A free, open-source AI helper for interviews and meetings. It floats on top of your screen, listens to the other people on the call, and shows a short answer you can say out loud. It is left out of screen shares and screenshots, so only you see it.

  • Free. Uses your own free Groq API key. No account with us, no subscription.
  • Private. Your key, profile and resume stay on your computer. Nothing goes anywhere except the AI provider you choose.
  • macOS and Windows.
  • Hands-free. It starts listening by itself and answers questions automatically.
  • English, Hindi and Hinglish. Click the language button in the listening bar to switch between Auto, English, हिंदी and Hinglish.
  • Reads your screen for coding questions, and knows your resume so it answers as you.

Install

Pick one of these. All three give you the same ghost command.

| Your computer | Command | |---|---| | Any system with Node.js 20+ | npm install -g ghost-assistant | | macOS (no Node.js needed) | curl -fsSL https://raw.githubusercontent.com/Amitrawal1/ghost/main/install.sh \| bash | | Windows 10/11 (no Node.js needed) | irm https://raw.githubusercontent.com/Amitrawal1/ghost/main/install.ps1 \| iex |

Then type:

ghost

Option 1: npm

If you already have Node.js 20 or newer (check with node -v), this works on macOS and Windows:

npm install -g ghost-assistant
ghost

The first ghost downloads Electron (about 100 MB) and runs the setup wizard. If another tool already owns the ghost command, use ghost-assistant instead. It does the same thing.

On macOS, if npm says EACCES (permission denied), don't use sudo. Use Option 2 instead, or install Node.js with nvm.

Option 2: macOS one-line installer

Open Terminal and paste:

curl -fsSL https://raw.githubusercontent.com/Amitrawal1/ghost/main/install.sh | bash

Option 3: Windows one-line installer

Open PowerShell and paste:

irm https://raw.githubusercontent.com/Amitrawal1/ghost/main/install.ps1 | iex

Options 2 and 3 need nothing installed first. They download Node.js by themselves when you don't have it.

Want to remove Ghost later? See Uninstall.

What setup asks you

The first time, Ghost asks for:

  1. your Groq API key. Get one free at console.groq.com/keys. Ghost checks that the key works.
  2. a few details about you: name, the job role, experience, top skills,
  3. your resume. Drag the PDF or Word file into the terminal window and press Enter.

Everything is saved only on your computer. Run ghost setup any time to change it. The whole install takes about two minutes. The one-line installers keep everything in a .ghost folder in your home folder and need no admin password.

Use it

ghost           start Ghost
ghost setup     change your API key, profile or resume
ghost update    get the latest version
ghost help      list the commands

After ghost, the overlay appears in the top-right corner and starts listening after a second. When someone asks a question, the answer shows up by itself.

To change the language Ghost listens for, click the language button in the listening bar (next to ⌄). Each click moves to the next option: Auto (answers in the language of the question) → English → हिंदी → Hinglish. The choice is saved, and it is the same setting as ⚙ → "Language they speak".

Hotkeys

On macOS the keys are ⌘⇧ (Command+Shift). On Windows they are Ctrl+Shift.

| Keys | Action | |---|---| | ⌘⇧Space | Show / hide | | ⌘⇧L | Live listen on/off (answers questions automatically) | | ⌘⇧R | Answer what was just said, right now | | ⌘⇧Enter | Read the screen and answer (coding problems, questions) | | ⌘⇧I | Type a question | | ⌘⇧M | Answer mode: Interview / Coding / General | | ⌘⇧K | Clear | | ⌘⇧T | Click-through (clicks pass through the window) | | ⌘⇧O / ⌘⇧P | Less / more opacity | | ⌘⇧Arrows | Move the window | | ⌘⇧Q | Quit |

First run on macOS: permissions

macOS gives screen and audio permission to the app that starts Ghost. If you start it from Terminal, that app is Terminal.

  1. Run ghost. macOS asks to allow Screen & System Audio Recording for Terminal. Allow it. If nothing asks, open System Settings → Privacy & Security → Screen & System Audio Recording and turn on Terminal.
  2. Quit Terminal completely (⌘Q), open it again and run ghost.

If Ghost shows "Listening" but never answers, this permission is almost always the reason. If you use VS Code's terminal, VS Code needs the permission, and VS Code must be in /Applications. If it runs from Downloads, macOS forgets the permission every time.

On Windows no permission is needed. Hiding from screen shares needs Windows 10 version 2004 or newer.

Good to know

  • Ghost hears all sound your computer plays (the call, and also videos), but not your microphone, so it never answers your own voice.
  • Always test in the app you share from (Zoom, Meet, Teams) before a real call. Whether a window stays hidden depends on how that app captures the screen.
  • Groq's free tier allows about 7,000 input tokens per minute. Screen questions use the most. If you hit the limit, Ghost waits and retries by itself.
  • Your settings file: ~/Library/Application Support/ghost-assistant/settings.json (macOS) or %APPDATA%\ghost-assistant\settings.json (Windows). The log file ghost.log is in the same folder.
  • Audio clips, screenshots and your resume text are sent to the AI provider (Groq by default) to make answers. Read their privacy policy if that matters to you.

Fully offline (optional)

Install Ollama, then in Ghost's ⚙ Settings set the base URL to http://localhost:11434/v1, the key to ollama, and pick local models. Speech-to-text still needs a cloud key.

Install by hand (for developers)

You need Node.js 20+ and git.

git clone https://github.com/Amitrawal1/ghost.git
cd ghost
npm install
npm start          # or: npm link, then type ghost anywhere

Without the wizard, click ⚙ in the overlay, paste your key, click 📄 Load resume, and click Save. You can also run the wizard with npm run setup.

Build a desktop app

npm run dist       # macOS: dist/*.dmg (Apple Silicon)
npm run dist:win   # Windows: dist/*.exe installer

These builds are not code-signed. macOS may say the app is "damaged": run xattr -cr "/Applications/Ghost Assistant.app". Windows SmartScreen shows "Windows protected your PC": click More info → Run anyway.

Uninstall

First, quit Ghost: press ⌘⇧Q on macOS or Ctrl+Shift+Q on Windows. Then use the steps for the way you installed it.

The last command in each block deletes your saved settings: API key, profile and resume. Leave it out if you might reinstall later and want to keep them.

macOS, installed with the one-line installer

Paste into Terminal:

rm -rf ~/.ghost
sed -i '' -e '/^# Ghost Assistant$/d' -e '/\.ghost\/bin/d' ~/.zshrc ~/.bash_profile 2>/dev/null
rm -rf ~/Library/Application\ Support/ghost-assistant

The first line removes Ghost, the second removes the ghost command from your shell, and the third deletes your settings.

Windows, installed with the one-line installer

Paste into PowerShell:

Remove-Item -Recurse -Force "$HOME\.ghost" -ErrorAction SilentlyContinue
$p = [Environment]::GetEnvironmentVariable('Path', 'User') -split ';' | Where-Object { $_ -and $_ -notlike '*\.ghost\bin' }
[Environment]::SetEnvironmentVariable('Path', ($p -join ';'), 'User')
Remove-Item -Recurse -Force "$env:APPDATA\ghost-assistant" -ErrorAction SilentlyContinue

The first line removes Ghost, the next two remove the ghost command from your PATH, and the last deletes your settings.

Installed with npm (any system)

npm uninstall -g ghost-assistant

Then delete your settings: on macOS rm -rf ~/Library/Application\ Support/ghost-assistant, on Windows (PowerShell) Remove-Item -Recurse -Force "$env:APPDATA\ghost-assistant".

Installed with git clone

Delete the ghost folder you cloned. If you ran npm link, run npm unlink -g ghost-assistant first. Then delete your settings as shown above.

Optional: remove the macOS permission

System Settings → Privacy & Security → Screen & System Audio Recording → select your terminal app and click −. Only do this if no other app you use needs it.

Project layout

| File | What it does | |---|---| | src/main.js | Window, hotkeys, settings, AI calls | | src/audio-main.js, src/audio-renderer.js | System-audio capture, voice detection, live mode | | src/renderer.js, src/index.html, src/styles.css | The overlay UI | | src/prompts.js | How answers are worded for each mode | | src/stealth.js | Click-through, opacity, capture self-test | | src/resume.js | Reads PDF / Word resumes | | bin/ghost.js, bin/setup.js | The ghost command and the setup wizard | | install.sh, install.ps1 | One-line installers | | scripts/build.js | Runs electron-builder (moves Electron to devDependencies just for the build) |

Plain JavaScript and Electron, no framework, no bundler. Pull requests are welcome.

License

MIT