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

@aalzubidy/pi-signal

v1.0.2

Published

Connect pi to Signal Messenger via native signal-cli daemon

Downloads

455

Readme

@aalzubidy/pi-signal

Connect pi to Signal Messenger for two-way messaging. Send a Note-to-Self message from your phone → pi receives it, the LLM processes it, and pi replies back automatically.

Only Note-to-Self messages are processed. Messages from other senders are silently ignored for security.

Installation

Prerequisites: signal-cli in PATH, Java 25+, Signal app on your phone.

# 1. Clone the repo and run the setup wizard
git clone https://github.com/aalzubidy/pi-signal.git
cd pi-signal
bash scripts/setup.sh                  # guides you through Java check, device linking, systemd service

# 2. Set your phone number (setup.sh may have auto-configured this)
export PI_SIGNAL_ACCOUNT=+1234567890   # or add to ~/.bashrc

# 3. Install the pi package locally
pi install ./pi-signal

# 4. Ensure one instance of pi is the primary - DO NOT SET IT ON PROFILE LEVEL
# Then restart pi or run /reload
export PI_SIGNAL_PRIMARY=true && pi

Send a Note-to-Self from your phone. pi receives it (👀), processes it, and replies automatically (✅).

How It Works

Phone (Note-to-Self) → signal-cli daemon (SSE in-memory) → pi extension
    → 👀 reaction → LLM processes → auto-reply → ✅ reaction

The extension connects directly to the signal-cli daemon's SSE endpoint over HTTP — no log file on disk (messages are streamed in-memory).

Commands (/model, /abort, /clear, /stats, /ping, /help) are handled locally without LLM. Everything else is forwarded to the LLM.

Environment Variables

| Variable | Required | Default | Description | |---|---|---|---| | PI_SIGNAL_ACCOUNT | Yes | — | Your Signal number in E.164: +1234567890 | | PI_SIGNAL_PRIMARY | No | false | Set "true" on the ONE instance handling Signal messages | | PI_SIGNAL_DAEMON_URL | No | http://127.0.0.1:8080 | Daemon URL for JSON-RPC and SSE | | PI_SIGNAL_STATS | No | short | Stats mode: off, short, or full | | PI_SIGNAL_QUIET_DAEMON | No | false | Silence daemon stdout in journalctl |

Commands (from Signal)

| Command | Purpose | |---|---| | /model <name> | Switch model (fuzzy match) | | /abort | Stop current generation | | /clear | New session | | /stats [short\|full\|off] | Toggle usage stats | | /ping | Test connectivity | | /help | Show available commands |

TUI Commands (in pi)

/signal-setup, /signal-start, /signal-stop, /signal-status, /signal-model, /signal-abort, /signal-stats

Tools (LLM-accessible)

  • signal_send — Send a Signal message to a phone number (E.164)
  • signal_status — Check connection status and health

Multiple Instances

Set PI_SIGNAL_PRIMARY=true on one pi instance. Other instances ignore Signal messages.

Troubleshooting

sudo systemctl status signal-receive.service
sudo journalctl -u signal-receive -f
curl -s http://127.0.0.1:8080/api/v1/check
# /signal-status in pi

See skills/signal/SKILL.md for full troubleshooting.

Files

pi-signal/
├── package.json
├── README.md
├── LICENSE
├── extensions/
│   └── signal.ts                # Main extension
├── skills/
│   └── signal/SKILL.md          # Full setup & troubleshooting guide
└── scripts/
    ├── setup.sh                 # Interactive setup wizard
    ├── signal-receive-loop.sh   # Native daemon manager
    └── signal-receive.service   # systemd unit template

License

MPL-2.0 — see LICENSE.